Almost all the functions of the image anti-theft chain are realized by judging referer. The usual rule is that if the referer is the URL or referer of several domains of this website, the picture will be output normally, otherwise an error picture will be given.
If you know the principle, the problem will be solved — that is, forging a referer. For example, when requesting a picture of Netease album, it always disguises referer sending Netease album, regardless of the actual referer.
This article will introduce how to browse a picture of the chain of theft when it comes to Firefox, Opera and IE browsers.
Under Firefox, the author finds three ways to implement it. This paper chooses two of them to introduce.
(1) Changing the Setting Method
Enter “about: config” in the address bar and return. Then enter “network. http. sendRefererHeader” in the filter column that appears below, and there is only one display left below.
|Figure 1 (Click Browse Big Map)|
Double-click on the preferences of this article, and in the dialog box that appears, change the value of the integer from 2 to 0. You can see the picture when refreshed.
Introduce the meaning of the integer values of the preferences:
0 – Never send referer information;
1 – Send referer information when clicking on hyperlinks;
2 – Send referer information when clicking on hyperlinks or loading images. (Default value)
If you use the first method, because all referrer messages are organized, some websites may not work properly, such as e-mail sites, photo upload sites and security sites. If you adopt this method, you must constantly change the settings. Because there is a more flexible and customizable second method, so the author introduces the first method for everyone to learn, and does not recommend the use.
Installation Expansion Method
Firefox Extended RefControl enables you to browse pictures of stolen chains, adding addresses separately for each website that prevents stolen chains, but the advantage of Firefox is that it can be set up once and never be changed again, as in the first method. RefControl can now be displayed in body Chinese, and simplified Chinese is expected to appear soon.
RefControl installation page: https://addons.mozilla.org/en-US/firefox/addon/953
Install the extension, restart Firefox, open the RefControl option, or double-click the toolbar icon in the lower right corner.
After popping up the dialog box, click on “New Website” and pop up the “RefControl Website Properties” dialog box. From the figure below, we can see four kinds of actions, namely “general”, “blockade”, “camouflage” and “customization”, and their meanings. For example, the image of the pirate chain comes from Netease album, enter its address “photo.163.com” in the “website” column, and set the action as “camouflage”.
Make sure to save, refresh the web page, and display the pictures!