add should make a new userscript instead of opening one

Bug #1525783 reported by Aneurin Hall
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Midori Web Browser
New
Undecided
Unassigned

Bug Description

the userscript plugin is really bad, but doesn't need to be.

the biggest problem is that the workflow to perform a two second hack like changing a color or removing a page element is needlessly obtuse, to whit:

1. open scratch and write script
2. open midori and userscript sidebar tab
3. click "add" and open script
4. close script in scratch, open it in scratch through midori
5. edit and debug script till it works.

Revision history for this message
Paweł Forysiuk (tuxator) wrote :

User addons plugins should monitor file changes so once you add it and enable it, upon edit and reload the page it should use updated version of userstyle/userscript. If this is not the case this would be a bug.

Note that file monitoring tends to be wonky on win32. But on linux it should work properly. Monitoring is done by glib, Midori just "listens" for file changes.

Add button is for adding local files. Maybe there should be a New button also that would have some script/style template? But i'm not sure if it such button would be wildly used.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.