Talk:Bookmarklet
This article is rated C-class on Wikipedia's content assessment scale. It is of interest to the following WikiProjects: | ||||||||||||||||||||||||
|
This article links to one or more target anchors that no longer exist.
Please help fix the broken anchors. You can remove this template after fixing the problems. | Reporting errors |
Intro
[edit]I tried to rewrite the intro to be more clear. Any constructive suggestions or help will be appreciated. John Harvey (talk) 01:16, 9 December 2007 (UTC)
Q&A: How to make a bookmarklet
[edit]Forgive my blatent lack of wiki manners, I am a longtime wikipedia user, but a first time contributor. I want to create a javascript-based link inside my wiki that can be dragged into the Bookmarks bar of the browser. How do I format the wikitext in order to display a "clickable" javascript link on the resulting page, much like Google's examples here?
All of the examples I've seen, including this Wikipedia article, list the raw javascript and advise users to manually create a new bookmark and paste the text into it. That's not user-friendly enough for me (and judging by the comment in this Talk article farther down, not user-friendly enough for other people as well). Any help in correctly formatting the wikitext to display a javascript bookmarklet as a hyperlink would be greatly appreciated.
Please also forgive me if this isn't the approriate place to request this type of assistance. --Beporter 14:39, 27 October 2006 (UTC)
- Hi Beporter - you may wish to try posting to one of the Wikipedia:Help desk pages - you'll likely get more eyes on your question there. Specifically, try Wikipedia:Reference desk/Computing. Hope this helps --AbsolutDan (talk) 23:23, 27 October 2006 (UTC)
- Many thanks AbsolutDan! For those interested in following this question, you can read my question here: Proper Wikitext to Display a Javascript-only Hyperlink? --Beporter 15:51, 30 October 2006 (UTC)
- Sadly that link to your question has long since expired. --71.171.118.196 (talk) 13:47, 22 December 2008 (UTC)
- Archive link is: Proper Wikitext to Display a Javascript-only Hyperlink?. --Beporter (talk) 17:00, 17 February 2010 (UTC)
The Firefox bookmarklet uses document.getSelection, which no longer works, being deprecated in favor of window.getSelection.
"Wikipedia offers a good introduction, although it gets techie a little bit too quickly" —Wall Street Journal Asia, November 25, 2005
Shoulda read that formatting page better ;)
Thanks
- Oh, you'll get used to it. Despite our best efforts, the wiki formatting syntax isn't too difficult. :) Welcome aboard! --Brion
Those External Link descriptions are uuuuuuuuuuuglyyyyyyyyyyyyyy! -- Zoe
- They are very descriptive. --Menchi 22:18, 9 Apr 2004 (UTC)
The example bookmarklet doesn't seem to work.
Is it designed for a specific browser, or is it just written oddly?
Not sure.
Using Safari (mac), and when I C/P it into a link, it doesn't exactly do anything. I'm wondering if breaking it into 2 lines did anything.
"favlets or favelets (the term was invented by Tantek Çelik on 2001-09-06 (personal email))"
Please explain why this is here.
If the term is not used (I never heared it), why is it in the entry?
How can you be sure that guy (women?) invented the term... It's a pretty obvious connection of silables in that context - that lets one suspect that it is *so* uncommonly used, that he was the only one ever using that term in "a personal email"? That sentence sounds strange for an encyclopedia anyways.... Iridos 19:43, 9 August 2005 (UTC)
Could you please explain the example in more detail
[edit]Hello
Do you mind do exmplain the examples in more detail.
What I am supposed to do with these lines
--8<---------------cut here---------------start------------->8---
javascript:(function(){q=document.getSelection(); if(!q){void(q=prompt('Wikipedia keywords:',))}; if(q)location.href='http://en.wikipedia.org/w/wiki.phtml?search='+escape(q)})() --8<---------------cut here---------------end--------------->8---
To save in a file and then make a link to that file or what?
Thanks
Uwe Brauer
Many bookmarklets no longer work
[edit]Many of the links in this article go to websites which haven't been updated in years, and many of the bookmarklets listed on many of them no longer work. This is because, with each version of Internet Explorer which comes out, microsoft has been weakening the ability of bookmarklets. Earlier versions allowed 2000+ character bookmarklets, the latest version of IE only allows them to be 488 characters in length. According to this page http://subsimple.com/bookmarklets/rules.asp microsoft will be fixing this in IE 7, but for now, many bookmarklets simply don't work anymore. --Xyzzyplugh 01:17, 16 August 2006 (UTC)
508 or 488, IE 6.0 has limits on bookmarklet characters
[edit]better reference I think we should mention this in the article. I was trying to research this very subject.
- If you look at the bottom of the page from that link, you'll see "Last modified May 13, 2004", which is ancient by web standards. Lots of the bookmarklets webpages haven't been updated in years. --Xyzzyplugh 02:41, 17 August 2006 (UTC)
External links section
[edit]I have removed the External links section completely, as it contained nothing but links to Bookmarklet products. Wikipedia is not a linkfarm. --AbsolutDan (talk) 13:13, 18 October 2006 (UTC)
Simplifying installation
[edit]I'm adding one-line versions of each example to simplify installation. And noting that usually, on HTML-based non-Wiki pages, bookmarklets can simply be dragged to the Links bar, or Bookmarks Toolbar, for one-step installation. —The preceding unsigned comment was added by Lexein (talk • contribs) 08:24, 18 April 2007 (UTC).
- I removed the IE-specific instructions previously. Added the link to the "source unknown" Eich quote found here. --Lexein 13:54, 24 April 2007 (UTC)
Portmanteau?
[edit]The term is a portmanteau of the terms bookmark and applet
Is it? I thought the -let suffix is quite common in English, see 'starlet', 'wavelet', etc. 83.22.166.71 (talk) 13:17, 9 January 2008 (UTC)
- It's commonly noted around the web that it's a portmanteau, it's tough to say if that's because of this article though. I used a Google search for pages before the year 2000 and found a usage that gave that explanation, albeit in Czech. I added it as a reference and removed the citation needed template. Phette23 (talk) 05:39, 29 March 2013 (UTC)
the one reference
[edit]The one reference actually provided here is an email, in a blog comment. On the reliability scale, its right up there with crazy guy screaming on the corner. The article is going to need something a little more solid than that.--Crossmr (talk) 01:38, 26 November 2008 (UTC)
Example
[edit]In an ongoing slow edit war,
- examples are added, perhaps even written to sound encyclopedic.
- edits are done for "ease of use", which results in a step-by-step guide, which WP is not.
- deletions are done, rather than just revertions or rewrites.
One clear example is both necessary and sufficient. The current 'Search Wikipedia' example works in Firefox, Opera, Safari, and is described encyclopedically, and is cited. --Lexein (talk) 15:52, 3 July 2009 (UTC)
External links cleanup
[edit]Cleaning ad-looking external link.
AFAIK, this this page should contain external links to resources about bookmarklets, but not to bookmarklets itself.
For list of links to/and individual bookmarklets should be created a separate page.
Desummoner (talk) 01:31, 7 December 2009 (UTC)
Example bookmarklet not working on Chrome
[edit]Using Chrome 5.0.375.38 beta on Ubuntu 10.04. Clicking the example bookmarklet without selecting any text opens a new Wikipedia search page with nothing in the search box instead of the input dialog. I fixed it for Chrome before (http://en.wikipedia.org/w/index.php?title=Bookmarklet&oldid=351398933), but it got reverted. What browsers don't work with my version? Blue Em (talk) 10:43, 15 May 2010 (UTC)
- IE doesn't know the
getSelection
function. Amalthea 18:16, 15 May 2010 (UTC)- I Fixed it for Chrome by changing
if (!s)
toif (!s || s=='')
. I doubt that will break anything in other browsers. But if it does, feel free to revert it. --Blue Em (talk) 05:45, 6 June 2010 (UTC)
- I Fixed it for Chrome by changing
document.selection is not a defined object and fields[0] is undefined in mozilla and chrome 74.104.121.162 (talk) 19:16, 20 May 2015 (UTC)Mark
History of Bookmarklets
[edit]Want more history. What was the first company to use this? In the past few years, a lot of web apps now offer a bookmarklet. I didn't start seeing this until 2007, so I was curious what the first companies were to take advantage of this "favlet" technology. — Preceding unsigned comment added by 64.134.162.8 (talk • contribs) 23:49, 27 April 2011
- IIRC (roughly 1998) and oddly NetScape used the name bookmark for bookmarks and favlet for bookmarklets, while Internet Explorer used favorite for bookmarks and bookmarklet for bookmarklets. Wild guess, both tried an uncommon term for these beasts. Strange times, Netscape's browser engine was called mozilla, the predecessor of gecko used by Mozilla and later Firefox.
- The page here didn't mention favlet at all, and favlet was redirected to Bookmark (World Wide Web)#Bookmarklets) instead of bookmarklet, I tried to fix that. –84.46.52.12 (talk) 23:16, 13 February 2018 (UTC)
Tested in IE9
[edit]""^ Tested on Mozilla Firefox, Opera, Safari, and Chrome. Does not work in IE7 or IE8. Original source: Alex Boldt"" Working in internet explorer 9 windows7 — Preceding unsigned comment added by 86.111.197.50 (talk) 08:39, 20 December 2011 (UTC)
Where to publish they and Services which support links with the «javascript:» protocol
[edit]1) There are no services (blogs, url shorteners, etc.) which supports the «javascript:» protocol? If the such services are exists, it is the good idea to add they into the Links section (because it's very hard to find they).
2) We need more services in links, which allow to publish bookmarklets.
applet versus app versus whatever
[edit]", however, an applet is not to be confused with a bookmarklet, just as script written in JavaScript is not to be confused with a script written in Java."
Whatever does this add ? If the reader sees the script as ECMAScript the "confusion" does not exist.
My family name in the USA ( my cousins ) is Shifflet ... should I add "not to be confused with Schiff" ? (unrelated name)
G. Robert Shiplett 13:21, 30 July 2012 (UTC)
- Bookmarklets are rare. Applets are scarce, JavaScript supplied server-side is common. It is necessary to distinguish between these, particularly as the name of bookmarklets is derived from the unrelated applet. Andy Dingley (talk) 13:34, 30 July 2012 (UTC)
Translate into actual English?
[edit]Language like "Web browsers use URIs for the href attribute of the <a> tag and for bookmarks" might as well be written in code for the ordinary user. I realize that technical terms require technical terminology; but this one is pretty opaque for the non-programmer layperson. --Orange Mike | Talk 20:38, 20 November 2012 (UTC)
Long quote
[edit]Do we really need the long quote in section History? --Mortense (talk) 09:48, 15 January 2013 (UTC)
Braahma
[edit]Braahma — Preceding unsigned comment added by 203.129.205.164 (talk) 09:36, 6 February 2013 (UTC)
External links modified
[edit]Hello fellow Wikipedians,
I have just modified one external link on Bookmarklet. Please take a moment to review my edit. If you have any questions, or need the bot to ignore the links, or the page altogether, please visit this simple FaQ for additional information. I made the following changes:
- Added archive https://web.archive.org/web/20160304060405/http://www.pcmag.com/print_article2/0,1217,a=116252,00.asp to http://www.pcmag.com/print_article2/0,1217,a=116252,00.asp
When you have finished reviewing my changes, please set the checked parameter below to true or failed to let others know (documentation at {{Sourcecheck}}
).
An editor has reviewed this edit and fixed any errors that were found.
- If you have discovered URLs which were erroneously considered dead by the bot, you can report them with this tool.
- If you found an error with any archives or the URLs themselves, you can fix them with this tool.
Cheers.—InternetArchiveBot (Report bug) 23:50, 5 November 2016 (UTC)
- That would require an earlier version…
https://web.archive.org/web/20091122063627/http://www.pcmag.com/article2/0%2C2817%2C1434588%2C00.asp
- …but this dubious external link was already removed, good riddance. –84.46.52.178 (talk) 21:06, 1 March 2018 (UTC)
Maintenance and rating of JavaScript articles
[edit]Concerning editing and maintaining JavaScript-related articles...
Collaboration...
[edit]If you are interested in collaborating on JavaScript articles or would like to see where you could help, stop by Wikipedia:WikiProject JavaScript and feel free to add your name to the participants list. Both editors and programmers are welcome.
Where to list JavaScript articles
[edit]We've found over 300 JavaScript-related articles so far. If you come across any others, please add them to that list.
User scripts
[edit]The WikiProject is also taking on the organization of the Wikipedia community's user script support pages. If you are interested in helping to organize information on the user scripts (or are curious about what we are up to), let us know!
If you have need for a user script that does not yet exist, or you have a cool idea for a user script or gadget, you can post it at Wikipedia:User scripts/Requests. And if you are a JavaScript programmer, that's a great place to find tasks if you are bored.
How to report JavaScript articles in need of attention
[edit]If you come across a JavaScript article desperately in need of editor attention, and it's beyond your ability to handle, you can add it to our list of JavaScript-related articles that need attention.
Rating JavaScript articles
[edit]At the top of the talk page of most every JavaScript-related article is a WikiProject JavaScript template where you can record the quality class and importance of the article. Doing so will help the community track the stage of completion and watch the highest priority articles more closely.
Thank you. The Transhumanist 01:06, 12 April 2017 (UTC)
§ Usage § Example: character set
[edit]It would be useful if someone added proper crossbrowser code for obtaining character set info – document.inputEncoding, document.characterSet (non IE), document.charset, document.defaultCharset (IE) — Preceding unsigned comment added by 2A01:11CF:316:FD00:7CD2:B540:9233:4710 (talk) 14:41, 7 June 2020 (UTC)