Anonymous
Anonymous asked in 電腦與網際網路程式設計 · 1 decade ago

叫出”原始檔”的指令

說也奇怪吧

大家都想把原始檔弄消失

而我卻問這個問題

我想說不是有"上一頁"的指令嗎

那麼叫出"原始檔"的指令呢?

Update:

@@您認為是什麼?

當然是網頁的原始檔啊

Update 2:

我照您所說的去做了

好像無法達到預期效果

不知哪裡出錯

麻煩糾正一下

http://win0214.myweb.hinet.net/test1017.htm

2 Answers

Rating
  • 1 decade ago
    Favorite Answer

    ------------------------------head~/head貼入------------------------------

    <script language="JavaScript">

    function show(){

    window.open("view-source:"+location);}

    </script>

    ----------------------------------over------------------------------------------

    -----------------------------body內貼入-------------------------------------

    oncontextmenu="window.event.returnValue=false;show()"

    ----------------------------------over-------------------------------------------

    記得按右鍵試試~~

  • 1 decade ago

    蛇麼東西的原是\使當啊

Still have questions? Get your answers by asking now.