Browsed by
Tag: Javascript

Your First Chome Extension

Your First Chome Extension

I made my first browser extension recently. Turns out that it is refreshingly easy.

I use Google Chrome. One of my favorite websites is, which I must admit to occasionally browsing at work. The problem is that SlickDeals makes its money via referrals. i.e. if I post a link to, SlickDeals parses the URL and generates a redirect via a referral URL.



This would be fine, however my work blocks all the intermediate sites the modified link redirects via, so it is necessary to copy the…. URL, which fortunately is in plaintext, from the modified URL and paste it into a new window.

After doing this 100 times or so I was pretty fed up so I wrote an extension to parse the modified URLs and return them to their original form.

Creating a Chrome extension to parse and modify page content