MediaWiki:Mobile.js
跳到导航
跳到搜索
注意:在保存之后,您可能需要清除浏览器缓存才能看到所作出的变更的影响。
- 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 → Preferences),然后隐私和安全 → 清除浏览数据 → 缓存的图片和文件。
/* 这里的任何JavaScript将为使用移动版网站的用户加载 */ $(function() { //黑幕 $('.heimu a').on("click", function() { if (!$(this).closest('.heimu').is(':active, :focus')) return false; }); //Template:hide if ($('.mw-collapsible')[0]) mw.loader.using('jquery.makeCollapsible').then(function() { //console.debug('jquery.makeCollapsible is loaded.'); $('.mw-collapsible').makeCollapsible(); }); }); /*阅读更多:https://zh.moegirl.org/MediaWiki:Mobile.js 本文引自萌娘百科(https://zh.moegirl.org/),文字内容遵守【知识共享 署名-非商业性使用-相同方式共享 3.0】协议。*/