Home > Web Front-end > HTML Tutorial > Please tell me about the access (download) of js and css_html/css_WEB-ITnose

Please tell me about the access (download) of js and css_html/css_WEB-ITnose

WBOY
Release: 2016-06-24 12:11:11
Original
898 people have browsed it

1. Generally, .js/.css on the external network cannot be accessed directly. Is this due to human control?
2. Local .js/.css can generally be accessed directly
3. What is the difference between the two?
4. Is there any way to directly download .js/.css from the external network (the idea is a bit bad)


Reply to the discussion (solution)

I ===========

I don’t understand what you mean. . Most websites will not configure anti-hotlinking for js and css files. You can download and reference them at will. If anti-hotlinking is implemented, you cannot remotely reference them, but you can extract them from the browser cache folder.

Generally, it can be downloaded. If you want to reduce the file size and protect the source code, js can be encrypted and obfuscated, but css will not be encrypted. Generally, it will be ok if you compress it

Thank you both, I Zai Lili

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template