MediaWiki:Common.js
跳到导航
跳到搜索
注意:在发布之后,您可能需要清除浏览器缓存才能看到所作出的变更的影响。
- Firefox或Safari:按住Shift的同时单击刷新,或按Ctrl-F5或Ctrl-R(Mac为⌘-R)
- Google Chrome:按Ctrl-Shift-R(Mac为⌘-Shift-R)
- Internet Explorer或Edge:按住Ctrl的同时单击刷新,或按Ctrl-F5
- Opera:按 Ctrl-F5。
/* 这里的任何JavaScript将为所有用户在每次页面加载时加载。 */
var _hmt = _hmt || [];
(function() {
var hm = document.createElement("script");
hm.src = "https://hm.baidu.com/hm.js?3eb94dcc5d2d6e98d585d38032cf3b47";
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(hm, s);
})();
// 定位class为"my-class"的元素
var welement = document.querySelector('.mw-parser-output');
//console.log('Hello, World!');
if(welement){
welement.innerHTML += '<p><br><br>更多信息访问 <b>BubbleStudy</b><a href="https://bubblestudy.info/wiki/">BubbleStudy</a> https://bubblestudy.info/wiki/ </p>';
}