This topic has been archived. It cannot be replied.
-
工作学习 / IT技术讨论 / 我也请教个问题,关于'View Source'的如何在Browser中去掉这个选项,以前有位大虾已经放了Java Script的例子。可惜,那个对用户太不友好了,需要把Toolbar给disable掉。
请问,还有别的方法可以Encrypt Java script 或者 HTML Source 吗?
多谢!
-luoboyang(萝卜秧);
2002-3-27
{200}
(#421609@0)
-
You can encrypt javascript, but it only works with IE5 and above. Check MSDN under windows scripting host. There is a small app called script encoder or something like that.It makes update troublesome though. So I didn't like it after awhile.
-jeffrey815(Smartiecat);
2002-3-27
{70}
(#421677@0)
-
Another thing I wanna mentioned is internet is a free zone. I always publish my stuffs and if people need it, they are free to use it. Why encrypt anything? I used to be thinking like you.....But after I got so much people by viewing others' web site, I decided I won't try to encrypt anything anymore.
-jeffrey815(Smartiecat);
2002-3-27
{112}
(#421680@0)
-
嘿嘿,老板要求啊。正好我也学点东西。。。
-luoboyang(萝卜秧);
2002-3-27
(#421705@0)
-
no way to get rid of view source from toolbar base on my knowlege.
but you can encrypt HTML source
-nice2002(nice2002);
2002-3-27
(#421683@0)
-
You can get rid of toolbar, but you can't encrypt HTML source, you can only encrypt javascript portion of html source.
-jeffrey815(Smartiecat);
2002-3-27
(#421703@0)
-
听起来象是我要的,好,去MSDN看看。多谢!新版的MSDN我不喜欢。
-luoboyang(萝卜秧);
2002-3-27
(#421709@0)
-
Link for the script encoder.http://msdn.microsoft.com/downloads/default.asp?URL=/downloads/sample.asp?url=/msdn-files/027/001/789/msdncompositedoc.xml
-jeffrey815(Smartiecat);
2002-3-27
{122}
(#421724@0)
-
谢谢!
-luoboyang(萝卜秧);
2002-3-27
(#421747@0)
-
可以的。disable 整个Toolbar. 你后面说的如何做?
-luoboyang(萝卜秧);
2002-3-27
(#421708@0)
-
咱也来插一小嘴。你即使disable了toolbar, right click the mouse,不是一样可以view source?
-yangn(Raymond);
2002-3-27
(#421732@0)
-
嘿嘿,我提到的那位大虾的java script正是把你的mouse right click给改了。。。我试了,很好。
-luoboyang(萝卜秧);
2002-3-27
(#421738@0)
-
没有什么可以真正屏蔽右键的。
-checkme(checkme);
2002-3-27
(#421828@0)
-
不是屏蔽,只是当right click发生时,用自己的message来代替。你在论坛里搜索一下吧。
-luoboyang(萝卜秧);
2002-3-27
(#421829@0)
-
我知道,但是有办法可以绕过去。
-checkme(checkme);
2002-3-27
(#421830@0)
-
the best way to hide your source is FLASH
-nice2002(nice2002);
2002-3-27
(#421762@0)
-
FLASH 也有软件可以看的。嘿嘿。
-checkme(checkme);
2002-3-27
(#421844@0)
-
what about applet?
-nice2002(nice2002);
2002-3-27
(#421867@0)
-
applet的class也要下载到本地呀!有class文件我就可以查代码,除非你用某些软件加密。呵呵!
-checkme(checkme);
2002-3-27
(#422053@0)
-
以上所说所有招数只能防君子不防小人. 只要我在临时目录找到相关文件用NOTEPAD打开就搞掂
-zhihaoxx(Dilbert*XP);
2002-3-27
(#421790@0)
-
对阿,只是增加个困难度罢了。
-luoboyang(萝卜秧);
2002-3-27
(#421799@0)
-
If I encode it, go ahead, open the file, you still won't get the javascript code.
-jeffrey815(Smartiecat);
2002-3-27
(#421911@0)
-
But don't remember it only works on IE! Can't imagine you only write IE compatible pages for public website in Canada.
-zhihaoxx(Dilbert*XP);
2002-3-27
(#422026@0)
-
Well, I did point that our right? In fact I can write customize web site for IE with amazing HTML component in it and a plain website for Netscape, like Microsoft does, then you still want my HTML component for IE.instead of learning my source code for netscape garbage shit. In fact, most enterprise scope sites customize their appears based on your browser. But I think with the new ASP.NET which favor IE, you can't even hide the code anymore since ASP.NET will generate all the javascript code for you and you don't have to write it.
-jeffrey815(Smartiecat);
2002-3-27
{325}
(#422222@0)