RequestPolicyContinued / requestpolicy

a web browser extension that gives you control over cross-site requests. Available for XUL/XPCOM-based browsers.
https://github.com/RequestPolicyContinued/requestpolicy/wiki
Other
253 stars 35 forks source link

Slideshare not working #505

Open SkySkimmer opened 9 years ago

SkySkimmer commented 9 years ago

When blocking is disabled slideshare.net slides work. When enabled (with slideshare to slidesharecdn allowed) the slides do not work. In the request log, a request to google's jquery is shown blocked but does not appear in the RequestPolicy menu. The error console shows a jquery related error.

nodiscc commented 9 years ago

Demo slides on http://www.slideshare.net/ work for me (only slidesharecdn.com allowed). Do you have an URL where this bug is reproducible?

SkySkimmer commented 9 years ago

Doesn't work for me. Did you check that the buttons work?

nodiscc commented 9 years ago

It works for me in lightboxes/popup boxes on the main page, and on individual pages like http://www.slideshare.net/slidesthatrock/how-to-pitch-b2b-pdf, I don't see any requests to the jquery cdn, only to smartling.com.

Firefox (Iceweasel) 33.0-2 on Debian (testing/unstable)

myrdd commented 9 years ago

@SkySkimmer does it work as follows? 1) enable blocking and set default policy to deny. 2) go to http://www.slideshare.net/ 3) allow requests from *.slideshare.net to *.slidesharecdn.com 4) reload 5) if you open the menu now, there's no request to ajax.googleapis.com 6) click on a slide 7) open the menu. There should be an entry for ajax.googleapis.com. 8) allow requests from *.slideshare.net to *.ajax.googleapis.com and reload 9) the slides should work now.

Note about point 5) that RP doesn't look into the future what requests the site could make.

SkySkimmer commented 9 years ago

Then entry at 7) doesn't appear.

myrdd commented 9 years ago

Could you please test this with all other addons disabled and/or with a newly created profile? If that also does not help, please enable logging (set extensions.requestpolicy.log in about:config to true) and then send me the output (or post it on pastebin). (if you publish it, note to remove the list of rules in case they're dumped). If you need any help, tell me.

nodiscc commented 9 years ago

@SkySkimmer ping. Can you reproduce this issue from a new Firefox profile with all other addons disabled?

SkySkimmer commented 9 years ago

I can't.

myrdd commented 9 years ago

I can't.

Please further investigate this bug (read below) or close this issue.

To further investigate this bug, work with your profile where this bug occurres. Disable all other extensions and restart Fx. If RP works then, please re-enable the extensions iteratively and test RP each time. Then report the extension that caused the malfunctioning. If disabling all addons didn't help you can do the following: (1) check firefox' browser console (2) enable RP's logging and start Fx from the terminal (see https://github.com/RequestPolicyContinued/requestpolicy/wiki/Setting-up-a-development-environment#enable-logging)

nodiscc commented 9 years ago

@SkySkimmer ping, we need more information, to make sure it's not caused by another addon. Can you do the following:

If disabling all addons didn't help, it's likely a RequestPolicy bug. Please tell us if this happens. If the addon works as expected with a blank Firefox profile, then something in your "normal" Firefox profile is causing this bug (another addon or preference). If so, please try the following:

  1. Start your normal Firefox profile.
  2. Disable all addons, except RequestPolicy Continued. (you may need to restart Firefox)
  3. Go to your test page (slideshare), confirm that RequestPolicy works normally.
  4. Re-enable another addon (just one), restart Firefox if needed, reload the test page.
  5. If you still don't have the bug, the addon you just enabled is not causing it. Redo step 4. (enable another addon, restart Firefox if needed, reload the test page.) until you find the addon that is causing the bug to occur, and please report the addon name here.

Thanks in advance, hope it helps. (without further info in one month - 12 Jan 2015 - I'll close this issue as invalid)