Bookmarklets: Difference between revisions View history

imported>Kentsmith9
m (Kentsmith9 moved page Bookmarklet to Bookmarklets: Making plural)
imported>Kentsmith9
(Initial content)
Line 1: Line 1:
{{construction
{{construction
| contact    = URL of forum or user
| contact    = http://www.waze.com/forum/viewtopic.php?f=276&t=94974
| contacttype = forum
| contacttype = forum
| draft      = yes
| draft      = yes
| open        = nyes}}
| open        = yes}}


A bookmarklet is a bookmark stored in a web browser that contains JavaScript commands to extend the browser's functionality through a single mouse click. For instance, a bookmarklet might enable the user to select an editor username on a page, click the bookmarklet, and be taken directly to the private message page with the username already entered.


<!-- Original content to be moved to appropriate section
== Adding to a browser ==
This is an initial draft for instructions on how to add a bookmarklet to your browser.


Copy the bookmarklet code from your source.
=== Chrome ===
{{NeedInfo|These instructions have not yet been verified for Chrome.}}


Chrome Browser:
* Left click on the "Customization and control Google Chrome" menu button in the right upper corner of your browser. (three horizonal bars)


- Left click on the "Customization and control Google Chrome" menu button in the right upper corner of your browser. (three horizonal bars)
* Left click on "Bookmarks"


- Left click on "Bookmarks"
* Left click on "Bookmark Manager"


- Left click on "Bookmark Manager"
* In the left window pane, navigate to where you want to add the bookmarklet.


- In the left window pane, navigate to where you want to add the bookmarklet.
* In the main window pane, right click to see the context menu.


- In the main window pane, right click to see the context menu.
* Left click on "Add page"


- Left click on "Add page"
* In the "Name" box, enter "Wazer Profile" or any name you prefer.


- In the "Name" box, enter "Wazer Profile" or any name you prefer.
* In the "URL" box, paste the code your previously copied.


- In the "URL" box, paste the code your previously copied.
While other methods exist, this method should always work.
 
=== Firefox ===
{{NeedInfo|Add instructions.}}
 
== Defined scripts ==
The following bookmarklet scripts could be helpful to map editors.
 
=== User information and communication ===
{{NeedInfo|Add instructions.}}


While other methods exist, this method should always work.
==== Wiki user page ====
-->
{|
| <small><nowiki>
javascript:(function(){var%20s='';if(window.getSelection){s=window.getSelection()}else%20if(document.getSelection){s=document.getSelection()}else%20if(document.selection){s=document.selection.createRange().text}if(s==""){var%20s=prompt("Enter%20Username%20for%20Wiki%20user%20page%20(or%20highlight%20name%20before%20selecting%20bookmarklet).")}window.location.href="https://wiki.waze.com/wiki/User:"+s})();
</nowiki></small>
|}
 
[[Category:Bookmarklets]]

Revision as of 00:43, 5 June 2014

Template:Construction

A bookmarklet is a bookmark stored in a web browser that contains JavaScript commands to extend the browser's functionality through a single mouse click. For instance, a bookmarklet might enable the user to select an editor username on a page, click the bookmarklet, and be taken directly to the private message page with the username already entered.

Adding to a browser

Chrome

Template:NeedInfo

  • Left click on the "Customization and control Google Chrome" menu button in the right upper corner of your browser. (three horizonal bars)
  • Left click on "Bookmarks"
  • Left click on "Bookmark Manager"
  • In the left window pane, navigate to where you want to add the bookmarklet.
  • In the main window pane, right click to see the context menu.
  • Left click on "Add page"
  • In the "Name" box, enter "Wazer Profile" or any name you prefer.
  • In the "URL" box, paste the code your previously copied.

While other methods exist, this method should always work.

Firefox

Template:NeedInfo

Defined scripts

The following bookmarklet scripts could be helpful to map editors.

User information and communication

Template:NeedInfo

Wiki user page

javascript:(function(){var%20s='';if(window.getSelection){s=window.getSelection()}else%20if(document.getSelection){s=document.getSelection()}else%20if(document.selection){s=document.selection.createRange().text}if(s==""){var%20s=prompt("Enter%20Username%20for%20Wiki%20user%20page%20(or%20highlight%20name%20before%20selecting%20bookmarklet).")}window.location.href="https://wiki.waze.com/wiki/User:"+s})();