User:Dutton1956/vector.js

// This code will change ISBN links to point to the url of your choice,
// instead of Special:Booksources, when you are logged in. 
//
// How to use it:
//
// 1.) Make sure you are logged in, so you can edit your user javascript 
//     page.
//
// 2.) Copy the contents of this page to your user javascript page. This page is 
//     at User:<your username>/skin.js , where <your username> is replaced by 
//     your user name. For example, my user name is Lunchboxhero so my javascript 
//     page is User:Lunchboxhero/skin.js .
// 
//     (Every line that starts with "//" is a comment is not necessary for the code 
//     to work and can be discarded.)
//
// 3.) If you want to change the destination URL from amazon.com to another book
//     source, you can do so by changing the value of the book_source_URL.  Go to 
//     [[Wikipedia:Book sources]] and copy the URL of the book source you want to
//     use (right-click or ctrl-click the link, then click "Copy Link Location", 
//     "Copy Target", or similar).  Put the new URL between the quotes next 
//     to book_source_URL, in place of the URL now there.
//
// 4.) Once satisfied with the destination url, and your javascript page saved, you 
//     may have to refresh your browser cache in order for the code to be loaded. 
//     
//     For Mozilla/Safari/Konqueror: hold down Shift while clicking Reload (or 
//     press Ctrl-Shift-R), IE: press Ctrl-F5, Opera: press F5.
//
// The code should now work, as long as you are logged in.
//
// Good luck, and if you have any questions, leave a comment on the discussion
// page of User:Lunchboxhero/skin.js . Thanks to Superm401 and drrngravy for their
// improvements.
 
var book_source_URL = "http://www.amazon.com/gp/s?search-alias=stripbooks&field-isbn=MAGICNUMBER";
importScript('User:Lunchboxhero/externISBN.js');

Content Disclaimer

Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.

  1. The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
  2. There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
  3. It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
  4. Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
  5. Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.