[Greasemonkey] MagicLine

Jason Schramm jason.schramm at gmail.com
Fri Aug 5 23:00:53 EDT 2005


Valid points. I mainly don't like having to hit three keys all the
time in order to run the script.

On 8/5/05, chris feldmann <cfeldmann at gmail.com> wrote:
> On 8/5/05, Jason Schramm <jason.schramm at gmail.com> wrote:
> > I think it would be better as an extension, or a toolbar. Then you
> > could just enter terms in the bar, as if you were searching in one
> > page.
> 
>  Personally, I already have too many toolbars (three: menu, URL,
> webdeveloper), and am loath to add another because that's less real estate
> for the web, which is why I'm looking at this interface in the first place
> after all. One of the first things I did with greasemonkey is convert all my
> bookmarklets (except js shell, which I keep in my dropdown bookmarks) so I
> could get rid of that damn toolbar. In fact, I pass up many extensions
> exactly because they are so arrogant as to think they deserve a permanent
> place impinging on my viewscreen (see google toolbar).
>  
>  This script's interface is to my mind especially slick, reminicent of some
> nice features of Tiger (by design, I imagine), and it works, too. When
> you're typing in a query, you don't really need to be interacting with the
> website you were looking at before, so it makes sense to *temporarily* take
> control of the viewscreen. Make it an extension if you must, I say, but keep
> the interface. It's nice as is.
>  
>  (I suppose a XUL dialog would be ok, but they are rather ugly. And a dime a
> dozen.)
>  
>   
> > 
> > -Jason
> > 
> > On 8/2/05, Mark Pilgrim <pilgrim at gmail.com > wrote:
> > > So anyway, this is what I was working on just before the recent
> > > security unpleasantness.  Consider this a preview of "Greasemonkey
> > > Hacks".  Not all the hacks are this good; some of them are even 
> > > better.
> > >
> > >
> http://diveintomark.org/projects/greasemonkey/magicline.user.js
> > >
> > > It tracks your browsing and collects 
> > > - page URLs
> > > - page titles
> > > - referrers
> > > - Author, description, keywords from <meta> tags
> > > - Technorati tags from rel="tag" links
> > > - XFN links
> > > - autodiscovered RSS/Atom feeds 
> > > - autodiscovered FOAF files
> > >
> > > Then you can press Control + Shift + L anywhere to get the MagicLine
> > > prompt.  Start typing, and it autocompletes based on all the data it's
> > > collected so far. 
> > >
> > > Example: visit http://philringnalda.com/ and then type "mark" into the
> > > MagicLine prompt.  MagicLine autocompletes my name and my home page
> > > because it parsed them from Phil's FOAF file.  (MagicLine currently 
> > > caches FOAF files forever.)
> > >
> > > Another example: visit http://del.icio.us/popular/ and then type part
> > > of the title of one of the links into the MagicLine prompt.  MagicLine 
> > > autocompletes the title and URL, because all pages on del.icio.us have
> > > autodiscoverable RSS feeds.  (MagicLine caches RSS feeds for 24
> > > hours.)
> > >
> > > Downside: no UI for options yet.  Also, it stores everything with 
> > > GM_setValue, which stores everything in prefs.js.  Browsing gets a bit
> > > slow after you have about 1000 saved items, and you'll need to clean
> > > out your prefs.js file manually.  I still like it though, as an 
> > > example of how far Greasemonkey can go.  The next step (in my copious
> > > free time) will probably be to make an extension out of it so it can
> > > use a more scalable storage mechanism.
> > >
> > > Oh, and it works in Deer Park. :)  Enjoy. 
> > >
> > > --
> > > Cheers,
> > > -Mark
> > > _______________________________________________
> > > Greasemonkey mailing list
> > > Greasemonkey at mozdev.org
> > > http://mozdev.org/mailman/listinfo/greasemonkey
> > >
> > _______________________________________________
> > Greasemonkey mailing list
> > Greasemonkey at mozdev.org
> > http://mozdev.org/mailman/listinfo/greasemonkey
> > 
> 
>  
> _______________________________________________
> Greasemonkey mailing list
> Greasemonkey at mozdev.org
> http://mozdev.org/mailman/listinfo/greasemonkey
> 
> 
>


More information about the Greasemonkey mailing list