disable deprecated logic based on ShadowDOM wrappers