So, I've recently returned to the game, and got a bit annoyed about the number of broken links in old posts/guides.
I may have already been posted, but here is a bookmarklet to fix the most common site references.
Make a new bookmark with whatever name you like, and use this as the url (it is one line)
Edit: Improved version linking to Xyphos.com as suggested. This one also works when the link specifies a QL after the item id, instead of expecting the item id to be the last parameter.
Edit2: Added handling for 'net' domains and non-item aodb links. Updated version linking to auno, as for noobs like me the comments saying where to find stuff are useful.
Code:
javascript:(function(){var x,i; x=document.links;for(i=0;i<x.length;++i) { if (/(aodb|aomainframe).(com|info|net)\/showitem/.test(x[i].href)) {z=x[i].href.match(/id=[^?]+/i); x[i].href="http://www.xyphos.com/ao/aodb.php?"+z; x[i].href=x[i].href.toLowerCase()} if (/(aodb|aomainframe).(com|info|net)/.test(x[i].href)) { z=x[i].href.match(/[^\/]+$/);x[i].href="http://ao.tcdev.de/"+z; } }})();
Auno version:
Code:
javascript:(function(){var x,i; x=document.links;for(i=0;i<x.length;++i) { if (/(aodb|aomainframe).(com|info|net)\/showitem/.test(x[i].href)) {z=x[i].href.match(/id=[^?]+/i); x[i].href="http://auno.org/ao/db.php?"+z; x[i].href=x[i].href.toLowerCase()} if (/(aodb|aomainframe).(com|info|net)/.test(x[i].href)) { z=x[i].href.match(/[^\/]+$/);x[i].href="http://ao.tcdev.de/"+z; } }})();
Click on this when on a page with bung links and it will update the links on the page:
- Aodb/aomainframe item references will be changed to auno
- Other aomainframe links will be updated to the archived copy at ao.tcdev.de
Should work on any modern browser, only tested with chrome though.
Hopefully this is of use to some of you.