(Initial content) |
(→Wiki user page: formatted) |
||
Línea 40: | Línea 40: | ||
==== Wiki user page ==== | ==== Wiki user page ==== | ||
<pre style="white-space:-moz-pre-wrap; white-space:-pre-wrap; white-space:-o-pre-wrap; white-space:pre-wrap; word-wrap:break-word;"> | |||
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})(); | 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})(); | ||
</ | </pre> | ||
[[Category:Bookmarklets]] | [[Category:Bookmarklets]] |
Revisión del 01:35 5 jun 2014
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 browserAdding to a browser
ChromeChrome
- 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.
FirefoxFirefox
Defined scriptsDefined scripts
The following bookmarklet scripts could be helpful to map editors.
User information and communicationUser information and communication
Wiki user pageWiki 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})();