Use Adblock to mask the anti adblock mask plug-in

When browsing some pages, a full screen prompt of disabling Adblock will always pop up: if Adblock is not disabled/the website is not added to the white list, it is not allowed to browse its content.

Reason

It is the user's right to control the content displayed on the webpage! I am not against the embedded advertisement on the website, but I am against the website forcing users to choose one from the other.

For sites with high-quality content output, forcing users to choose one from two is barely reasonable; For content farm sites of the collection/machine translation type, the alternative is unacceptable.

This pop-up prompt cannot be closed (actually its plug-in supports the pop-up window can be closed/cannot be closed configuration), and the whole screen blurs the entire page, forcing users to add website white lists or disable plug-ins, which deprives users of the right to freely control the displayed content.

For this forced and non closable pop-up prompt, one method is to use AdBlock/AdBlock Plus to mask its js loading.

Principle of anti shielding plug-in

Most of the anti blocking plug-ins used by WordPress websites are de blockers. The detection principle of this plug-in is very simple: create a 0 size element with an advertising ID and insert it into the document. In most cases, AdBlock will directly hide the element. The anti blocking plug-in determines whether the screening plug-in is used by detecting the element display in real time.

When the plug-in detects that the false element is masked, it will create a mask element with random name, random ID, and random style name, and set the css of this element to blur the entire page. When you delete the element manually, it will create the same random mask, infinite loop.

In addition Plug in background provides control options that pop up window can be closed/cannot be closed For websites configured as pop-up windows that can be closed, users can manually close the pop-up windows; For websites configured as pop-up windows that cannot be closed, users cannot close pop-up windows. In other words, you cannot browse content when you turn on shielding plug-ins.

shield

Used by myself Adblock Plus For example, how to shield the pop-up window Adblock The principle of software is the same.

First, determine the anti shielding principle. deblocker Plug in via ads.js And deblocker.js The former is to create false elements, and the latter is to perform detection and pop up.

Open Adblock Plus settings and add the following content to the custom mask list( Choose one of three , as appropriate):

 #(Choose one of three) deblocker/js/ #Or (choose one of three) baidu.com/*/deblocker/js/ #Or (choose one of three) baidu.com/*/deblocker/js/ads.min.js baidu.com/*/deblocker/js/deblocker.min.js

If the plug-in path changes, update the mask path as needed.

other

For other types of anti shielding software, the principle is universal. You just need to find the anti shielding logic and suit the remedy to the case.

If some sites write the detection logic into the main js module of the website, you can use the oil monkey to write the corresponding script to prevent or directly override its detection logic.

Zimiao haunting blog (azimiao. com) All rights reserved. Please note the link when reprinting: https://www.azimiao.com/7506.html
Welcome to the Zimiao haunting blog exchange group: three hundred and thirteen million seven hundred and thirty-two thousand

Comment

*

*

Comment area

  1. roughly 01-02 18:16 reply

    This is good. It's really a layer of window paper.

  2. littleplus 01-02 22:50 reply

    Wuwuwuwu, the rabbit is still updating. It's really bald

  3. night 10-04 21:22 reply

    I'm super, Zimiao