Redgifs Embed Tweaks (RET)

tweaks redgifs embed/iframe video

< Commentaires sur Redgifs Embed Tweaks (RET)

Question / commentaire

§
Posté le: 10/02/2025

Firefox
Violentmonkey

No options on v0.3.5

hdyzenAuteur
§
Posté le: 10/02/2025

Try v0.3.6, I just updated

§
Posté le: 21/02/2025

Prevent open link when click
Pause video when not visible(60% less)

This option not working

hdyzenAuteur
§
Posté le: 21/02/2025

Works fine for me in oldreddit, you have example link?

§
Posté le: 22/02/2025

I'm on Firefox with Violentmonkey. I just try regular reddit and has that issue. "Pause video when not visible(60% less)" I need to scroll down a bit far for it not to pause but un embed.

This is on console

11:44:52.525 Uncaught (in promise) DOMException: The operation is insecure.
Ft moz-extension://85c8e8e6-ed99-4537-8eaf-e69758e565b1/sandbox/injected-web.js:1
get moz-extension://85c8e8e6-ed99-4537-8eaf-e69758e565b1/sandbox/injected-web.js:1
initPrefs moz-extension://85c8e8e6-ed99-4537-8eaf-e69758e565b1/ Redgifs Embed Tweaks.user.js#275:144
init moz-extension://85c8e8e6-ed99-4537-8eaf-e69758e565b1/ Redgifs Embed Tweaks.user.js#275:104
VM7hzsz16rbb3 moz-extension://85c8e8e6-ed99-4537-8eaf-e69758e565b1/ Redgifs Embed Tweaks.user.js#275:109
VM7hzsz16rbb3 moz-extension://85c8e8e6-ed99-4537-8eaf-e69758e565b1/ Redgifs Embed Tweaks.user.js#275:391
rn moz-extension://85c8e8e6-ed99-4537-8eaf-e69758e565b1/sandbox/injected-web.js:1
moz-extension://85c8e8e6-ed99-4537-8eaf-e69758e565b1/ Redgifs Embed Tweaks.user.js#275:1
Le moz-extension://85c8e8e6-ed99-4537-8eaf-e69758e565b1/sandbox/injected-web.js:1
post moz-extension://85c8e8e6-ed99-4537-8eaf-e69758e565b1/sandbox/injected-web.js:1
ScriptData moz-extension://85c8e8e6-ed99-4537-8eaf-e69758e565b1/sandbox/injected-web.js:1
onHandle moz-extension://85c8e8e6-ed99-4537-8eaf-e69758e565b1/sandbox/injected-web.js:1
je moz-extension://85c8e8e6-ed99-4537-8eaf-e69758e565b1/sandbox/injected-web.js:1
injected-web.js:1

§
Posté le: 10/03/2025

Still an issue on v0.4.0
Example https://www.reddit.com/r/cosplaygirls/comments/1j818su/mita_miside_by_umeko_j/

02:19:57.417 Uncaught (in promise) DOMException: The operation is insecure.
Ft moz-extension://85c8e8e6-ed99-4537-8eaf-e69758e565b1/sandbox/injected-web.js:1
get moz-extension://85c8e8e6-ed99-4537-8eaf-e69758e565b1/sandbox/injected-web.js:1
initPrefs moz-extension://85c8e8e6-ed99-4537-8eaf-e69758e565b1/ Redgifs Embed Tweaks (RET).user.js#275:144
init moz-extension://85c8e8e6-ed99-4537-8eaf-e69758e565b1/ Redgifs Embed Tweaks (RET).user.js#275:104
injected-web.js:1

hdyzenAuteur
§
Posté le: 11/03/2025

Hey, sorry for the delay, but isn't the video pausing when it's less than 60% visible? I just tested it on the url you said and when I scroll it pauses, you can try it on a new browser profile

§
Posté le: 11/03/2025

I test it with enhanced tracking protection enabled and with all cross site cookies blocked. This "all cross site cookies" was causing the issue and changing to this "cross site-tracking cookies and isolate other cross-site cookies" or above that option will resolve all the issue. Below that option will not work.

I'm always using that options and got no issue before. I hope it can be resolved with my settings.

§
Posté le: 12/03/2025

Suddenly not working anymore and even with disabling enhanced tracking protection, but restarting works. Testing on new profile is not working at first but refreshing multiple time works, rarely doesn't.
Still autoplay at first load and doesn't pause video when not visible(60% less), need to click to pause and it will work after play it again.

Example on this, https://www.reddit.com/r/cosplaygirls/comments/1j783x0/heartthrob_caitlyn_cosplay_by_anariexe/

This usually show
19:32:56.550 Uncaught DOMException: Permission denied to access property "dispatchEvent" on cross-origin object
h https://www.redgifs.com/ifr/kosherapprehensivedutchshepherddog line 255 > injectedScript:2
https://www.redgifs.com/ifr/kosherapprehensivedutchshepherddog line 255 > injectedScript:2
https://www.redgifs.com/ifr/kosherapprehensivedutchshepherddog line 255 > injectedScript:2
ZT https://www.redgifs.com/static/vendor-BTFjiKOc.js:255
rf https://www.redgifs.com/static/vendor-BTFjiKOc.js:48
Lc https://www.redgifs.com/static/vendor-BTFjiKOc.js:48
jm https://www.redgifs.com/static/vendor-BTFjiKOc.js:48
sy https://www.redgifs.com/static/vendor-BTFjiKOc.js:48
j1 https://www.redgifs.com/static/vendor-BTFjiKOc.js:48
Xs https://www.redgifs.com/static/vendor-BTFjiKOc.js:48
ly https://www.redgifs.com/static/vendor-BTFjiKOc.js:48
hy https://www.redgifs.com/static/vendor-BTFjiKOc.js:48
U https://www.redgifs.com/static/vendor-BTFjiKOc.js:17
kosherapprehensivedutchshepherddog line 255 > injectedScript:2

This sometime show
Uncaught DOMException: Permission denied to access property "dispatchEvent" on cross-origin object
h https://www.redgifs.com/ifr/kosherapprehensivedutchshepherddog line 255 > injectedScript:2
kosherapprehensivedutchshepherddog line 255 > injectedScript:2
h https://www.redgifs.com/ifr/kosherapprehensivedutchshepherddog line 255 > injectedScript:2

hdyzenAuteur
§
Posté le: 12/03/2025
Édité le: 12/03/2025

It's very strange, I tested it in Firefox and Chrome and it's working without any problems, the logs you mentioned are not related to the userscript, you can see that even with the script disabled the logs still appear. If you are in Firefox the autoplay should be blocked by default even without the script, Firefox has an option enabled by default to block audio and video until the user interacts with the page. You can try the troubleshooting mode in about:support

Poster une réponse

Connectez-vous pour poster une réponse.