For example: http://img.m9vv.com/resour/xg...
The entire website cannot be opened directly. You need to visit its main domain name first: http://www.m9vv.com/1178. html
The backend should make a referral judgment. How can the front-end page bypass this judgment and achieve anti-leeching cracking through js?
I tried the iframe method, but it didn’t work. I wanted to fake the refer but found that ActiveXObjects is a method of IE. There is also a bridging method on the Internet, but it seems that it requires the cooperation of the background. Does anyone have experience in this area? I tried dom operation and wrote the src attribute of img, but I was really worried about this method
天蓬老师2017-05-19 10:47:30
I just opened an incognito window. Your image link can be accessed directly. You can use iframe to bypass the referer
某草草2017-05-19 10:47:30
Google has been unable to find a solution for a long time. The current method is to create an iframe on the page, link to the other party’s main domain name, display: none; and then request the image; disadvantages——————The loading speed is very slow and the problem can be serious , there is no other way