This commit is contained in:
Zixaphir 2014-07-27 17:08:04 -07:00
parent a239b4e2e5
commit 60603f3618
6 changed files with 13 additions and 6 deletions

View File

@ -11,6 +11,8 @@
// @match *://sys.4chan.org/*
// @match *://a.4cdn.org/*
// @match *://i.4cdn.org/*
// @exclude *://blog.4chan.org/*
// @exclude *://dis.4chan.org/*
// @grant GM_getValue
// @grant GM_setValue
// @grant GM_deleteValue

View File

@ -12,6 +12,8 @@
// @match *://sys.4chan.org/*
// @match *://a.4cdn.org/*
// @match *://i.4cdn.org/*
// @exclude *://blog.4chan.org/*
// @exclude *://dis.4chan.org/*
// @grant GM_getValue
// @grant GM_setValue
// @grant GM_deleteValue
@ -18079,8 +18081,6 @@
Main.setThemeString();
Main.setMascotString();
switch (location.hostname) {
case 'blog.4chan.org':
return;
case '4chan.org':
case 'www.4chan.org':
g.TYPE = 'sfw';

View File

@ -18090,8 +18090,6 @@
Main.setThemeString();
Main.setMascotString();
switch (location.hostname) {
case 'blog.4chan.org':
return;
case '4chan.org':
case 'www.4chan.org':
g.TYPE = 'sfw';

View File

@ -16,6 +16,10 @@
"*://a.4cdn.org/*",
"*://i.4cdn.org/*"
],
"excludes": [
"*://blog.4chan.org/*",
"*://dis.4chan.org/*"
],
"files": {
"metajs": "appchan-x.meta.js",
"userjs": "appchan-x.user.js"

View File

@ -73,8 +73,6 @@ Main =
Main.setMascotString()
switch location.hostname
when 'blog.4chan.org'
return
when '4chan.org', 'www.4chan.org'
g.TYPE = 'sfw'
g.VIEW = 'home'

View File

@ -11,6 +11,11 @@
return '// @match ' + match;
}).join('\n')
%>
<%=
meta.excludes.map(function(exclude) {
return '// @exclude ' + exclude;
}).join('\n')
%>
// @grant GM_getValue
// @grant GM_setValue
// @grant GM_deleteValue