Adblock is an extension used by Mozilla Firefox and Mozilla Application Suite web browsers.
Adblock allows users to block various page elements, including ads, and prevent these content from being downloaded and displayed. (Recommended learning: PHP video tutorial)
Adblock development has been stagnant since 2004, and a branch version of Adblock Plus has appeared at the same time. This version includes improvements to the user interface, filter subscriptions, and element hiding. Currently, Adblock Plus has become the more popular version.
Adblock Plus focuses mainly on the usability of the software and has added and improved many features.
It has clearly defined menu items above the main window. In addition, the list of filterable items has also been integrated into the lower panel, which can also be separated from the main window.
Advertising filtering expressions also add the function of element hiding. Other new features include filter statistics (counting function) and the ability to enable or disable individual filters without deleting them.
How it works
Like Mozilla’s built-in image filter, Adblock intercepts HTTP requests based on the source address of the content, and can filter IFrame, script and Flash. It can also hide page elements including text ads using automatically generated user style sheets. This feature is called element hiding, and it replaces intercepted content with hidden content.
Basic filtering rules can use asterisk (*) as a wildcard character. Whitelisted websites and objects can be developed using two at symbols (@@) to protect them from filtering. Regular expressions can be used with slashes (/) before and after. Adblock Plus also supports more complex syntax for more precise control of filters.
Web page elements are destroyed by adblock and the content cannot be displayed
It may be that the browser plug-in Adblock was downloaded and there was a problem when setting filtering rules.
The ad blocking function in the 360 browser is to use the Adblock plug-in, which can be set to turn off the plug-in in the browser.
For more PHP related technical articles, please visit the PHP Graphic Tutorial column to learn!
The above is the detailed content of The web page elements are destroyed by adblock and the content cannot be displayed.. For more information, please follow other related articles on the PHP Chinese website!