On Feb 11, 2015, at 2:38 AM, 'Ben' via greasemonkey-users 
<[email protected]> wrote:

> Thank you for your advice but all your suggestions do not work.
> 
> I cannot believe that it is so difficult to get rid of that simple 
> <strong>....</strong> wrapping on the page
> 
> http://www.printfriendly.com/print?url=http%3A%2F%2Fdeutsche-wirtschafts-nachrichten.de%2F2014%2F12%2F26%2Fein-gutachten-wie-ein-donnerhall-gez-sender-haben-ausgedient%2F&partner=Shareaholic#

I was able to do it with this:

var content = document.getElementById("pf-src-url");
content.innerHTML = content.innerHTML.replace(/<\/*strong>/gi,"");

This will remove all occurrences of <strong>, </strong>, <STRONG>, </STRONG>, 
and variants like <StRoNg> that nobody in their right mind would create.

Dave

-- 
You received this message because you are subscribed to the Google Groups 
"greasemonkey-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/greasemonkey-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to