Disable 4chan's reported post hiding code. #219
This commit is contained in:
parent
3744cf8120
commit
9e147b26b0
@ -36,7 +36,7 @@ Fourchan =
|
|||||||
name: 'Parse /sci/ math'
|
name: 'Parse /sci/ math'
|
||||||
cb: @math
|
cb: @math
|
||||||
|
|
||||||
# Disable 4chan's ID highlighting (replaced by IDHighlight).
|
# Disable 4chan's ID highlighting (replaced by IDHighlight) and reported post hiding.
|
||||||
$.ready ->
|
$.ready ->
|
||||||
$.globalEval '''
|
$.globalEval '''
|
||||||
(function() {
|
(function() {
|
||||||
@ -45,6 +45,7 @@ Fourchan =
|
|||||||
for (var i = 0; i < nodes.length; i++) {
|
for (var i = 0; i < nodes.length; i++) {
|
||||||
nodes[i].removeEventListener("click", idClick, false);
|
nodes[i].removeEventListener("click", idClick, false);
|
||||||
}
|
}
|
||||||
|
window.removeEventListener("message", Report.onMessage, false);
|
||||||
})();
|
})();
|
||||||
'''
|
'''
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user