Suppose there is such an iframe:

<iframe width='500' height='500' src='http://сторонний_сайт.ru/lalala.html'></iframe> 

Here is an approximate body lalala.html:

 <div id='block' style='padding: 30px; background-color: #ff0000'>некий текст</div> 

And that's all. We need to somehow hide this block.

    1 answer 1

    All decided. This is what I do for the chrome extension, and I just need to do this:

     "content_scripts": [ { "all_frames": true, "matches": ["http://сторонний_сайт.ru/forum/*"], "js": ["jquery.js", "script.js"] }]