CleanLinks icon indicating copy to clipboard operation
CleanLinks copied to clipboard

Google Drive problems

Open U-Go-7 opened this issue 3 years ago • 5 comments

Hi, when opening a link to a video in Google Drive, the black page with the video thumbnail loads, but when I click on the play button the video loads forever and never plays. I cannot whitelist because according to CleanLinks no link has been cleaned. But as soon as I disable the Addon, I can watch the video. Thanks

U-Go-7 avatar Feb 28 '21 13:02 U-Go-7

Sorry about that, I will try to investigate but I'm not sure what's going on there.

Cimbali avatar Feb 28 '21 18:02 Cimbali

It might be something you do wrong with Google. I notice now that when I use Google Shopping, when I click "to the website" in one of the results in the list of all the idea for any given article, it tries to redirect and stays as a white page forever.

If you tell me how I can manually whitelist my typing the domain somewhere instead of having to select a link in your add-on (which in these two Google cases it's impossible as no link is shown) I can workaround this way while you fix the issue, otherwise I need to uninstall.

Thanks Ugo

On Sun, Feb 28, 2021, 19:42 Cimbali [email protected] wrote:

Sorry about that, I will try to investigate but I'm not sure what's going on there.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Cimbali/CleanLinks/issues/133#issuecomment-787500204, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQVCBLMXRCDJ3SDRDEW6HTLTBKFBZANCNFSM4YLBTY6A .

U-Go-7 avatar Feb 28 '21 19:02 U-Go-7

I don't think we do anything specific with Google, but to whitelist it you can create a new rule on the rules editing page (accessible eg via the options) with:

  • domain google.*
  • check matching sub domains
  • whitelist parameter .*
  • check allow javascript to modify links

Then click the save rule button.

Cimbali avatar Mar 01 '21 08:03 Cimbali

It might be that something in the url looks like an embedded url when it's not a valid url? An example page of Google shopping or Google drive where this happens would be most helpful.

Cimbali avatar Mar 01 '21 09:03 Cimbali

I found a random drive with some game demo: https://drive.google.com/drive/folders/1GSR0ThesQIYsPY2wn3qaigCpRzYjVn7k

Does this reproduce your issue ?

I managed to fix it with the following rules:

  • domain docs.google.com/ path ^/get_video_info$ whitelist parameters eurl
  • domain docs.google.com/ path ^/videoplayback$ whitelist ei and source
  • domain youtube.googleapis.com path ^/embed/$ remove parameters BASE_URL, BASE_YT_URL, iurl, reportabuseurl

Cimbali avatar Mar 01 '21 17:03 Cimbali