Add s4s to the NSFW boards list. Close #300
This commit is contained in:
parent
4975c74e49
commit
e52979eb82
@ -14453,7 +14453,7 @@
|
|||||||
if (g.VIEW === 'thread') {
|
if (g.VIEW === 'thread') {
|
||||||
g.THREADID = +pathname[3];
|
g.THREADID = +pathname[3];
|
||||||
}
|
}
|
||||||
if (['b', 'd', 'e', 'gif', 'h', 'hc', 'hm', 'hr', 'pol', 'r', 'r9k', 'rs', 's', 'soc', 't', 'u', 'y'].contains(g.BOARD.ID)) {
|
if (['b', 'd', 'e', 'gif', 'h', 'hc', 'hm', 'hr', 'pol', 'r', 'r9k', 'rs', 's', 's4s', 'soc', 't', 'u', 'y'].contains(g.BOARD.ID)) {
|
||||||
g.TYPE = 'nsfw';
|
g.TYPE = 'nsfw';
|
||||||
} else {
|
} else {
|
||||||
g.TYPE = 'sfw';
|
g.TYPE = 'sfw';
|
||||||
|
|||||||
@ -14460,7 +14460,7 @@
|
|||||||
if (g.VIEW === 'thread') {
|
if (g.VIEW === 'thread') {
|
||||||
g.THREADID = +pathname[3];
|
g.THREADID = +pathname[3];
|
||||||
}
|
}
|
||||||
if (['b', 'd', 'e', 'gif', 'h', 'hc', 'hm', 'hr', 'pol', 'r', 'r9k', 'rs', 's', 'soc', 't', 'u', 'y'].contains(g.BOARD.ID)) {
|
if (['b', 'd', 'e', 'gif', 'h', 'hc', 'hm', 'hr', 'pol', 'r', 'r9k', 'rs', 's', 's4s', 'soc', 't', 'u', 'y'].contains(g.BOARD.ID)) {
|
||||||
g.TYPE = 'nsfw';
|
g.TYPE = 'nsfw';
|
||||||
} else {
|
} else {
|
||||||
g.TYPE = 'sfw';
|
g.TYPE = 'sfw';
|
||||||
|
|||||||
@ -14444,7 +14444,7 @@
|
|||||||
if (g.VIEW === 'thread') {
|
if (g.VIEW === 'thread') {
|
||||||
g.THREADID = +pathname[3];
|
g.THREADID = +pathname[3];
|
||||||
}
|
}
|
||||||
if (['b', 'd', 'e', 'gif', 'h', 'hc', 'hm', 'hr', 'pol', 'r', 'r9k', 'rs', 's', 'soc', 't', 'u', 'y'].contains(g.BOARD.ID)) {
|
if (['b', 'd', 'e', 'gif', 'h', 'hc', 'hm', 'hr', 'pol', 'r', 'r9k', 'rs', 's', 's4s', 'soc', 't', 'u', 'y'].contains(g.BOARD.ID)) {
|
||||||
g.TYPE = 'nsfw';
|
g.TYPE = 'nsfw';
|
||||||
} else {
|
} else {
|
||||||
g.TYPE = 'sfw';
|
g.TYPE = 'sfw';
|
||||||
|
|||||||
@ -44,7 +44,7 @@ Main =
|
|||||||
g.THREADID = +pathname[3]
|
g.THREADID = +pathname[3]
|
||||||
|
|
||||||
# Check if the current board we're on is SFW or not, so we can handle options that need to know that.
|
# Check if the current board we're on is SFW or not, so we can handle options that need to know that.
|
||||||
if ['b', 'd', 'e', 'gif', 'h', 'hc', 'hm', 'hr', 'pol', 'r', 'r9k', 'rs', 's', 'soc', 't', 'u', 'y'].contains g.BOARD.ID
|
if ['b', 'd', 'e', 'gif', 'h', 'hc', 'hm', 'hr', 'pol', 'r', 'r9k', 'rs', 's', 's4s', 'soc', 't', 'u', 'y'].contains g.BOARD.ID
|
||||||
g.TYPE = 'nsfw'
|
g.TYPE = 'nsfw'
|
||||||
else
|
else
|
||||||
g.TYPE = 'sfw'
|
g.TYPE = 'sfw'
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user