Syntax Error with activity.js

Asked by jpool

When installing "activity.js" scriptlet I am receiving a Syntax Error: (see below)

I am using Firefox 3. Are there any issues with this scriptlet? Other ones I have installed are working fine.

SyntaxError
@:0
loadSubScript("file:///C:/Documents%20and%20Settings/CAMJP5/Application%20Data/Mozilla/Firefox/Profiles/93q0plgl.default/sameplace/scriptlets/activity.js",[object Object])@:0
load([object XPCWrappedNative_NoHelper],[object Object])@chrome://sameplace/content/facades/scriptlets.js:350
()@chrome://sameplace/content/facades/scriptlets.js:203
()@chrome://sameplace/content/facades/scriptlets.js:209
()@chrome://sameplace/content/facades/scriptlets.js:242
([object Object])@chrome://sameplace/content/contacts/contacts.js:553
forEach((function (scriptlet) {count++;var xulScriptlet = document.createElement("menuitem");try {xulScriptlet.setAttribute("label", scriptlet.info.name);xulScriptlet.addEventListener("command", function (event) {if (scriptlet.enabled) {scriptlet.disable();} else {scriptlet.enable();}}, false);} catch (e) {xulScriptlet.setAttribute("label", $("#strings-toolbox").getFormattedString("scriptletLoadingError", [scriptlet.fileName]));xulScriptlet.setAttribute("style", "color:red;");xulScriptlet.addEventListener("command", function (event) {window.alert(e.name + "\n" + e.stack);}, false);}xulScriptlet.setAttribute("type", "checkbox");xulScriptlet.setAttribute("checked", scriptlet.enabled ? "true" : "false");xulPopup.insertBefore(xulScriptlet, xulSeparator);}))@chrome://sameplace/content/facades/scriptlets.js:153
showingScriptletList([object XULElement])@chrome://sameplace/content/contacts/contacts.js:549
onpopupshowing([object MouseEvent])@chrome://sameplace/content/contacts/contacts.xul:1

Question information

Language:
English Edit question
Status:
Answered
For:
SamePlace Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Massimiliano Mirra (bard-hyperstruct) said :
#1

I didn't test activity.js under Firefox 3, scriptlets however are deprecated, you may want to wait for the next major release of SamePlace which will contain similar functionality, or try the third-party NotifyMe extension (http://hamen.homelinux.org/).

Can you help with this problem?

Provide an answer of your own, or ask jpool for more information if necessary.

To post a message you must log in.