FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
userscript/scripts/noNoticetitleflashOnBBS.user.js at master · u53r55/userscript · GitHub
u53r55
userscript
Repository navigation
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
userscript
/
scripts
/
noNoticetitleflashOnBBS.user.js
Copy path
More file actions
More file actions
Latest commit
History
History
History
40 lines (35 loc) · 1.19 KB
Breadcrumbs
userscript
/
scripts
/
noNoticetitleflashOnBBS.user.js
Copy path
File metadata and controls
40 lines (35 loc) · 1.19 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
// ==UserScript==
//
@id
noNoticeTitleFlash
//
@name
No noticeTitleFlash on BBS
//
@version
1.3
//
@namespace
https://github.com/ywzhaiqi
//
@author
ywzhaiqi
//
@description
卡饭论坛去除标题栏闪烁提醒
//
@include
http://bbs.kafan.cn/thread*
//
@include
http://bbs.ruoren.com/*
//
@include
http://u.kafan.cn/*
//
@include
http://bbs.feng.com/*
//
@include
http://game.ali213.net/*
// Discuz论坛列表
//
@include
/^https?:\/\/(?:www\.[^\/]+\/|[^\/]+\/(?:bbs\/)?)(?:2b\/)?(?:(?:forum)|(?:showforum)|(?:viewforum)|(?:forumdisplay))+/
//
@include
/https?:\/\/(?:www\.[^\/]+\/|[^\/]+\/(?:bbs\/)?)(?:2b\/)?(?:(?:thread)|(?:viewthread)|(?:showtopic)|(?:viewtopic))+/
//
@grant
none
//
@run
-at document-start
//
@noframes
// ==/UserScript==
wait
(
function
(
)
{
return
'noticeTitleFlash'
in
window
;
}
,
function
(
)
{
window
.
noticeTitleFlash
=
function
(
)
{
}
;
}
)
;
/*
wait(
function(){ return count==0; },
function(){ alert('allfound'); }
);
*/
function
wait
(
check
,
callback
)
{
if
(
check
(
)
)
callback
(
)
else
window
.
setTimeout
(
wait
,
300
,
check
,
callback
)
;
}
Back
|
FazBrowse Home
|
New Git URL