注意:在保存之后,您可能需要清除浏览器缓存才能看到所作出的变更的影响。
- Firefox/Safari:按住“Shift”的同时单击“刷新”,或按“Ctrl-F5”或“Ctrl-R”(Mac为“⌘-R”)
- Google Chrome:按“Ctrl-Shift-R”(Mac为“⌘-Shift-R”)
- Internet Explorer:按住“Ctrl”的同时单击“刷新”,或按“Ctrl-F5”
- Opera:在“工具→首选项”中清除缓存
- 如果您已登录但该页面出现未登录状态,请尝试在地址栏的地址最后添加代码
?_=1来访问最新页面。
- 添加代码后的本页地址如下:
https://mobile.moegirl.org.cn/User:Imfrankliu/js/notifications.js?_=1
$(document).ready(function(){
var notification = ['', ''];
if (notification[0] == 'enabled') {
for (index = 1; index < notification.length; index++) {
$('#scrollDiv').find('ul:first').append('<li class=\'Imfrankliu-notification\'>' + notification[index] + '</li>');
}
}
});