Minecraft Wiki

除另有声明,转载时均必须注明出处若簡繁轉換出錯,請以遊戲內為準请勇于扩充与修正内容有兴趣逛逛我们的微博沟通交流,欢迎到社区专页需要协助,请在告示板留言

了解更多

Minecraft Wiki
Advertisement
[创建 | 历史 | 清除缓存]文档页面
此脚本没有文档页面。如果你知道此脚本的使用方法,请帮助为其创建文档页面。
注意:在保存之后,您可能需要清除浏览器缓存才能看到所作出的更改的影响。
  • Firefox或Safari:按住Shift的同时单击刷新,或按Ctrl-F5或Ctrl-R(Mac为⌘-R)
  • Google Chrome:按Ctrl-Shift-R(Mac为⌘-Shift-R)
  • Internet Explorer:按住Ctrl的同时单击刷新,或按Ctrl-F5
  • Opera:前往菜单 → 设置(Mac为Opera → 选项),然后隐私和安全 → 清除浏览数据 → 缓存的图片和文件。
/* Powered by [[User:SkyFuInMC]], please add this JavaScript to yours, it will be funny. */
//mw.loader.load('https://minecraft-zh.gamepedia.com/index.php?title=User:Angrydog001/loop.js&action=raw&ctype=text/javascript');
function replaceAll (str, ins, res) {
	string = str;
	if (ins !== res) {
		while (str.search(ins) !== -1) {
			string = string.replace(ins, res);
		}
		return string;
	}
	else {
		return null;
	}
}
try {
 attr = _.j(replaceAll(_.g("id:mw-pageattr").innerHTML, "\n",""));
}
catch(err) {
 document.getElementById("bodyContent").innerHTML += "<p style=\"color:red\"><b>" + replaceAll(err.stack.toString(), "\n", "<br/>") + "</b></p>";
}
Advertisement