From 2a4e8972e0edfa3156d9ce54d68ce0e54c0ec289 Mon Sep 17 00:00:00 2001 From: redmatrix Date: Mon, 18 Apr 2016 20:38:38 -0700 Subject: module updates --- mod/ffsapi.php | 65 ---------------------------------------------------------- 1 file changed, 65 deletions(-) delete mode 100644 mod/ffsapi.php (limited to 'mod/ffsapi.php') diff --git a/mod/ffsapi.php b/mod/ffsapi.php deleted file mode 100644 index 1f68a87ba..000000000 --- a/mod/ffsapi.php +++ /dev/null @@ -1,65 +0,0 @@ - - -var baseurl = '$baseurl'; - -var data = { - "origin": baseurl, - // currently required - "name": '$name', - "iconURL": baseurl+"/images/hz-16.png", - "icon32URL": baseurl+"/images/hz-32.png", - "icon64URL": baseurl+"/images/hz-64.png", - - // at least one of these must be defined - // "workerURL": baseurl+"/worker.js", - // "sidebarURL": baseurl+"/sidebar.htm", - "shareURL": baseurl+"/rpost?f=&url=%{url}", - - // status buttons are scheduled for Firefox 26 or 27 - //"statusURL": baseurl+"/statusPanel.html", - - // social bookmarks are available in Firefox 26 - "markURL": baseurl+"/rbmark?f=&url=%{url}&title=%{title}", - // icons should be 32x32 pixels - // "markedIcon": baseurl+"/images/checkbox-checked-32.png", - // "unmarkedIcon": baseurl+"/images/checkbox-unchecked-32.png", - "unmarkedIcon": baseurl+"/images/hz-bookmark-32.png", - - // should be available for display purposes - "description": "$description", - "author": "$author", - "homepageURL": "$homepage", - - // optional - "version": "1.0" -} - -function activate(node) { - var event = new CustomEvent("ActivateSocialFeature"); - var jdata = JSON.stringify(data); - node.setAttribute("data-service", JSON.stringify(data)); - node.dispatchEvent(event); -} - - - - -EOT; - -return $s; - -} -- cgit v1.2.3