From 11a91663d8099bde3a8a5595e4b6fac580e3ba6d Mon Sep 17 00:00:00 2001 From: James Campos Date: Tue, 21 Jun 2011 12:09:22 -0700 Subject: [PATCH] drop firefox 3.6 support firefox 5 is out, and even with this line I couldn't get 4chan x working in fx 3.6 --- 4chan_x.user.js | 3 --- script.coffee | 3 --- 2 files changed, 6 deletions(-) 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