I agree that a bookmarklet isn't an ordinary URL, but let's not quibble over terms. I know very well how a javascript: "URL" works; JavaScript is my original and most familiar programming language.
I now understand why a Google search is required, but, depending on what you want the bookmarklet to do, Firefox already has this functionality: http://lifehacker.com/software/geek-to-live/geek-to-live-fifteen-firefox-quick-searches-129658.php Would a GMarklet still do anything extra? Chris On Sat, Dec 27, 2008 at 4:43 AM, ekbworldwide <[email protected]>wrote: > > > Since I'm a complete newbie, please pardon my cluelessness... Why would > a > > bookmarklet be restricted to Google searches? > > Um... My idea is a hack to allow bookmarklets to be stored at google > bookmarks. > > > From what I've just read, > > bookmarklets contain URLs, which don't necessarily point to Google. > > Bookmarklets start with "javascript:" - they do *not* point to urls. > Google bookmarks only allows (as far as I know) urls. So if you > > save bookmarklet > save a bookmark that points to a local file > > After you close firefox and open it again the urls are erased and > replaced with about:blank > > The hack example... > > = The alert is "hidden" inside the google search > = The (unwritten) greasemonkey script sees that search starts with > "javascript:" and converts it to a bookmarklet > > ============ > new idea > The greasemonkey script could allow bookmarklets that point to a local > file. > ============ > > Q: Why would I want gmarks to use bookmarklets? > A: It would be great if I could have all my bookmarklets available at > google bookmarks. If I'm away from home - I can't access any > bookmarklet. > > > Can you give a usage example where Firefox's functionality is > > enhanced by such compatibility? > > Right now - I use >gt< for a google keyword torrent search > > possible searches > > gt "name_of_the_film" > gt "name_of_the_film" year > gt intitle:"name_of_the_film" > gt intitle:"name_of_the_film" year > gt intitle:"name_of_the_film" intitle:year > etc. > > What I wish I could do - allow gmarks to have a sort of "keyword plus" > search. > > Note > I haven't written this yet for ff bookmarks. In fact - I'm not sure if > it's possible to do via ff bookmarks and the address bar. > > If gmarks allowed bookmarklets I could type in the bookmarklet name in > quick search and have the bookmarklet allow me to decide which one of > those searches I wanted to do - on the fly. > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "GMarks" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/GMarks?hl=en -~----------~----~----~----~------~----~------~--~---
