is this correct or is there a trick im missing to add/remove/block
certain pages from my script?
> What was the reason for the change?
I'm sure that the august Anthony Lieuallen (frequent contributor to this
list and quite possibly the World's Leading Authority on the inner
workings of GM's code) could answer this in more depth, but it appears
from my reading of the long, long history of this change over on the
greasemonkey-dev list[1] that there were several reasons for this
change:
-- The feature was all but unused by any but the most technical
users, who represent a tiny sliver of the overall GM user base.
(Comment: Technical users are the ones most likely to promote
GM and make it more useful by writing user scripts. I saw this
point mentioned once or twice in the gm-dev discussions of the
change, but it didn't carry the day.)
-- I gather that some sensed that the UI of GM was too complicated
for the majority of "casual" users.
(Comment: Those of us griping on gm-users about this lost feature
may disagree, but we didn't "vote" when this was being argued on
gm-dev. Apparently, "you snooze, you lose" is the order of the
day. Then again, I have contributed not a single line of code to
GM itself, and in the open source software world, only
committers get a vote. Users can go fish. If you _really want to
feel like a second class citizen, try complaining about some
lost feature in Google Chrome: those developers are openly
hostile to any and all user input.)
-- Other browsers' "GM-like" features (such as Google Chrome's
support for user scripts as a kind of "poor man's extension") do
not maintain a separate database of includes and excludes (as GM
has done 'til now, in the form of the config.xml file) but
require "technical" users who want to change which sites a
script addresses to find and modify the scripts themselves.
(Comment: For as long as I've used Chrome, I have found this to
be the most irritating feature of Chrome's User Script support.
When I decide to update a script, I have to remember to save the
header out of the old version, then install the new version,
then edit the new version, etc, etc, etc. Very, very weak. GM
was light-years ahead on this, and has now fallen back into the
middle of the pack, as far as I'm concerned.)
-- Maintaining a database (in the form of config.xml) of includes
and excludes that is separate from the scripts themselves is
considered to be some sort of "bad form".
(Comment: Mixed feelings about this one — keeping the data
separate from the script is a bit awkward, but it did insulate
users from script updates losing their customizations.)
I hope this helps. If I got it terribly wrong, I hope that someone who
knows the arguments better than I do will correct me.
Generally correct. Plus the long standing issue of the strange fact
that Greasemonkey would always re-load changed source code, but not
changed metadata, when the file is (e.g.) edited. Now, any change to
the whole file is read and used, including adding a @resource or
@require (a feature that I find very useful).
> I have contributed not a single line of code to
> GM itself, and in the open source software world, only
> committers get a vote
The tone of your message was overly adversarial, and that's not helpful.
We're all volunteers here, cheerfully giving away our time and asking
nothing in return.
Towards that end, you might note that there are 474 members of the -dev
list, while there have only been 30 committers to Greasemonkey over its
entire life (quick'n dirty count from git commit log, it might be off a
tad). You don't have to write code to participate. I try very hard to
make sure discussion happens on the -dev list, so that everyone can
weigh in.
There's also 2270 members on this (-users) list, and this change was
revealed via a preview build here, no later than November 27th, 2010
[1]. There was a little back and forth, mostly with one user that
didn't understand at first, then said "Oh wow. This is a good change."
Again, I always try to include the community, but my time is valuable,
so there's only so much I can do.
[1] http://groups.google.com/group/greasemonkey-users/msg/67f049a81103608c
Dave Land escribi�:
> On Feb 7, 2011, at 7:39 AM, GrayFace wrote:
...
> I'm sure that the august Anthony Lieuallen (frequent contributor to this
...
> workings of GM's code) could answer this in more depth, but it appears
...
> greasemonkey-dev list[1] that there were several reasons for this change:
>
> -- The feature was all but unused by any but the most technical
> users, who represent a tiny sliver of the overall GM user base.
...
> -- I gather that some sensed that the UI of GM was too complicated
> for the majority of "casual" users.
...
> -- Other browsers' "GM-like" features (such as Google Chrome's
> support for user scripts as a kind of "poor man's extension") do
> not maintain a separate database of includes and excludes (as GM
...
> (Comment: For as long as I've used Chrome, I have found this to
> be the most irritating feature of Chrome's User Script support.
> When I decide to update a script, I have to remember to save the
> header out of the old version, then install the new version,
> then edit the new version, etc, etc, etc. Very, very weak. GM
> was light-years ahead on this, and has now fallen back into the
> middle of the pack, as far as I'm concerned.)
Completely agreed on that, but I can see all of the above points, an I share
them to a certain extent.
> -- Maintaining a database (in the form of config.xml) of includes
> and excludes that is separate from the scripts themselves is
> considered to be some sort of "bad form".
...
> I hope this helps. If I got it terribly wrong, I hope that someone who
> knows the arguments better than I do will correct me.
Not me, certainly.
As I see it, GM shouldn't modify any files on its own, so editing the scripts
without user intervention (i.e. when updating, to keep old includes and
excludes) is a no-no; OTOH GM developers don't want to keep the
includes/excludes data in a database separate from the scripts--well, I'm not
completely OK with that, but I could live with it if...
What GM could do (or the developers be kindly asked to implement) to make
everyone lives' easier when being updated, OR updating scripts is to compare the
old include/exclude rules, either from the XML DB or scripts themselves, with
the new ones when updating a script, and tell the user that he needs to manually
update it.
Just an idea.
Regards,
I agree.
> ... GM could ... tell the user that he needs to manually update it.
Let's say that a site rearranges their URL structure, and there's an
update to a script, to change the old @includes to match the new URLs.
Should the user be bothered about this? The list of includes in the
installed script, and the new script to be installed, are different.
> On 02/07/11 13:31, Dave Land wrote:
>> there were several reasons for this change
>
> Generally correct. Plus the long standing issue of the strange fact
> that Greasemonkey would always re-load changed source code, but not
> changed metadata, when the file is (e.g.) edited. Now, any change to
> the whole file is read and used, including adding a @resource or
> @require (a feature that I find very useful).
Thank you: This sounds like the strongest argument for the change.
Sorry I didn't acknowledge it before.
>> I have contributed not a single line of code to
>> GM itself, and in the open source software world, only
>> committers get a vote
>
> The tone of your message was overly adversarial, and that's not
> helpful. We're all volunteers here, cheerfully giving away our time
> and asking nothing in return.
Similarly, I found your responses to be overly defensive, hence
equally unhelpful. Maybe we can just lay that to rest? I've tried to
express my appreciation in every message in this thread, though
apparently without benefit.
If I come across as adversarial, I am a "no compromises" user
experience guy. I side with end-users to the perpetual annoyance of
developers whose job I make harder in the process :-). Having worked
at Apple in the '90s, perhaps I too strongly embraced the company's
"no compromises" mentality of those days.
> Towards that end, you might note that there are 474 members of the -
> dev list, while there have only been 30 committers to Greasemonkey
> over its entire life (quick'n dirty count from git commit log, it
> might be off a tad). You don't have to write code to participate.
> I try very hard to make sure discussion happens on the -dev list, so
> that everyone can weigh in.
I recently joined the -dev list, will try to contribute there, as
kindly as possible. I hope my opinions won't always be viewed as
overly adversarial.
Dave
> Is there a better way?
> YES!
> The script author could add a mechanism in the script, where it could
> ask the user what entities to run on, and save that list via
> GM_setValue. The script would be have an @include to run on the entire
> website in question, but then one of the first lines of code would be
> a conditional that exits immediately if the document.location is not
> on the previously saved list.
>
> The point is, instead of looking at the changes in Greasemonkey, maybe
> there are changes that can be made to the script(s) that would
> eliminate the problem.
Or — and I'm wondering if this is even possible — one or more of us
could write a script or an extension that would let the (vanishingly
few) GM power users restore this functionality. Those of us who don't
like the change can take it upon ourselves to "fix" it, instead of
running down the good people who made Greasemonkey something worth
getting all heated up about.
Dave
Of course. I'd prefer to be warned, check it, and realize there's no need to do
anything than the other way round. One easy way to make everyone happy about
this would be an appropriately labeled checkbox in the UI.
I already suggested this approach a couple of days ago[1], but I'm too
lazy to file a bug. Maybe you want to show more involvement? ;-) I
promise I'll vote for it.
[1] http://groups.google.com/group/greasemonkey-users/msg/e381d40cf27432e3
I missed you suggestion. Anyway, I'm a stranger in a strange land here, so
that's not very likely; I run a version of GM modified to run on SeaMonkey
(which I find more convenient than FireFox) so I have enough issues to take care
of on my own.
On 8 фев, 02:59, Lil Devil <devil.an...@gmail.com> wrote:
>
>> It's telling that out of about 3 million active users of Greasemonkey,
> we've only seen a dozen or so users complaining about this change.
>> That tells us that very few users (less than 0.001%) have a need to
>> edit the list of sites and/or pages a script runs on.
>
>In fact it doesn't. You don't count all the people that silently
>rolled back to the old version, complained on local forums or saw
>complaints of others and decided not to install new version etc. There
>are 2270 registered people here, 3 of them (>0.1%) are complaining in
>this single thread.
Without being adversarial, I'd like to add my voice to those users
complaining
about the change.
>> So let's look at this another way. *Why* do these users need to change
>> the @includes?
>
>I change this for "Black text on white background" script. I apply it
>to sites that use white text on black background.
This is precisely what I use Greasemonkey for.
I have a question, tho: clearly, my version of Greasemonkey (which
I *think* is the latest but there seems to be no way to access a
version number) has remembered my list of websites for my 'Change
text background to gray' script; this script is still active on website I
told it to act upon, and only those websites. However, I have no way
of accessing the list or change it now that the 'Manage User Scripts'
option has been moved into Firefox's 'Add-ons' window. Where are they?
--
View this message in context: http://old.nabble.com/Manage-User-scripts-tp30852744p30972449.html
Sent from the GreaseMonkey List mailing list archive at Nabble.com.
I have a question, tho: clearly, my version of Greasemonkey (which
I *think* is the latest but there seems to be no way to access a
version number)
has remembered my list of websites for my 'Change
text background to gray' script; this script is still active on website I
told it to act upon, and only those websites. However, I have no way
of accessing the list or change it now that the 'Manage User Scripts'
option has been moved into Firefox's 'Add-ons' window. Where are they?
Sounds like a bug. Have you read:
http://www.greasespot.net/2011/01/greasemonkey-091-release.html
(known issues)?
We have to be a bit dirty with it (it's a dirty problem) but I expect we
can at least work around the issue Personas creates. (On the other
hand, AFAIK that extension's functionality is built into Firefox 3.6+,
so there's no reason to have it installed.)