Help: Dolphin FF Addon Not Working

Ask for help about NoScript, no registration needed to post
User avatar
Thrawn
Master Bug Buster
Posts: 3106
Joined: Mon Jan 16, 2012 3:46 am
Location: Australia
Contact:

Re: Help: Dolphin FF Addon Not Working

Post by Thrawn »

OK then, let's try a few things:
  • Which sites appear as blocked/allowed on your NoScript menu? Does sen.dolphin-browser.com (or just dolphin-browser.com) show up?
  • Anything in the Error Console (Ctrl+Shift+J), especially Errors or Messages (not warnings)?
  • Probably not an issue, with this being reported by several people, but which other addons (if any) are you running?
Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:19.0) Gecko/20100101 Firefox/19.0
Bob

Re: Help: Dolphin FF Addon Not Working

Post by Bob »

Thrawn wrote:Which sites appear as blocked/allowed on your NoScript menu? Does sen.dolphin-browser.com (or just dolphin-browser.com) show up?
No, nothing shows up as blocked/allowed in the NoScript menu regarding Dolphin Connect, as it's something in the add-on, not in a website that's being blocked.
Thrawn wrote:Anything in the Error Console (Ctrl+Shift+J), especially Errors or Messages (not warnings)?
Played around a bit and came up with this, not sure if it'll help:

Started FireFox with NoScript enabled, and Dolphin Connect disabled. When I then enabled Dolphin Connect and logged in, Dolphin Connect will produce this error:

Code: Select all

Timestamp: 18. April 10:53:57
Error: dolphinconnect: An exception occurred.
Traceback (most recent call last):
  File "resource://jid1-79nqafjhuybb3a-at-jetpack/addon-sdk/lib/sdk/timers.js", line 31, in notify
    callback.apply(null, args);
  File "resource://jid1-79nqafjhuybb3a-at-jetpack/dolphinconnect/lib/login/account.js", line 177, in check_login_result
    login_init(true);
  File "resource://jid1-79nqafjhuybb3a-at-jetpack/dolphinconnect/lib/login/account.js", line 385, in login_init
    chrome.tabs.executeScript(null, {code: INJECT_CODE.LOGIN_SUCCESS, file: "cs_overlayer.js"});
  File "resource://jid1-79nqafjhuybb3a-at-jetpack/dolphinconnect/lib/inject_cs.js", line 106, in executeScript
    code:contentScript.code
  File "resource://jid1-79nqafjhuybb3a-at-jetpack/addon-sdk/lib/sdk/tabs/tab-firefox.js", line 162, in attach
    return Worker(options, this._contentWindow);
  File "resource://jid1-79nqafjhuybb3a-at-jetpack/addon-sdk/lib/sdk/tabs/worker.js", line 11, in Worker
    let worker = ContentWorker(options);
  File "resource://jid1-79nqafjhuybb3a-at-jetpack/addon-sdk/lib/sdk/deprecated/traits.js", line 114, in Trait
    return self.constructor.apply(self, arguments) || self._public;
  File "resource://jid1-79nqafjhuybb3a-at-jetpack/addon-sdk/lib/sdk/content/worker.js", line 479, in Worker
    this._contentWorker = WorkerSandbox(this);
  File "resource://jid1-79nqafjhuybb3a-at-jetpack/addon-sdk/lib/sdk/deprecated/traits.js", line 114, in Trait
    return self.constructor.apply(self, arguments) || self._public;
  File "resource://jid1-79nqafjhuybb3a-at-jetpack/addon-sdk/lib/sdk/content/worker.js", line 258, in WorkerSandbox
    this._importScripts(contentScriptFile);
  File "resource://jid1-79nqafjhuybb3a-at-jetpack/addon-sdk/lib/sdk/content/worker.js", line 315, in _importScripts
    load(this._sandbox, String(uri));
  File "resource://jid1-79nqafjhuybb3a-at-jetpack/addon-sdk/lib/sdk/loader/sandbox.js", line 47, in load
    return scriptLoader.loadSubScript(uri, sandbox, 'UTF-8');
  File "resource://jid1-79nqafjhuybb3a-at-jetpack/dolphinconnect/data/src/cs_overlayer.js", line 59, in 
    var overlay = new DolphinShowInfo();
  File "resource://jid1-79nqafjhuybb3a-at-jetpack/dolphinconnect/data/src/cs_overlayer.js", line 5, in DolphinShowInfo
    this.create();
  File "resource://jid1-79nqafjhuybb3a-at-jetpack/dolphinconnect/data/src/cs_overlayer.js", line 43, in DolphinShowInfo.prototype.create
    document.body.appendChild(overlayFakeContainer);
TypeError: document.body is undefined
Note that this also happens when NoScript is disabled (and Dolphin Connect works), so it's probably not the issue.

Starting Firefox with both NoScript and Dolphin Connect enabled, NoScript will produce this error:

Code: Select all

Timestamp: 18. April 11:21:49
Error: PolicyState is not defined
Source File: jar:file:///C:/Users/user/AppData/Roaming/Mozilla/Firefox/Profiles/krg3qpo1.default/extensions/%7B73a6fe31-595d-460b-a920-fcc0f8843232%7D.xpi!/components/noscriptService.js
Line: 1383
Thrawn wrote:Probably not an issue, with this being reported by several people, but which other addons (if any) are you running?
No, all other addons were disabled.
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:20.0) Gecko/20100101 Firefox/20.0
kuki77
Posts: 1
Joined: Wed Apr 24, 2013 8:41 am

Re: Help: Dolphin FF Addon Not Working

Post by kuki77 »

Did anybody find a solution or a workaround for this issue?!

resource: is already on the whitelist so it's not possible to add resource://jid1-79nqafjhuybb3a-at-jetpack

new:

OK, I found something in the Console: During the start of FF (with a blank start page) there is an error (sorry, but I'm using a German Portable version of FF):

Code: Select all

Zeitstempel: 24.04.2013 11:08:47
Fehler: Firefox kann keine Verbindung zu dem Server unter ws://54.234.96.96/cometd/ aufbauen.
Quelldatei: resource://gre/modules/XPIProvider.jsm -> jar:file:///C:/01_DATA/Portables/Firefox/Profilordner/extensions/jid1-79nQAfjhUybb3A@jetpack.xpi!/bootstrap.js -> resource://jid1-79nqafjhuybb3a-at-jetpack/addon-sdk/lib/toolkit/loader.js -> resource://jid1-79nqafjhuybb3a-at-jetpack/addon-sdk/lib/sdk/loader/sandbox.js -> resource://jid1-79nqafjhuybb3a-at-jetpack/dolphinconnect/data/src/org/cometd.js
Zeile: 892
It says that FF couldn't establish a connection to ws://54.234.96.96/cometd/

But adding this adress to the white list / positives in NoScript doesn't solve the problem as it's not saved. :(

And at the end of the log file:

Code: Select all

1366798676065	Sync.Service	WARN	Failed to fetch symmetric keys. Failing remote setup.
1366798676065	Sync.Service	WARN	Remote setup failed.
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:20.0) Gecko/20100101 Firefox/20.0
ragflan
Posts: 2
Joined: Tue May 14, 2013 7:34 am

Re: Help: Dolphin FF Addon Not Working

Post by ragflan »

I'm having the same problem. I've done a Wireshark trace and found that clicking the Dolphin Connect toolbar button (which shows synced devices) loads offlinejs.com. I've whitelisted this in Noscript as well. I've disabled ABE. I've disabled XSS. Nothing works. Only way that the addon works is when NoScript is disabled. Noscript is blocking some functionality of that addon but I am not even close to understanding what exactly is being blocked.

Firefox Version: 21.
NoScript Version: 2.6.6.1.
Dolphin Connect Version: 1.1.
Mozilla/5.0 (Windows NT 6.2; WOW64; rv:21.0) Gecko/20100101 Firefox/21.0
ragflan
Posts: 2
Joined: Tue May 14, 2013 7:34 am

Re: Help: Dolphin FF Addon Not Working

Post by ragflan »

If I allow scripts globally, Dolphin Connect works. If I disable Noscript, Dolphin Connect works. If I have NoScript enabled, and whitelisted everything related to the addon that I could find, it still doesn't work. There's 2 parts to the addon:

1. Syncing of Firefox bookmarks, tabs, history etc. <-- This part works. So, despite NoScript being enabled or not, this is okay and not the issue.

2. It's the 'Other Devices' functionality that's being broken. Dolphin Connect adds a toolbar button. Clicking that button shows you all the connected device on your account - let's say home pc, work pc, mobile, tablet. You can push the currently open tab to any of these devices and it'll open as a new tab on that device. The reverse works as well. You can push a link from your mobile/tablet to your home pc and it'll open in a new tab in Firefox. Simplest usage is you've discovered a good tech tip while reading on your mobile but you're not ready for it so you simply push it to your home/work pc and it opens in a new tab waiting for you.

#2 is what's broken. When you click the toolbar button for Dolphin Connect, with NoScript enabled, none of your connected devices are shown; it just shows a loading icon. With NoScript disabled, clicking that button immediately shows all connected devices. I hope this helps if anyone is still trying to resolve this. I honestly cannot figure out how else to make the two addons work together. I hope someone can help.
Mozilla/5.0 (Windows NT 6.2; WOW64; rv:21.0) Gecko/20100101 Firefox/21.0
Raan
Posts: 2
Joined: Wed May 29, 2013 8:01 am

Re: Help: Dolphin FF Addon Not Working

Post by Raan »

I too have this very problem. Unfortunately I've not been able to find out anything that's not already been mentioned in the thread.
Mozilla/5.0 (Windows NT 6.2; WOW64; rv:21.0) Gecko/20100101 Firefox/21.0
User avatar
Thrawn
Master Bug Buster
Posts: 3106
Joined: Mon Jan 16, 2012 3:46 am
Location: Australia
Contact:

Re: Help: Dolphin FF Addon Not Working

Post by Thrawn »

It's very strange that nothing helpful is showing up in the Error Console...

Have you tried creating a fresh profile, installing only NoScript and Dolphin Connect, and trying to reproduce the problem?
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:21.0) Gecko/20100101 Firefox/21.0
Raan
Posts: 2
Joined: Wed May 29, 2013 8:01 am

Re: Help: Dolphin FF Addon Not Working

Post by Raan »

Thrawn wrote:It's very strange that nothing helpful is showing up in the Error Console...

Have you tried creating a fresh profile, installing only NoScript and Dolphin Connect, and trying to reproduce the problem?
Yes. The result is the same. Without NoScript installed, or with noScript disabled, Dolphin Connect works as it should. With NoScript enabled it claims that no devices are connected and does not load up the "send tab..." pup-up at all.

Edit: Trying it again I found that there's an error message that shows up in the log for a short time on browser start. Seemingly only when NoScript is enabled.

Code: Select all

Timestamp: 30/05/13 05:25:58
Error: Exposing chrome JS objects to content without __exposedProps__ is insecure and deprecated. See https://developer.mozilla.org/en/XPConnect_wrappers for more information.
Source File: resource://jid1-m7xzzlmj29zzja-at-jetpack-api-utils-lib/securable-module.js -> resource://jid1-m7xzzlmj29zzja-at-jetpack-api-utils-lib/content/worker.js
Line: 230
Mozilla/5.0 (Windows NT 6.2; WOW64; rv:21.0) Gecko/20100101 Firefox/21.0
Post Reply