From 3adcb7ae1654928a8a86de4cf329dcd912bcbb33 Mon Sep 17 00:00:00 2001 From: Einar Egilsson Date: Thu, 24 Sep 2015 11:25:45 +0000 Subject: 3.0.1. Fix Firefox disabling issues, simplify the chrome api shim, make things a bit more robust --- js/popup-scriptload.js | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 js/popup-scriptload.js (limited to 'js/popup-scriptload.js') diff --git a/js/popup-scriptload.js b/js/popup-scriptload.js new file mode 100644 index 0000000..bcb5370 --- /dev/null +++ b/js/popup-scriptload.js @@ -0,0 +1,13 @@ + +//Do it this way to make the Firefox version work with content +//scripts and all that crap. Will be removed when everything +//can use the WebExtensions API. + +function loadScript(path) { + document.write(''); +} + +if (typeof chrome !== 'undefined') { + loadScript("js/angular.min.js"); + loadScript("js/popup.js"); +} -- cgit v1.2.3