Blocking Ghostery Happens All The Time

General discussion about the NoScript extension for Firefox
Post Reply
User avatar
GµårÐïåñ
Lieutenant Colonel
Posts: 3347
Joined: Fri Mar 20, 2009 5:19 am
Location: PST - USA
Contact:

Blocking Ghostery Happens All The Time

Post by GµårÐïåñ » Tue Jun 02, 2009 9:09 am

Since recently we got so much grief for disabling the Ghostery display on NoScript.net which would cover the donation and section. I was asked to take a look at a code and test it for a large family of websites owned by this company. This was the code we came up with (based on their proposal):

Code: Select all

function closeGhostery(){ var dgf = document.getElementById("__ghosteryfirefox"); document.body.removeChild(dgf); }


It is not that uncommon it seems to get the Ghostery's annoying little popup to go away.
~.:[ Lï£ê ï§ å Lêmðñ åñÐ Ì Wåñ† M¥ Mðñê¥ ßå¢k ]:.~
________________ .: [ Major Mike's ] :. ________________
Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.0.11) Gecko/2009051909 Firefox/3.0.11

User avatar
Giorgio Maone
Site Admin
Posts: 8934
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: Blocking Ghostery Happens All The Time

Post by Giorgio Maone » Tue Jun 02, 2009 9:16 am

why didn't you just use CSS like I did in first place?
Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9.0.10) Gecko/2009042316 Firefox/3.0.10 (.NET CLR 3.5.30729)

User avatar
GµårÐïåñ
Lieutenant Colonel
Posts: 3347
Joined: Fri Mar 20, 2009 5:19 am
Location: PST - USA
Contact:

Re: Blocking Ghostery Happens All The Time

Post by GµårÐïåñ » Tue Jun 02, 2009 9:23 am

As I said, if it was up to me, I would have but they wanted it in JS and so they got it in JS, not up to me, they are fitting the bill so their call. :ugeek:
~.:[ Lï£ê ï§ å Lêmðñ åñÐ Ì Wåñ† M¥ Mðñê¥ ßå¢k ]:.~
________________ .: [ Major Mike's ] :. ________________
Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.0.11) Gecko/2009051909 Firefox/3.0.11

Post Reply