Page 1 of 1

Blocking Ghostery Happens All The Time

Posted: Tue Jun 02, 2009 9:09 am
by GµårÐïåñ
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.

Re: Blocking Ghostery Happens All The Time

Posted: Tue Jun 02, 2009 9:16 am
by Giorgio Maone
why didn't you just use CSS like I did in first place?

Re: Blocking Ghostery Happens All The Time

Posted: Tue Jun 02, 2009 9:23 am
by GµårÐïåñ
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: