Greasy Fork is available in English.

TWITTER DOWNLOAD GIF&VIDEO

Helps you download gifs, videos and original images from Twitter.

< Valutazione su TWITTER DOWNLOAD GIF&VIDEO

Recensione: Bene - lo script funziona

§
Pubblicato: 24/07/2021

Your script somehow asks for XHR code from api.twitter.com outside of the domain twitter.com. As I only have allowed this for the domain twitter.com within the µMatrix settings (another good add-on to control script executions) your script does not work.

In order to make it work with µMatrix you have to explicitely allow XHR from api.twitter.com globally (e.g. by using the µMatrix logger and grand the permission there). But by setting this globally you create a data privacy leak (as api.twitter.com is allowed globally - for all websites). Since it would be extremely useful to avoid exactly that, I would like to ask you to adjust/update your script accordingly, if possible.

Thanks in advance!

§
Pubblicato: 25/07/2021
Modificato: 25/07/2021

I do not use Chrome. Instead, I am using Firefox (also because of privacy but for performance, as well).

§
Pubblicato: 26/07/2021

Can you link the UserScript extension you are using on Firefox?

§
Pubblicato: 26/07/2021
Modificato: 26/07/2021
§
Pubblicato: 26/07/2021
Modificato: 26/07/2021

I've installed them to test it out and while
I've disabled api.twitter.com globally and allowed it on Twitter.com I still can download without a warning
The xhr requests are listed as "behind-the-scenes" in the logger
Can you screenshot your µMatrix settings for global and twitter and logger?

§
Pubblicato: 26/07/2021

Edit: It appears you'll need to allow 'Behind the scene' to use api.twitter.com as it is necessary for extensions such as Violentmonkey to use it

§
Pubblicato: 26/07/2021

If I disable api.twitter.com globally it is blocked when "behind-the-scene" and your script does not work.
If I enable api.twitter.com globally it is allowed when "behind-the-scene" and your script work but it creates a privacy leak.

§
Pubblicato: 26/07/2021
Edit: It appears you'll need to allow 'Behind the scene' to use api.twitter.com as it is necessary for extensions such as Violentmonkey to use it


Ah, does this mean api.twitter.com is not really allowed globally but only for my own user scripts if I enable it only for "behind the scene"?

§
Pubblicato: 26/07/2021

Hmm, here I have behind the scenes enabled while global is disabled:

§
Pubblicato: 26/07/2021

Edit:

Edit: It appears you'll need to allow 'Behind the scene' to use api.twitter.com as it is necessary for extensions such as Violentmonkey to use it


Ah, does this mean api.twitter.com is not really allowed globally but only for my own user scripts if I enable it only for "behind the scene"?

Yes, it is not allowed for use by websites but allowed for use by extensions such as Violentmonkey and scripts it hosts

§
Pubblicato: 26/07/2021

Oh boy, thanks a lot! I've also recognized you not only need to allow api.twitter.com but also video.twimg.com - everything works now.

§
Pubblicato: 26/07/2021

NP! Enjoy!

Pubblica risposta

Accedi per pubblicare una risposta.