zapIframesProp

zap all iframes Properties

目前为 2015-08-07 提交的版本。查看 最新版本

/*<![CDATA[*//*
// ==UserScript==
// @name          zapIframesProp
// @include       *
// @description   zap all iframes Properties
// @namespace     https://gf.qytechs.cn/users/3561-lucianolll ; http://userscripts-mirror.org/users/46776/scripts
// @version     6
// ==/UserScript==**/
function zapifrprp(){
	var doc=document,ifra=doc.getElementsByTagName('iframe'),ln=ifra.length;
  if(ln){
   for(var i=ln,j=0,fr,tm=[],attr=[];i--;j++){fr=ifra[i];tm[j]=[fr,fr.parentNode];}
	tm.forEach(function(v){v[1].removeChild(v[0]);});
  }
}
   addEventListener('load',zapifrprp(),false);

/*]]>*/

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址