The more you know, am I right?
This commit is contained in:
parent
4e56d17d54
commit
259529b6dd
@ -12768,7 +12768,7 @@
|
|||||||
},
|
},
|
||||||
navigate: function(e) {
|
navigate: function(e) {
|
||||||
var boardID, path, threadID, view;
|
var boardID, path, threadID, view;
|
||||||
if (this.hostname !== 'boards.4chan.org' || /rs\.4chan\.org/.test(window.location)) {
|
if (this.hostname !== 'boards.4chan.org' || window.location.hostname === 'rs.4chan.org') {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
path = this.pathname.split('/');
|
path = this.pathname.split('/');
|
||||||
|
|||||||
@ -12745,7 +12745,7 @@
|
|||||||
},
|
},
|
||||||
navigate: function(e) {
|
navigate: function(e) {
|
||||||
var boardID, path, threadID, view;
|
var boardID, path, threadID, view;
|
||||||
if (this.hostname !== 'boards.4chan.org' || /rs\.4chan\.org/.test(window.location)) {
|
if (this.hostname !== 'boards.4chan.org' || window.location.hostname === 'rs.4chan.org') {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
path = this.pathname.split('/');
|
path = this.pathname.split('/');
|
||||||
|
|||||||
@ -357,7 +357,7 @@ Main =
|
|||||||
return
|
return
|
||||||
|
|
||||||
navigate: (e) ->
|
navigate: (e) ->
|
||||||
return if @hostname isnt 'boards.4chan.org' or /rs\.4chan\.org/.test window.location
|
return if @hostname isnt 'boards.4chan.org' or window.location.hostname is 'rs.4chan.org'
|
||||||
|
|
||||||
path = @pathname.split '/'
|
path = @pathname.split '/'
|
||||||
path.shift() if path[0] is ''
|
path.shift() if path[0] is ''
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user