uBlock icon indicating copy to clipboard operation
uBlock copied to clipboard

[Safari] Facebook photo viewer breaks in certain cases

Open timothy1098 opened this issue 11 years ago • 15 comments

On Safari, 0.8.8.4, Yosemite 10.2, when viewing Facebook photos, and scrolling through photos within an album in the enlarged mode, after a number of photos, then photos become blocked and cannot be viewed anymore, and it remains black with the loading sign.

After the first photo does not load, any subsequent photos will not load either while the 'ticker' on the uBlocker next to the address bar counts up, indicating that uBlocker is the one blocking access.

I have to close the large preview pane, and then click on a photo to reopen it, for it to work for a set number of photos again (eg. 10), before the 11th and thereafter to not work.

timothy1098 avatar Feb 24 '15 18:02 timothy1098

First thing: a URL where issue can be reproduced.

gorhill avatar Feb 24 '15 18:02 gorhill

I tried reproducing the issue but with the default filters wasn't able to display the same issue. @timothy1098

elyrly avatar Feb 26 '15 23:02 elyrly

It will happen in your own FB account, but was able to reproduce with a random facebook page.

https://www.facebook.com/CodCommunity/photos_stream?ref=page_internal

Click on one of their photos so it enlarges into the blackbox viewer (the expanded viewer), and scroll with arrow keys. After approx 10 photos, the ublock ticker starts counting up, and photos can no longer be loaded in the expanded viewer.

I have tried reinstalling the extension and was unable to resolve the issue. I am using only default filters.

Safari Version 8.0.3

timothy1098 avatar Feb 27 '15 14:02 timothy1098

It will happen in your own FB account

I don't have a Facebook account.

After approx 10 photos, the ublock ticker starts counting up, and photos can no longer be loaded in the expanded viewer.

Using provided URL, I stopped after 40 photos, they all displayed fine.

What filter lists do you have selected aside the default ones?

gorhill avatar Feb 27 '15 14:02 gorhill

Has still been happening to me. Filter list: MyFilter (nothing on it) uBlock Filters uBlock Filters - Privacy Easy List (adblockplus.org) Peter Lowe's Ad server list (yogo.org) EasyPrivacy Malware Domain List (malwaredomainlist.com) Malware domains

This doesn't happen on AdBlockPlus, I installed it to try and it works. After disabling AdblockPlus and enabling uBlock, issue reappears.

timothy1098 avatar Mar 01 '15 20:03 timothy1098

Somebody with Safari will have to try to reproduce, I can't.

gorhill avatar Mar 01 '15 20:03 gorhill

@timothy1098 Do you need Facebook to reproduce?

ghost avatar Mar 01 '15 23:03 ghost

@timothy1098 @gorhill can't reproduce here on Safari 8.0.5. Will continue trying to — meanwhile, it'd help a lot, @timothy1098, if you can find a simpler test case (Facebook is... let's say, complex, and can be very different for different users).

chrisaljoudi avatar Mar 02 '15 01:03 chrisaljoudi

@timothy1098 okay, reproduced and diagnosed. Quite the interesting issue. :)

Will fix and post explanation momentarily.

chrisaljoudi avatar Mar 02 '15 01:03 chrisaljoudi

@timothy1098 closed in 83975124a41e135374f1555f241525b12b5b53a6.

The thing was, Facebook issues tracking requests that, when silently blocked, break the part that loads the images. µBlock for Safari now throws an exception explicitly when blocking XHRs, which lets Facebook's JavaScript fallback appropriately.

chrisaljoudi avatar Mar 02 '15 04:03 chrisaljoudi

@timothy1098 P.S.: ABP doesn't block XHR requests on Safari at all.

chrisaljoudi avatar Mar 02 '15 04:03 chrisaljoudi

@chrisaljoudi Looks like I'm late to the party; woke up and all done! :) Makes sense. Can confirm it's working now.

@gorhill @elyrly @BenjaminProgram and all others thanks for your help.

timothy1098 avatar Mar 02 '15 08:03 timothy1098

I am still having the same issue on the new version 8.9.2.

alexv93 avatar Mar 05 '15 00:03 alexv93

@alexv93 The fix is in the dev build.

gorhill avatar Mar 05 '15 00:03 gorhill

@alexv93 0.8.9.2 doesn't have the patch; see the release notes.

chrisaljoudi avatar Mar 05 '15 00:03 chrisaljoudi