A bookmarklet is an applet An applet is any small application that performs one specific task; sometimes running within the context of a larger program, perhaps as a plugin. However, the term typically also refers to programs written in the Java programming language which are included in an HTML page. The word Applet originally comes from the application AppleScript.[, a small computer application, stored as the URL In computing, a Uniform Resource Locator is a subset of the Uniform Resource Identifier (URI) that specifies where an identified resource is available and the mechanism for retrieving it. In popular usage and in many technical documents and verbal discussions it is often incorrectly used as a synonym for URI, the best-known example of which is the of a bookmark In the context of the World Wide Web, a bookmark is a locally stored Uniform Resource Identifier . All modern web browsers include bookmark features. Bookmarks are called favorites or Internet shortcuts in Internet Explorer, and by virtue of that browser's large market share, these terms have been synonymous with bookmark since the first browser in a web browser A web browser is a software application for retrieving, presenting, and traversing information resources on the World Wide Web. An information resource is identified by a Uniform Resource Identifier and may be a web page, image, video, or other piece of content. Hyperlinks present in resources enable users to easily navigate their browsers to or as a hyperlink In computing, a hyperlink is a reference to a document that the reader can directly follow, or that is followed automatically. The reference points to a whole document or to a specific element within a document. Hypertext is text with hyperlinks. Such text is usually viewed with a computer. A software system for viewing and creating hypertext is a on a web page A webpage or web page is a document or resource of information that is suitable for the World Wide Web and can be accessed through a web browser and displayed on a computer screen. The term is a portmanteau A portmanteau (pronounced /pɔrtmænˈtoʊ/ ) or portmanteau word is used broadly to mean a blend of two (or more) words or morphemes and their meanings into one new word, and narrowly in linguistics fields to mean only a blend of two or more function words of the terms bookmark and applet. Whether bookmarklet utilities Utility software is a kind of system software designed to help analyze, configure, optimize and maintain the computer. A single piece of utility software is usually called a utility or tool are stored as bookmarks or hyperlinks, they are designed to add one-click functionality to a browser or web page. When clicked, a bookmarklet performs some function, one of a wide variety such as a search query or data extraction. Usually the applet is a JavaScript JavaScript is an object-oriented scripting language used to enable programmatic access to objects within both the client application and other applications. It is primarily used in the form of client-side JavaScript, implemented as an integrated component of the web browser, allowing the development of enhanced user interfaces and dynamic websites program Computer programs are instructions for a computer. A computer requires programs to function, typically executing the program's instructions in a central processor. The program has an executable form that the computer can use directly to execute the instructions. The same program in its human-readable source code form, from which executable.

Contents

Concept

Web browsers use URIs In computing, a Uniform Resource Identifier is a string of characters used to identify a name or a resource on the Internet. Such identification enables interaction with representations of the resource over a network (typically the World Wide Web) using specific protocols. Schemes specifying a concrete syntax and associated protocols define each for the href attribute of the <a> tag and for bookmarks. The URI scheme In the field of computer networking, a URI scheme is the top level of the Uniform Resource Identifier naming structure. All URIs and absolute URI references are formed with a scheme name, followed by a colon character (":"), and the remainder of the URI called (in the outdated RFCs 1738 and 2396, but not the current STD 66/RFC 3986) the, such as http:, file:, or ftp:, specifies the protocol and required form for the rest of the string. Browsers also implement a prefix javascript: that to a parser is just like any other URI. Internally, the browser sees that the protocol is javascript, treats the rest of the string as javascript code which is then executed, and uses the resulting string as the new page.

The executing script has access to the current page, which it may inspect and change. If the script returns an undefined type rather than a string, the browser will not load a new page, with the result that the script simply runs against the current page content. This permits in-place font size and color changes, for example, without a page reload.

Usage

Bookmarklets are saved and used as normal bookmarks. As such, they are simple "one-click" tools which add functionality to the browser. For example, they can:

"Installation of a bookmarklet" is performed by creating a new bookmark, and pasting the code into the URL destination field. Alternatively, if the bookmarklet is presented as a link, under some browsers it can be dragged and dropped onto the bookmark bar. The bookmarklet can then be run by loading the bookmark normally.

History

Steve Kangas of bookmarklets.com coined the term "bookmarklet",[1] which he started to create based on an idea suggested in the Netscape Netscape Communications is a US computer services company, best known for its web browser. When it was an independent company, its headquarters were in Mountain View, California JavaScript Guide. The term favelet was used early on by Tantek Çelik Tantek Çelik, of San Francisco, is a computer scientist of Turkish-American descent[citation needed] and was the Chief Technologist at Technorati.. He is one of the principal editors of several CSS Specifications on 6 September 2001 (personal email). Brendan Eich Brendan Eich (born 1964) is a computer programmer and creator of the JavaScript programming language. He is the Chief Technology Officer at the Mozilla Corporation, who developed JavaScript JavaScript is an object-oriented scripting language used to enable programmatic access to objects within both the client application and other applications. It is primarily used in the form of client-side JavaScript, implemented as an integrated component of the web browser, allowing the development of enhanced user interfaces and dynamic websites at Netscape, gave this account of the origin of bookmarklets:

They were a deliberate feature in this sense: I invented the javascript: URL along with JavaScript in 1995, and intended that javascript: URLs could be used as any other kind of URL, including being bookmark-able.

In particular, I made it possible to generate a new document by loading, e.g. javascript:'hello, world', but also (key for bookmarklets) to run arbitrary script against the DOM of the current document, e.g. javascript:alert(document.links[0].href). The difference is that the latter kind of URL uses an expression that evaluates to the undefined type in JS. I added the void operator to JS before Netscape 2 shipped to make it easy to discard any non-undefined value in a javascript: URL.

Brendan Eich , email to Simon Willison[2]

Example

This example bookmarklet performs a Wikipedia search on any highlighted text in the web browser window. In normal use, the following Javascript would be installed to a bookmark in a browser[3] bookmarks toolbar. From then on, after selecting any text, clicking the bookmarklet performs the search.

javascript:s=document.getSelection();for(i=0;i<frames.length;i++){if(s)break;s=frames[i].document.getSelection();} if(!s)void(s=prompt('Enter%20search%20terms%20for%20Wikipedia',''));if(!s=="")wikiw=open('http://en.wikipedia.org/'+(s?'w/wiki.phtml?search='+escape(s):''));wikiw.focus();

See also

References

  1. ^ Domain bookmarklets.com registered 9 April 1998
  2. ^ Willison, Simon (April 10th, 2004). "Email from Brendan Eich". SitePoint SitePoint Pty. Ltd is a Melbourne, Australia based publisher of books and websites. It is best known for its web developer books and online magazine. http://www.sitepoint.com/blogs/2004/04/09/bookmarklets/#comment-3424. Retrieved 22 April 2007.
  3. ^ Tested on Mozilla Firefox Mozilla Firefox is a free and open source web browser descended from the Mozilla Application Suite and managed by Mozilla Corporation. A Net Applications statistic put Firefox at 24.43% of the recorded usage share of web browsers as of January 2010[update], making it the second most popular browser in terms of current use worldwide after Microsoft', Opera Opera is a web browser and Internet suite developed by the Opera Software company. The browser handles common Internet-related tasks such as displaying web sites, sending and receiving e-mail messages, managing contacts, chatting on IRC clients, downloading files via BitTorrent, and reading Web feeds. Opera is offered free of charge for personal, Safari Safari is a web browser developed by Apple. First released as a public beta on January 7, 2003 on the company's Mac OS X operating system, it became Apple's default browser beginning with Mac OS X v10.3 "Panther." Safari is also the native browser for the iPhone OS. A version of Safari for the Microsoft Windows operating system, first, and Chrome Google Chrome is a web browser developed by Google that uses the WebKit layout engine and application framework. It was first released as a beta version for Microsoft Windows on 2 September 2008, and the public stable release was on 11 December 2008. The name is derived from the graphical user interface frame, or "chrome", of web. Does not work in IE7 or IE8. Original source: Alex Boldt

External links

Categories: Web development

 

The above information uses material from Wikipedia and is licensed under the GNU Free Documentation License The purpose of this License is to make a manual, textbook, or other functional and useful document "free" in the sense of freedom: to assure everyone the effective freedom to copy and redistribute it, with or without modifying it, either commercially or noncommercially. Secondarily, this License preserves for the author and publisher a.
Some facts may not have been fully verified for accuracy. [Disclaimers Wikipedia is an online open-content collaborative encyclopedia, that is, a voluntary association of individuals and groups working to develop a common resource of human knowledge. The structure of the project allows anyone with an Internet connection to alter its content. Please be advised that nothing found here has necessarily been reviewed by]
This page was last archived by our server on Sat Jan 23 15:20:28 2010. [ refresh local cache ]
Displaying this page or its contents does not use any Wikimedia Foundation's resources.
The owners of this site proudly support the Wikimedia Foundation.


Ilegalni pochybnosti o ervenem tla itku - LUPA
news.google.com
Ilegalni pochybnosti o ervenem tla itku

LUPA

Do toho za alo byt z ejme, e software o podobne vykonnosti lo vytvo it jako javascriptovy bookmarklet , ktery by mohl fungovat ve vice prohli e ich i ...



and more &raquo;
Google News Search: Bookmarklet,
Sun Feb 21 05:47:16 2010
bookmarklet fbat png
henrik.nyh.se
bookmarklet fbat png
315px x 500px | 109.60kB

[source page]

4 912 bytes when URL encoded does this make it a regular bookmark A supermarklet that uses the Flickr jsonp api to look up the names of full size images Output can be provided as linked HTML images linked HTML images within a LiveJournal LJ cut or forum BBCode Unlike that of the old bookmarklet the output

Yahoo Images Search: Bookmarklet,
Fri Feb 19 22:42:56 2010
 Bookmarklet As App Store Paid App
mobileorchard.com
Bookmarklet As App Store Paid App

Dan Grigsby

ue, 26 Jan 2010 16:49:22 GM

Mobile Safari, like any modern browser, supports . bookmarklets. . . Bookmarklets. are compact blurbs of JavaScript saved as a bookmark. When you navigate to a JavaScript bookmark the browser simply executes the JavaScript in the current page. ...

Google Blogs Search: Bookmarklet,
Fri Feb 19 22:43:07 2010
What is meant by bookmarklet blogging?
Q. What is meant by bookmarklet blogging?
Asked by Mohamed S - Wed Mar 28 11:41:13 2007 - - 1 Answers - 0 Comments

A. I think it's where you store your favourite links...
Answered by MARCO - Sun Apr 1 03:50:56 2007

Yahoo Answers Search: Bookmarklet,
Fri Feb 19 22:43:18 2010