New deviantART ad-removing Greasemonkey Script

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.

Update 2010-02-18: Some time in the last year or two, I regained access to my UserScripts.org account, but I’ve lost interest in maintaining this script in favor of more original and useful projects. My advice is to use AdBlock Plus but, if you really need something more specialized, let me know and I’ll see if I can find time to bring this back into working order.

CC BY-SA 4.0 New deviantART ad-removing Greasemonkey Script by Stephan Sokolow is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.

This entry was posted in Geek Stuff. Bookmark the permalink.

4 Responses to New deviantART ad-removing Greasemonkey Script

  1. Eddie says:

    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 says:

    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 says:

    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 says:

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

Leave a Reply

Your email address will not be published. Required fields are marked *

By submitting a comment here you grant this site a perpetual license to reproduce your words and name/web site in attribution under the same terms as the associated post.

All comments are moderated. If your comment is generic enough to apply to any post, it will be assumed to be spam. Borderline comments will have their URL field erased before being approved.