开发者

HTML: when pages are saved have images / files not saved

开发者 https://www.devze.com 2023-01-27 13:45 出处:网络
well i am not trying to apply fool proof security or anything.. all i want to know when you page a save from the web... the links CSS \\ JS files and the images are not save...

well i am not trying to apply fool proof security or anything.. all i want to know when you page a save from the web... the links CSS \ JS files and the images are not save...

HOW TO ACHIEVE IT..

again not applying any security开发者_开发百科 or anything.. i know all the images will be there in temp, or you can open source and get the link to CSS Files.. just want to learn this


Well, CSS can be imported via <link rel="stylesheet" type="text/css" href="my.css">, and similar goes to javascript. Further more, you can inject javascript from somewhere - I doubt that web browsers would 'know' how to save that. Same goes with images - If you inject them via JS, browser will be unable to save them.

As you said,it's not foolproof :)

0

精彩评论

暂无评论...
验证码 换一张
取 消