📜 ⬆️ ⬇️

We remove advertising on the new site Computerra

Hello!

Regular readers of online Computerra probably noticed changes in the design and operation of the site - now they have a new engine. I personally liked it terribly, and I couldn’t rejoice in reading articles and news. But the joy lasted only until yesterday. A sad thing happened: in the top of the main page, a huge banner ad appeared from edge to edge and 350 px high. It looks like this:



The banner is very beautiful and stylish. One trouble: over time, he began to simply annoy. Still, 1/3 of the screen was stolen by advertising, and this is sad. I had to tackle the blocking toolkit, as long as it was built into Opera (I do not use extensions of this functionality, preferring to deliver pinpoint strikes where I see fit).
')
At once I will say that the usual function of blocking content does not help here: the picture is embedded in the background. I did the following.

1. PCM on the site, the menu "Blocked content." Manually added the line * ad.adriver * to the list.
2. Create a text file terra.css with the following content:

.stop {
display: none !important;
}

.page-podl {

padding-top: 30px !important;
}


3. Save it in a convenient place, then PCM on the site, the menu “Settings for the site”, tab “View”, in the lower field we indicate the newly created CSS file.

The result was this:



PS If desired, a similar method can be applied in other browsers. I think so.
PPS Guys from Computerra! Please forgive me!

Source: https://habr.com/ru/post/169169/


All Articles