Fix throwbin.io with this simple API bookmarklet.
Here's the javascript:
javascript:if (window.location.hostname == "throwbin.io") { window.location.href = "https://api.throwbin.io/v1/paste" + window.location.pathname + "/download";} else { alert("Please open the broken throwbin.io link before running this bookmarklet."); }
To use:
- Bookmark any webpage and name it what you wish.
- Edit the bookmark and paste the above code in the URL box.
- Navigate to the broken throwbin.io link.
- Run the bookmarklet.
- Your browser will download the .txt file.