Skip to content

Instantly share code, notes, and snippets.

@robd
Last active August 29, 2015 14:05
Show Gist options
  • Save robd/537a9a761b6a06b1265d to your computer and use it in GitHub Desktop.
Save robd/537a9a761b6a06b1265d to your computer and use it in GitHub Desktop.
Bookmarklet to go to Pricenoia page for current item
<!DOCTYPE HTML>
<html>
<head>
<title>Bookmarklet to go to Pricenoia page for current item</title>
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/normalize/3.0.1/normalize.min.css">
<meta name="viewport" content="width=device-width, initial-scale=1">
<style type="text/css">
body { margin: 2em }
</style>
</head>
<body>
<h1>Bookmarklet to go to Pricenoia page for current item</h1>
<p>Drag the following to your bookmarks bar and click when you're on an Amazon product page. Tested on amazon.co.uk only</p>
<a href="javascript:(function(){var asinTextBox = document.getElementById('ASIN');if(asinTextBox){window.location.href='https://pricenoia.com/'+asinTextBox.value}})();">View on Pricenoia</a>
</body>
</html>
@robd
Copy link
Author

robd commented Aug 15, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment