A Mind Lost

Anything and everything.

Adblock Plus & Element Hiding Helper

There’s a lot of neat content on Tumblr, but sometimes an individual’s choice of theme leaves much to be desired.  In such cases, I switch to archive view, e.g. by going to blogname.tumblr.com/archive/.  From there one can view all the posts made to a tumblr by year and month.

I came across one blog that has an annoying hover element on it’s /post/ pages that makes it difficult to get to the content itself.  Viewing the source and opening the URL, or viewing the page info and saving from there didn’t take too long to become tedious, so I did a quick Google for a solution.

Enter Element Hiding Helper for Adblock Plus.  This extension presents a handy popup that allows one to select an element, refine it, then add it to Adblock Plus‘ filters.  Unfortunately, this had the effect of rendering the archive view unusable as the same tag (div class="hover") was used there.  Due to the way element filters work there’s no way to limit the scope to only specific parts of a site, it only works by domain name, so to get around this an exception must be added (exceptions can specify more than just the domain name to apply to).  What I ended up with, then, is a rule for blogname.tumblr.com##DIV.hover, with an exception as @@blogname.tumblr.com/archive/.   This is definitely much easier than searching through the page’s media for the correct image.

Advertisements

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: