How browsers filter ads in encrypted pages

Source: Internet
Author: User
Tags extend

simple and practical filtering extension

It is one of the most common methods of advertising filtering for the browser to install the corresponding feature extensions, and it can also filter the advertisements transmitted by HTTPS protocol. There are a lot of popular ad filtering extensions here, so let's try Ublock Origin this extension. First open the Google App Store, search for ublock keywords, and you'll find two related feature extensions. It is recommended that you install the Ublock Origin version, which is maintained by the original author, while the Ublock version is maintained by someone else. When the Ublock origin installation is complete, in Google browser toolbar to find the extension of the icon, click the right mouse button to select the menu "Options" command, you can configure this feature extension.

Whether it is advertising filtering software or filtering extension, to better filter the advertising information in the Web page, the relevant filtering rules are very important. So in the pop-up Configuration window, first click on the "third party rules list" item. Wait a moment, in the page can show the ads can be subscribed to filter. Here we remove the rules that extend the default subscription to the feature, and then in the "regional language" you can see two CHN that start with the rule, tick the two rules (Figure 1). Although the browser now has a "no tracking" function, but many sites do not comply with this rule, if the user's personal privacy requirements are higher, you can also "privacy" in the easyprivacy selected, so you can better block the site's user tracking script. When the settings are complete, click on the "Update Now" button to download the subscription rules for use. When we visit a Web site using HTTPS protocol, Ublock origin can easily intercept advertising information.

Set filter rules manually

And our common anti-virus software, advertising filtering will also appear "manslaughter", or filter not thorough situation. This time users need to do their own, advertising filtering rules and extended settings to adjust. For those who are "manslaughter" page information, a lot of the site is decorated with the content of the operation. So we just need to left-click the Ublock origin icon in the toolbar and click the "Do not apply cosmetic Rules" button in the pop-up dialog box. Then refresh the current page information, you can see the "manslaughter" information is displayed again.

And for those who do not filter out the information, we can also manually add filter rules. But ordinary users do not write filtering rules, this time ublock origin expansion of an advantage is reflected. Also left-click the Ublock origin icon, click the "Enter element selector mode" button in the pop-up dialog box. When you click the command, the page will be brown as a whole, and the element will appear red when the cursor moves over it. If you want to filter some elements only need to click the left button in the highlighted State, the pop-up dialog box click the "Create" button to create a new filter rule (Figure 2).

can be filtered without functional expansion

It's convenient to extend the feature, but not all browsers support it, and browsers like IE can't be solved. In this case, only the use of professional advertising filtering software. However, as mentioned earlier, the common advertising filtering software does not filter the advertising information in HTTPS, so here we can try to adguard this new advertising filtering software.

First download installs the latest version of the Adguard, the installation is completed in the system tray will display the software icon. Click on the icon on the right mouse button, select the menu "Options" command, you can start the software configuration operation. Now click on the "Ad Blocker" item in the list on the left and click the "Add Filter" button under the "Filter subscription" option. Next in the pop-up list, tick the ad filter rules that you need, and click on the "Add Selected Items" button (Figure 3). If the list does not have the required AD filtering rules, you can click the "Add subscription via URL" button to paste the download link of the rule into the pop-up dialog box.

Small tip:

The Adguard software automatically carries out the subscription operation of the advertisement filtering rules according to the page information accessed by the user. But too many rules will affect the browsing speed, so we need to periodically check and remove unwanted rules.

To Adguard Certification

With the above setup, when we excitedly open the HTTPS protocol Web page, we may be surprised to find that this page is not accessible. This is because the advertising filter software in the Site page and the user's browser to play a "middleman" between the role of all data communication between the ads will be filtered software. This is not a problem for the traditional HTTP protocol, but the use of HTTPS protocols can be problematic. This time the only solution is to install the software corresponding to the digital certificate, so as to inform both sides of the communication identity.

Typically, a digital certificate file is installed automatically when the Adguard software is installed. If the installation is not correct, open the Options window in the previous method, click the "General Settings" option in the list on the left, and click the "Reinstall Certificate" button under the "Filter settings" option (Figure 4). Then press the shortcut key win+r to open the Run box, enter the "certmgr.msc" command, and then turn on the Windows Certificate Manager. Next, locate the Trusted Root Certification authorities item in the list on the left, expand it, and then select the subproject certificate. Then look in the list of Windows on the right to see if there are any adguard certificates, if any, that means the installation was successful (Figure 5).

Of course, not all browsers are using the system's certificate system, including Firefox browser, some browsers brought a set of certificate system. So first click on the Adguard certificate on the right mouse button, select "All Tasks" in the "import" command, so that the system inside the certificate file guide. Then click the "Open Menu" command in the upper-right corner of Firefox, select "Options" in the pop-up menu, and select the "Advanced" button in the pop-up dialog box. Then click on the "Certificates" tab and click the "View Certificate" button below. Next, in the Certificate dialog box that pops up, switch to the Certification authority tab page. Then click the "Import" button below to select the certificate file that you just exported (Figure 6).

Now, you can browse the HTTPS page normally and not be distracted by advertising.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.