aboutsummaryrefslogtreecommitdiffstats
path: root/send2cgeo/firefox-addon/send2cgeo/lib/main.js
diff options
context:
space:
mode:
Diffstat (limited to 'send2cgeo/firefox-addon/send2cgeo/lib/main.js')
-rw-r--r--send2cgeo/firefox-addon/send2cgeo/lib/main.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/send2cgeo/firefox-addon/send2cgeo/lib/main.js b/send2cgeo/firefox-addon/send2cgeo/lib/main.js
new file mode 100644
index 0000000..82eb508
--- /dev/null
+++ b/send2cgeo/firefox-addon/send2cgeo/lib/main.js
@@ -0,0 +1,8 @@
+var pageMod = require("sdk/page-mod");
+var data = require("sdk/self").data;
+
+pageMod.PageMod({
+ include: ["http://www.geocaching.com/seek/cache_details*", "http://www.geocaching.com/geocache/*", "http://www.geocaching.com/map/*"],
+ contentScriptWhen: "end",
+ contentScriptFile: data.url("send2cgeo.user.js")
+}); \ No newline at end of file