diff --git a/4chan_x.user.js b/4chan_x.user.js index 1ff67e8e5..9fe2612a5 100644 --- a/4chan_x.user.js +++ b/4chan_x.user.js @@ -479,9 +479,6 @@ return _results; }; } - if (!d.head) { - d.head = $('head', d); - } $$ = function(selector, root) { if (root == null) { root = d.body; diff --git a/script.coffee b/script.coffee index db1ed9fd4..9c363fac7 100644 --- a/script.coffee +++ b/script.coffee @@ -330,9 +330,6 @@ if not Object.keys Object.keys = (o) -> key for key in o -# upgrade your firefox god damn it! -if not d.head then d.head = $('head', d) - $$ = (selector, root=d.body) -> Array::slice.call root.querySelectorAll selector