dotUdotMe bookmarklet updated and improved
Do you find yourself wanting to do stuff like this?
- Cycle through search results on google.com, google.co.uk, and google.wherever
- Swap between prices and comments amazon.com and amazon.co.uk
- Swap between the french and english language wikipedia articles about Waterloo
If you’re living abroad, multilingual, or don’t live in the USA, you will have had to edit part of the website address to make it point to the right version for you.
DotUdotMe is a javascript browser bookmarklet that does this for you automatically.
Click the link and the country-specific elements of the domain are swapped and you are transported to your preferred version.
Installation
Just save this link as a favourite or drag it to your toolbar!
It works in all browsers except Internet Explorer 6. dotUdotMe exceeds the 500 character limit for bookmarklet in IE6.
On the other hand, if you’re using IE6 this is the least of your problems and I feel for you.
Configuration
By default, the bookmarklet cycles .co.uk, .com, and .cz domains. This is configured in the MAPPINGS array.
By default, it swaps en.wikipedia… and cs.wikipedia…. This is configured in LANGUAGE_CODES array.
The TLDS_TO_IGNORE array configures which TLDs to ignore. By default this is:
'gov', 'org', 'edu', 'mil',
'info', 'coop', 'jobs',
'mobi', 'museum', 'name',
'aero', 'net', 'tel', 'travel',
'arpa', 'pro', 'asia', 'localhost'
More information
The source, a tiny test suite, and build tasks are hosted on GitHub


