News for hackers. Stuff that matters.
Re:Firefox Android now supports tampermonkey by piyush_soni on Friday February 17, 2023 @12:53AM (#34831291)
What exactly is better in ViolentMonkey? Just want to know because I keep working with userscripts and after GreaseMonkey's collapse TamperMonkey has been my default userscript manager.
Re:Firefox Android now supports tampermonkey by capitainenemo on Friday February 17, 2023 @01:40AM (#34831573)
ViolentMonkey at least seemed to be the only one that worked in my Firefox with NoScript enabled on a site. And since I was occasionally writing script snippets to fix stupid uses of JS to unhide images/html, that was nice.
Re:Firefox Android now supports tampermonkey by eipi10_hn on Friday February 17, 2023 @04:58AM (#34832820)
My browsing's habit is the same as yours, just a bit different is I use noscript-mode and write my own scripts to fix the sites using ublock alone (so I won't need 2 extensions for it).

It was a bit (nice) surprised for me to see many sites is really usable in noscript-mode.

Re:Firefox Android now supports tampermonkey by capitainenemo on Friday February 17, 2023 @01:12PM (#34838207)
Heh. On a few (not all) my firefox profiles I actually use umatrix+noscript. :) This one I'm typing on right now actually.

The reason is I like the simple toggle approach of noscript, but I like umatrix's granularity. So I set umatrix to block virtually all 3rd party things, but give it a full whitelist on the things noscript handles well (media/script/xhr/other). Then I whitelist selectively in noscript and expand slightly in umatrix if necessary (say, for temporarily whitelisting google's captcha images).

Re:Firefox Android now supports tampermonkey by thrdbndndn on Friday February 17, 2023 @03:11AM (#34832148)
In term of usability: its JS injector mechanism is much faster than TM last time I checked. Not that it's a big deal for normal users, but I have a few huge global scripts that I can see very visible impact.

And it's more "cleaner" as that you can clearly see each scripts you loaded in devtool and debug them, but and I think TM is catching up in this regard.

Outside that, VM is totally open source, development seems to be much quicker (with the drawback of slightly less stability, I'd admit), devs are more responsive.

Re:Firefox Android now supports tampermonkey by silverwind on Friday February 17, 2023 @03:44AM (#34832348)
I prefer ViolentMonkey's UI to Tampermonkey's, and it's open source and likely technically superior as others have mentioned.
Re:Firefox Android now supports tampermonkey by blibble on Friday February 17, 2023 @04:58AM (#34832823)
no popup every few days asking for money
Re:Firefox Android now supports tampermonkey by Mystery-Machine on Friday February 17, 2023 @01:16PM (#34838261)
TamperMonkey has a terrible embedded editor. It assumes 4 spaces formatting and some other shit that I don't like, but can't change. I'm also lazy to switch to something else. I just wish they would fix the editor.
Re:Firefox Android now supports tampermonkey by iggldiggl on Friday February 17, 2023 @03:38PM (#34840222)
Oh the days when user scripts were simply files on your hard disk and could simply be directly edited (and e.g. also globally searched) by the text editor of your choice…
Re:Firefox Android now supports tampermonkey by piyush_soni on Saturday February 18, 2023 @07:08AM (#34846275)
You can actually still use an offline Text editor with TamperMonkey as well (at least with their latest UI, I just checked it)
Re:Firefox Android now supports tampermonkey by spiralx on Sunday February 19, 2023 @12:58AM (#34854931)
What? I've been using it for years and that's not true, there's several settings to customise formatting. Have you tried selecting "Advanced" for Config Settings, maybe that's why you can't see those settings.
Re:Firefox Android now supports tampermonkey by derjanb on Tuesday February 21, 2023 @01:27PM (#34884780)
Simply set "Config mode" to "Advanced" search for the "Editor" section and configure everything as needed.
Re:Firefox Android now supports tampermonkey by onurtag on Friday February 17, 2023 @01:19PM (#34838299)
I'll pinch in with Tampermonkey's upsides compared to Violentmonkey.

Tampermonkey supports @connect [1] which lets you take an action whenever a script connects to a domain that isn't listed in its meta fields. Tampermonkey also warns you whenever a script modifies its @include/@match/@connect fiels with an update.

[1]: https://www.tampermonkey.net/documentation.php?locale=en#met...

Re:Firefox Android now supports tampermonkey by piyush_soni on Saturday February 18, 2023 @08:53AM (#34846944)
Yes, I was waiting for someone to write about it, but no one else did. I can see such a vast API that TamperMonkey offers in comparison to the competition. I don't have an immediate use of that extended API, but can definitely see using them in future.