mft3k

Firefox Extension that adds a MST3K row of seats to the bottom of the browser
git clone Https://wehaveforgeathome.hates.computer/mft3k.git
Log | Files | Refs | LICENSE

commit cefed0821c444791d6224f02f68aeb08118e46d6
parent 039866f454cb26cc8aa77c66fa80fbf45ceb1970
Author: Ryan Wolf <rwolf@borderstylo.com>
Date:   Fri, 25 Jun 2010 17:15:59 -0700

work with frames

Diffstat:
Mchrome/content/content.js | 4++++
1 file changed, 4 insertions(+), 0 deletions(-)

diff --git a/chrome/content/content.js b/chrome/content/content.js @@ -5,6 +5,10 @@ window.addEventListener( "DOMContentLoaded", function (event) { var doc = event.originalTarget; + + // don't add binding to frames + if (doc.defaultView.frameElement) return; + var bindingUrl = 'url("chrome://mft3k/content/binding.xml#seats")'; doc.body.parentNode.style.MozBinding = bindingUrl; },