MediaWiki:Common.js:修订间差异
跳到导航
跳到搜索
无编辑摘要 |
无编辑摘要 |
||
(未显示同一用户的13个中间版本) | |||
第13行: | 第13行: | ||
// 定位class为"my-class"的元素 | // 定位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>'; | |||
} |
2024年9月25日 (三) 14:43的最新版本
/* 这里的任何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>';
}