Closed dattran2346 closed 3 years ago
Maybe due to some security policies about the iframe. Manipulating elements in the iframe from the parent seems to be dangerous for browsers.
Is there any error or warning on the console?
It's is due to the CORS restriction. I can workaround it using Disable Cross-Origin Restrictions
setting in Safari.
Currently I have a remote html document and I want to implement the auto highlighting feature on the remote html using web-highlighter. Below is my code
I have tested this code on the local document and it works great, however, the I can't do auto highlighting on remote resource.