Comments (16)
It's already present in the popup:
from violentmonkey.
There's also a command to reload the tab without scripts in the ...
menu.
from violentmonkey.
This is by no means a solution. It even backfires. I explain. When what you advise is done then all scripts are disabled. Supposedly the scripts are disabled. But, when the situation is to look for exactly which script gives a defect/breaks a given page and then clicks "Open dashboard
" - on the same page - there all scripts are enabled. In practice, they should be disabled, but they are not. This is what I tested and it is not my desired option. Since we can see that all scripts are enabled - we still need to disable them one by one in order to specify exactly which script is giving a defect/breaking a given page.
@tophf, check with #2006 for example. Disable as you show it in the picture, then go to "Open dashboard
" and you will see that absolutely all scripts are enabled.
You have hastily closed the thread, but this is not a solution.
from violentmonkey.
Well, now with more info added I see the actual goal you had in mind, but I don't think we should add a feature for such a rare use case. WDYT, @gera2ld?
from violentmonkey.
Since our express goal is to keep the UI simple, what about implementing this feature implicitly: click one toggle then drag over the rest of them vertically without releasing the button to set the new state in one fell swoop? This is how standard apps behave, AFAIK.
from violentmonkey.
Maybe we should support repeated shortcuts, or a sequence of shortcuts from a string, which seems to be much more flexible (for an edge case that we don't want to put much effort in the UI).
from violentmonkey.
Practically Violentmonkey
extension has an excellent user interface that provides convenience, that's why I've been using this extension for years.
But...
Agree with me that youtube and facebook went too far long ago with the implementation of excessive amount of advertising. Accordingly, there are a bunch of user scripts to provide the desired convenience for users. In this case, we have a few - serving an excessive amount of ads and many users who have started using the necessary scripts to be able to use youtube and facebook comfortably. From this point of view, the available such scripts (I deliberately give an example with youtube and with facebook so that you understand me clearly) provide the desired user experience for users, but sometimes some scripts break the pages (either because of the need to update or because of...).
@tophf, from that point of view, what you had advised me - referring to the picture from your comment - is effectively disabling Violentmonkey
for the current page, not disabling the scripts. Accordingly, in my previous comment I argued that scripts for the current site were enabled, but Violentmonkey
was disabled.
I am detailing all this to provide a proper angle of view based on which you should consider adding such a feature/option to disable/enable all extensions. The user interface would thus provide another excellent feature.
You are a developer, but by not adding this feature, I understand and respect that, it's your extension, it's your right.
I'm providing you with a picture of who they are, how many there are, and how the scripts are arranged at my place to give you an idea.
from violentmonkey.
You don't have to convince me, I already understood. I'll try to implement click-n-drag solution and we'll see if it's viable.
from violentmonkey.
Actually, a more useful solution is called "bisecting" when you disable just the half of the items, which lets you find the answer in log2(totalNumberOfScripts)
steps i.e. for 16 enabled scripts it's 4 steps. I wonder if this is possible to implement in a user-friendly fashion? We could add this command to the ...
menu then.
from violentmonkey.
How about adding a "Batch Action" dropdown button to apply actions to all filtered scripts? So we can support batch toggle on/off, remove, update, etc. We can also add a custom field "tags" to enhance the searching feature, and also partially resolve the grouping feature requested a few times.
TBH I don't like the click-n-drag UX personally.
from violentmonkey.
Yeah I thought about adding a ...
menu to the group entry "Matched scripts", but we don't always show it...
from violentmonkey.
IMHO bisecting
is too hard to understand and use in a graphic UI. If we have to provide such a geek way, I suggest syncing all the script metadata with a textarea and let the user modify it.
- Show a popup with content like this:
# id enabled autoupdate script name 1 true false My awesome script 1 2 true false My awesome script 2
- user can modify it in any way
- click "Apply" to sync it back
from violentmonkey.
I see, you are talking about the popup window.
I think we should only implement such advanced features in the dashboard? BTW we could add a filter to filter scripts by whether it matches a URL, so we can easily get "Matched Scripts" in the dashboard and we just need a button "Filter matched scripts in the dashboard" in the popup.
from violentmonkey.
The popup already lists the matching scripts, which is why it makes sense to add this feature to the popup. Filtering by URL in the dashboard is something I added in another extension, so I agree it's occasionally convenient.
from violentmonkey.
Yeah it doesn't hurt to add such a button to the popup. I'm not against adding this one.
But the problem is, after adding this one, another one may be requested too. 😂
Besides, I think this is a rare case which doesn't have to complicate the popup window.
from violentmonkey.
I'll work on tags + searching enhancement + batch actions.
from violentmonkey.
Related Issues (20)
- [Feature] Export a Single Userscript HOT 2
- [BUG] Dropbox sync fails if script has an emoji (e.g. 🚧) in title HOT 1
- [BUG] Native Function bug (found in new VM only; everything OK in TM) [Firefox & Chrome] HOT 1
- [Feature] Can you backup&restore the last update time as well? HOT 1
- [BUG] Doesn't match `*://addons.mozilla.org/*` HOT 2
- Difference between @exclude and @exclude-match? HOT 1
- [BUG] Cannot edit script values in some mobile device due to UI layout issue HOT 3
- [BUG] Case-sensitive in the search field? HOT 2
- [Feature] Download BETA HOT 1
- [Feature] Custom Whitelist (Website Domain) for every userscript HOT 7
- [BUG] disable cache of @require HOT 1
- [BUG] GM.xmlHttpRequest arraybuffer bug on Brave beta HOT 13
- [Feature] use target site's cookie storage partition for cross-origin GM.xmlHttpRequest HOT 7
- [BUG] Import from URL not working when ViolentMonkey is installed on Kiwi browser HOT 4
- Script not active on drive.usercontent.google.com HOT 2
- [Feature] Custom Metadata - add support for @icon
- [BUG] UI
- [BUG] Can't create a new userscript HOT 1
- [BUG] GM_download does not ignore CORS in iframe [NSFW]
- [BUG] Impossible to access to ViolentMonkey settings from ViolentMonkey current webpage script list HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from violentmonkey.