2006-02-17

New deviantART ad-removing Greasemonkey Script

Posted in Geek Stuff at 1:55

My deviantART ad-killing userscript for Greasemonkey

A few days ago, I noticed that the deviantART people had made some changes which had broken the Greasemonkey script I was using to remove the ad boxes (the ads were still blocked by a different layer of protection).

As such, I wrote a new one and decided to one-up the previous scripts while I was at it. This one blocks ALL of the ads I could find.

Oh, as a sidenote to any geeks who read this, take a look at the code if you want to know how to match the parent/grandparent objects of three different ads using only one XPath expression.

Update 2006-02-20: I noticed that the presence of an adbox in an article resulted in the script erasing the entire article. That problem has now been fixed and the script will now also remove adboxes in articles.

Update 2006-03-08: For the last week or so, I’ve been locked out of my UserScripts.org account because I forgot which spamgourmet.com alias I used to sign up and, since no confirmation e-mail was sent, the alias was never added to the list of active aliases. I will continue to look for a way to contact the userscripts.org guys to ask for a confirmation e-mail so I know what my login name is, but it may take a while.

Creative Commons License
This work, unless otherwise expressly stated, is licensed under a Creative Commons Attribution-Share Alike 3.0 Unported License.

4 Comments »

  1. Eddie said,

    2006-10-22 at 5:28

    dA used to be such a great site but now… well not so much. In any event I will be using your Greasemonkey script, thankfully for browsing galleries!

    Many thanks! :)

  2. RaiseHell said,

    2007-02-04 at 13:56

    Hi,

    I came across your blog when I googled for an ad-blocking script for deviantART. Unfortunately your script doesn’t really work any longer. It only blocks the ‘deviantART Notice’ box. I tried to rewrite the script on my own, but I only know Visual Basic so I’m having difficulties with JavaScript. Any help would be very much appreciated.

  3. ssokolow said,

    2007-02-04 at 17:43

    I’d be glad to help, but I need a real e-mail address or a link to a contact form from you.

  4. RaiseHell said,

    2007-02-04 at 18:53

    Wasn’t sure if the mail will be published, so I provided a fake address.
    I entered my real one now.

RSS feed for comments on this post · TrackBack URL

Leave a Comment

By submitting a comment here you grant this site a perpetual license to reproduce your words and name/web site in attribution.

Additional comments powered by BackType

Bad Behavior has blocked 263 access attempts in the last 7 days.