diff --git a/builds/appchan-x.js b/builds/appchan-x.js index fb003d3df..59e380501 100644 --- a/builds/appchan-x.js +++ b/builds/appchan-x.js @@ -14453,7 +14453,7 @@ if (g.VIEW === 'thread') { 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'; } else { g.TYPE = 'sfw'; diff --git a/builds/appchan-x.user.js b/builds/appchan-x.user.js index 46530b804..57be5c705 100644 --- a/builds/appchan-x.user.js +++ b/builds/appchan-x.user.js @@ -14460,7 +14460,7 @@ if (g.VIEW === 'thread') { 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'; } else { g.TYPE = 'sfw'; diff --git a/builds/crx/script.js b/builds/crx/script.js index 5c84a235a..83709a5c6 100644 --- a/builds/crx/script.js +++ b/builds/crx/script.js @@ -14444,7 +14444,7 @@ if (g.VIEW === 'thread') { 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'; } else { g.TYPE = 'sfw'; diff --git a/src/General/Main.coffee b/src/General/Main.coffee index 3df2d039a..829765481 100644 --- a/src/General/Main.coffee +++ b/src/General/Main.coffee @@ -44,7 +44,7 @@ Main = 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. - 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' else g.TYPE = 'sfw'