Userscript to hide a child node of a cross-domain iframe
I want to hide the comments with some words inside by a (Tampermonkey) user script. As an example, I tried to apply a script // ==UserScript== // @name Hide CNN // @match http://www.cnn.com/* // @require http://ajax.googleapis.com/ajax/libs/jquery/2.1.0/jquery.min.js // @grant GM_addStyle // @run-at document-end // ==/UserScript== $('div.post-body:contains("Abbas")').hide() to the page http://www.cnn.com/2014/07/08/world/meast/mideast-tensions/index.html?hpt=hp_t1 with the following code for posts <div class="post-body"> <header> ... </header> <div class="post-body-inner"> <div class="post