Remove any element on a website with CSS Adblock

When you browse sites on the Internet you may sometimes stumble upon irritating or irrelevant elements on them. Maybe it is that flashing ad that you do not like, the site's logo, some text that is displayed on all pages, or social media icons that you never use.
While you can use an ad-blocker to take care of all advertisement related nuisances, a social networking blocker to get rid of media icons, or No Script to take care of many script-powered elements, you sometimes may need to remove elements that do not fall into those categories.
The go-to application for many Firefox users is Remote it permanently. It is an excellent add-on for the web browser that you can use to remove elements on a website so that they will never appear on it anymore.
If you are not using Firefox, or prefer to use a userscript instead, because it is a lightweight alternative, then you may want to take CSS Adblock for a test ride.
CSS Adblock
The name should not irritate you. While it has been primarily been designed to remove advertisement from websites permanently, it can be used to remove any CSS element on any website permanently as well.
Whenever you want to remove an element, use Alt-Shift-A or Alt-Shift-B to enter edit mode. The first has been designed specifically for advertisement, while the other is for all other page elements on the website. Here you can now select the element that you want to remove. When you click on it, you are presented with a box that provides you with detailed information about the object that you want to remove.
This is usually CSS code but can also be other HTML code. For ads, it is often an IFrame while regular elements are usually listed with their CSS class.
Once you have made the selection and clicked ok, the element is removed from the page and all other pages on the same domain. If you remove an ad on one page, it is also removed on all pages, provided that it is using the same code to launch.
Other shortcuts of interest are Alt-Shift-U to unblock elements or Alt-Shift-E to edit existing styles.
Note: If you have multiple keyboard layouts installed, you may switch between them when you use the Alt-Shift shortcut, as it does exactly that. The only way around this right now is to edit the userscript code.
The script is fully compatible with Mozilla Firefox, Google Chrome and Opera. Firefox users can install it right away in their browser provided that the Greasemonkey extension (or a comparable extension) is installed on their system.
Chrome and Opera users do not have to install Greasemonkey, but they need to download the script instead and drag & drop it to the extensions page of the web browser.
Verdict
The script works surprisingly well on the majority of Internet sites. While it may take you a while to get the hang out of it, you will soon block page elements in a couple of seconds.
Now Read: How to speed up slow loading websites.
Advertisement
Doesn’t Windows 8 know that www. or http:// are passe ?
Well it is a bit difficulty to distinguish between name.com domains and files for instance.
I know a service made by google that is similar to Google bookmarks.
http://www.google.com/saved
@Ashwin–Thankful you delighted my comment; who knows how many “gamers” would have disagreed!
@Martin
The comments section under this very article (3 comments) is identical to the comments section found under the following article:
https://www.ghacks.net/2023/08/15/netflix-is-testing-game-streaming-on-tvs-and-computers/
Not sure what the issue is, but have seen this issue under some other articles recently but did not report it back then.
Omg a badge!!!
Some tangible reward lmao.
It sucks that redditors are going to love the fuck out of it too.
With the cloud, there is no such thing as unlimited storage or privacy. Stop relying on these tech scums. Purchase your own hardware and develop your own solutions.
This is a certified reddit cringe moment. Hilarious how the article’s author tries to dress it up like it’s anything more than a png for doing the reddit corporation’s moderation work for free (or for bribes from companies and political groups)
Almost al unlmited services have a real limit.
And this comment is written on the dropbox article from August 25, 2023.
First comment > @ilev said on August 4, 2012 at 7:53 pm
For the God’s sake, fix the comments soon please! :[
Yes. Please. Fix the comments.
With Google Chrome, it’s only been 1,500 for some time now.
Anyone who wants to force me in such a way into buying something that I can get elsewhere for free will certainly never see a single dime from my side. I don’t even know how stupid their marketing department is to impose these limits on users instead of offering a valuable product to the paying faction. But they don’t. Even if you pay, you get something that is also available for free elsewhere.
The algorithm has also become less and less savvy in terms of e.g. English/German translations. It used to be that the bot could sort of sense what you were trying to say and put it into different colloquialisms, which was even fun because it was like, “I know what you’re trying to say here, how about…” Now it’s in parts too stupid to translate the simplest sentences correctly, and the suggestions it makes are at times as moronic as those made by Google Translations.
If this is a deep-learning AI that learns from users’ translations and the phrases they choose most often – which, by the way, is a valuable, moneys worthwhile contribution of every free user to this project: They invest their time and texts, thereby providing the necessary data for the AI to do the thing as nicely as they brag about it in the first place – alas, the more unprofessional users discovered the translator, the worse the language of this deep-learning bot has become, the greater the aggregate of linguistically illiterate users has become, and the worse the language of this deep-learning bot has become, as it now learns the drivel of every Tom, Dick and Harry out there, which is why I now get their Mickey Mouse language as suggestions: the inane language of people who can barely spell the alphabet, it seems.
And as a thank you for our time and effort in helping them and their AI learn, they’ve lowered the limit from what was once 5,000 to now 1,500…? A big “fuck off” from here for that! Not a brass farthing from me for this attitude and behaviour, not in a hundred years.