TWITTER DOWNLOAD GIF&VIDEO

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

< 腳本TWITTER DOWNLOAD GIF&VIDEO的回應

評論:正評 - 腳本一切正常

§
發表於:2021-07-24

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!

§
發表於:2021-07-25
編輯:2021-07-25

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

§
發表於:2021-07-26

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

§
發表於:2021-07-26
編輯:2021-07-26
§
發表於:2021-07-26
編輯:2021-07-26

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?

§
發表於:2021-07-26

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

§
發表於:2021-07-26

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.

§
發表於:2021-07-26
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"?

§
發表於:2021-07-26

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

§
發表於:2021-07-26

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

§
發表於:2021-07-26

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.

§
發表於:2021-07-26

NP! Enjoy!

發表回覆

登入以回復