-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
when clicking on links with custom schemes the resulting request gets blocked #362
Comments
Comment by herrsimon Same behaviour here, using Firefox 19 on Linux and RequestPolicy 1.0.0b3. To add some more details: Clicking on an external link or calling it directly via javascript while RequestPolicy is active gives the gives the follotwing error: Component returned failure code: 0x805e0006 [nsIDOMLocation.href] I'm not familiar with the code but a quick look at it makes me guess that the _isInternalRequest() function in src/components/RequestPolicyService.js should check for some more cases in the first if statement. @jsamuel Please have a look at this or point me in the right direction (might be able to fix it myself). As working org-protocol:// links are crucial for my workflow, I have to disable RequestPolicy a lot at the moment. |
Comment by packwidth This has bitten me, too. Specifically magnet: and papers2: links. I noticed that there's a place in 1.0.0b3 to whitelist a scheme, but it insists on adding "//" to the scheme (eg, magnet://*) and still doesn't work (even if the scheme uses "//", like papers2: does. |
Comment by qkiel There is annoying workaround for magnet links and works only until we close Firefox. |
Comment by packwidth That works for me, and the same principle lets me fix mailto: and others. Unfortunately, the pref doesn't stick and adding it to user.js doesn't make it stick, either. I was able to make it stick by adding a lockPref for it (http://kb.mozillazine.org/Lock_Prefs), but I'm not sure if that will survive the next time Firefox upgrades. |
Comment by qkiel What did you write into mozilla.cfg exactly? I wonder if it's possible to enable rss button again. |
Comment by packwidth That's what I used, except with a semicolon at the end. It apparently must be in the same directory as the Firefox executable. To get it to read mozilla.cfg, you also need to edit "$firefox_executable_directory/defaults/pref/local-settings.js" and include: I still have "user_pref("network.protocol-handler.expose.magnet", false);" in user.js (in my profile directory), but it should be completely overridden and so unnecessary. |
Comment by qkiel Thanks for your help, sadly this doesn't work on Ubuntu 13.04 Even though "network.protocol-handler.expose.magnet false" is changed to italic in about:config magnet links still don't work. I'll have to set this parameter by hand until RequestPolicy is fixed :/ |
As @qkiel mentioned correctly (see #362 (comment)), clicking |
@bege10 @herrsimon @packwidth @qkiel |
Issue by bege10
Tuesday Feb 19, 2013 at 15:55 GMT
Originally opened as RequestPolicy/requestpolicy#362
Hi,
as soon as RequestPolicy blocking is enabled, the mailto links don't work any more. As soon as blocking is disabled they work again.
Windows XP SP3
Firefox 18.0.2
RequestPolicy 1.0.0b3
The text was updated successfully, but these errors were encountered: