zoukankan      html  css  js  c++  java
  • IE地址栏javascript代码~

    完全打开页面后,在该页的在地址栏或按Ctrl+O输入以下代码,回车!
     
    1.显示网页中的所有图片
     
    javascript:jannick='';for%20(i7M1bQz=0;i7M1bQz<document.images.length;i7M1bQz++){jannick+='<img%20src='+document.images[i7M1bQz].src+'><br>'};if(jannick!=''){document.write('<center>'+jannick+'</center>');void(document.close())}else{alert('No%20images!')}
     
    2.显示网页中除图片的其他
     
    javascript:for(jannick=0;jannick<document.images.length;jannick++){void(document.images[jannick].style.visibility='hidden')}
     
    3.网页缩小0.5倍
     
    javascript:void(s=document.body.style);void(z=s.getAttribute('zoom'));if(z){s.setAttribute('zoom',(parseInt(z)-50)+'%');}else s.setAttribute('zoom','50%')
     
    4.网页放大1.5倍
     
    javascript:void(s=document.body.style);void(z=s.getAttribute('zoom'));if(z){s.setAttribute('zoom',(parseInt(z)+50)+'%');}else s.setAttribute('zoom','150%')
     
    5.显示网页源代码(对于加密过的可以直接显示其加密前的源代码)
     
    javascript:jannick=document.documentElement.outerHTML;document.write('<body></body>');document.body.innerText=jannick;
     
    6.显示当前网页的COOKIE
     
    javascript:alert(document.cookie)
     
    7.让网页上的图片全部飞起来
     
    javascript:R=0; x1=.1; y1=.05; x2=.25; y2=.24; x3=1.6; y3=.24; x4=300; y4=200; x5=300; y5=200; DI=document.images; DIL=DI.length; function jannick(){for(i=0; i-DIL; i++){DIS=DI[ i ].style; DIS.position='absolute'; DIS.left=Math.sin(R*x1+i*x2+x3)*x4+x5; DIS.top=Math.cos(R*y1+i*y2+y3)*y4+y5}R++}setInterval('jannick()',5); void(0);
  • 相关阅读:
    基于贝叶斯概率模型的单幅图像去运动模糊算法
    Hihocoder 1067 最近公共祖先二
    HDU 2855 Fibonacci Check-up 矩阵
    HDU 2276 Kiki & Little Kiki 2 矩阵
    HDU 3483 A Very Simple Problem 矩阵构造
    HDU 2807 The Shortest Path 矩阵 + Floyd
    HDU 5015 233 Matrix 矩阵快速幂
    ZOJ 3497 Mistwald 矩阵
    POJ 3233 Matrix Power Series 矩阵等比数列求和
    HDU 2157 How many ways?? 矩阵
  • 原文地址:https://www.cnblogs.com/AndyGe/p/2866797.html
Copyright © 2011-2022 走看看