Hacker News new | ask | show | jobs
Show HN: URL Shortener Extension for Google Chrome (Opera, Brave, Edge) (chrome.google.com)
1 points by zenull 1543 days ago
2 comments

Why not use a bookmarklet instead?

  javascript:(function()%7Bwindow.open(%22https%3A%2F%2Fapi.exi.link%2Fchrome%2F%3Fshorten%3D%22%2Bwindow.location.href)%3B%7D)()%3B
The Bookmarklet (pop-up) injects itself into the page and sometimes the website security policy doesn't allow that and so for this purpose extension is better since it gets only the page URL as required info. For most cases the Bookmarklet is OK, I use it more often because it sticks to the account which means the short URL will be assigned to you so you can track clicks when needed (the extension will do that too in the upcoming new versions).
In the previous post I meant the Bookmarklet that is available in the user account ;) Thanks for your comment btw!
Please let me know how this extension can be improved! Remember to rate it on Google Chrome Web Store.