Replies: 7 comments
-
Have the same problem with my own userscripts too. I'd be very glad if there's a solution to load my userscript on the extension by e.g. giving an option on the OT settings to add your own userscript or something. |
Beta Was this translation helpful? Give feedback.
-
I already tried to code plugins support, but unfortunately it's not really possible with way it's written because of Manifest V3 limitations. I'm sure it's possible to make userscript loads consistent though, instead of starting script as soon as possible you should detect whatever OldTwitter elements appearing, that would mean OldTwitter injected and it's a good time to start the script. |
Beta Was this translation helpful? Give feedback.
-
Thank you very much for your kind reply. |
Beta Was this translation helpful? Give feedback.
-
scripts folder probably, add script to scripts/injection.js |
Beta Was this translation helpful? Give feedback.
-
Thank you very much. |
Beta Was this translation helpful? Give feedback.
-
Thanks, now it works properly in my case by implementing these:
|
Beta Was this translation helpful? Give feedback.
-
Adding different text to original OldTwitter files, or adding different files to any folder of it, makes the extension get uninstalled. Now I'm using "body.body-old-ui.body-light.body-dark.body-pitch-black" as my trigger to load my Tampermonkey script, but I still need to reload each new page to see my buttons. |
Beta Was this translation helpful? Give feedback.
-
Hello dimden and everyone else.
On regular X-Twitter I inject a Tampermonkey script to filter certain tweets, like the ones I have already reposted or the ones with videos, among some other functions.
Although, I can see my Tampermonkey script buttons loaded when the X-Twitter page opens, unfortunately once this fantastic extension of yours gets loaded, my Tampermonkey script gets lost so I can't use it together with OldTwitter.
I wonder if I'm allowed to load my own javascript together with the OldTwitter ones, and if so, what are the steps I must follow to respect your amazing work, and to be sure my OldTwitter keeps running smoothly.
Thanks everyone in advance.
Rex.
Beta Was this translation helpful? Give feedback.
All reactions