Anti-Anti-Leech to show real pictures

FirefoxBar/HeaderEditor is one of the most complex and powerful extensions after Firefox 57.

Today, I create a repository to share rules of it.

The first rule I create is to anti-anti-leech pictures, most of Chinese, by change HTTP Referer.

The anti-leech function is based on the HTTP referer mechanism where the referer, namely an HTTP header field, is used for source tracking, source recognition and processing. You can configure a referer black list or white list to identify and filter visitors in order to limit access to your CDN resources.

We can test here: 反盗链测试

Most of them, a null Referer field can be used to access resources on a CDN node (that is, whether a web browser can use its URL to directly access resources on a target URL).

Add my rule to extension, you can access resources:

0.png

Before:

1.png

2.png

3.png

4.png

5.png

After:

Baidu:
1:

2:

3:

4:
u=2911556600,2235397202&fm=23.jpg
5:
u=808014301,2814684564&fm=116.jpg

Sina:
1:

2:

Tencent:
1:

2:

3:

4:

chiphell:
1:

2:

PConline:

TianYa:
1:
176606893.jpg
2:
m-1.jpg
3:
192917136.jpg



Open Source Contribution posted via Utopian.io

H2
H3
H4
3 columns
2 columns
1 column
5 Comments