“MediaWiki:Common.js”的版本间的差异
来自帮助文档
(未显示同一用户的16个中间版本) | |||
第1行: | 第1行: | ||
/* 这里的任何JavaScript将为所有用户在每次页面载入时加载。 */ | /* 这里的任何JavaScript将为所有用户在每次页面载入时加载。 */ | ||
// 添加事件监听器 | // 添加事件监听器 | ||
+ | $('#video').prepend('<video style="width:100%;height:100%"controls src="/768DM.mp4">') | ||
$('#MSG600').click(function(){ | $('#MSG600').click(function(){ | ||
第16行: | 第17行: | ||
}); | }); | ||
− | $('# | + | $('#Qlinkbailn').click(function(){ |
localStorage.clear(); | localStorage.clear(); | ||
− | window.location.href = 'http://help.qlinkcloud.club/index.php?title= | + | window.location.href = 'http://help.qlinkcloud.club/index.php?title=Qlinkbailn'; |
+ | |||
+ | }); | ||
+ | $('#SMARTCT-E600').click(function(){ | ||
+ | localStorage.clear(); | ||
+ | window.location.href = 'http://help.qlinkcloud.club/index.php?title=SMARTCT-E600'; | ||
}); | }); |
2024年12月5日 (四) 17:12的最新版本
/* 这里的任何JavaScript将为所有用户在每次页面载入时加载。 */ // 添加事件监听器 $('#video').prepend('<video style="width:100%;height:100%"controls src="/768DM.mp4">') $('#MSG600').click(function(){ localStorage.clear(); window.location.href = 'http://help.qlinkcloud.club/index.php?title=%E5%B8%AE%E5%8A%A9'; }); $('#MSG500').click(function(){ localStorage.clear(); window.location.href = 'http://help.qlinkcloud.club/index.php?title=%E5%BC%80%E5%B1%80%E6%8C%87%E5%AF%BC'; }); $('#FAQ').click(function(){ localStorage.clear(); window.location.href = 'http://help.qlinkcloud.club/index.php?title=FAQ'; }); $('#Qlinkbailn').click(function(){ localStorage.clear(); window.location.href = 'http://help.qlinkcloud.club/index.php?title=Qlinkbailn'; }); $('#SMARTCT-E600').click(function(){ localStorage.clear(); window.location.href = 'http://help.qlinkcloud.club/index.php?title=SMARTCT-E600'; });