diff --git a/4chan_x.user.js b/4chan_x.user.js index 6faefe016..dc995f455 100644 --- a/4chan_x.user.js +++ b/4chan_x.user.js @@ -1233,7 +1233,8 @@ var iframe; g.callbacks.push(qr.cb.node); iframe = $.el('iframe', { - name: 'iframe' + name: 'iframe', + hidden: true }); $.append(d.body, iframe); $.bind(window, 'message', qr.cb.message); @@ -2884,10 +2885,6 @@ max-width: 100%;\ width: -moz-calc(100%); /* hack so only firefox sees this */\ }\ -\ - iframe[name=iframe] {\ - display: none;\ - }\ \ #qp, #iHover {\ position: fixed;\ diff --git a/script.coffee b/script.coffee index ea4a74873..e530804b5 100644 --- a/script.coffee +++ b/script.coffee @@ -969,6 +969,7 @@ qr = g.callbacks.push qr.cb.node iframe = $.el 'iframe', name: 'iframe' + hidden: true $.append d.body, iframe $.bind window, 'message', qr.cb.message @@ -2276,10 +2277,6 @@ main = width: -moz-calc(100%); /* hack so only firefox sees this */ } - iframe[name=iframe] { - display: none; - } - #qp, #iHover { position: fixed; }