Roastidio.us only needs an URL to tell it what the topic is. Usually, you don't want to type in URLs, as they can be very long. There are several ways to input URLs; not all of them are obvious.
Use the link #
The easiest way to invoke Roastidio.us is to click the link embedded on the web page. Roastidio.us uses the referer header to figure out where the request to roast is coming from; that's all it needs. The link at the bottom of this blog post is a good example.
One thing to keep in mind is you have to make sure the referer header is intact. In Firefox 87+ the default of referrer policy is very strict, it will strip off path and query string when crossing origins. So you would need to add the proper
referrerpolicy attribute in the link:
<a href="https://roastidio.us/roast" referrerpolicy="no-referrer-when-downgrade">Roast me at Roastidio.us!</a>
The downside is the web page needs to provide the link. If you want to roast a web page that does not offer such a hyperlink, you'll have to do something else.
Paste the URL #
You can also copy the address from the location bar from your browser, open a tab to roastidio.us then paste the URL. To speed up the process, you may want to bookmark roastidio.us, or even has it in a pinned tab, so it is readily available.
It is undoubtedly more work than the first method. Is there a way that requires less clicking? Yes.
Use the bookmarklet #
However, a mobile browser does not allow you to right-click or bookmark a link. You can still bookmark a page, but the link above is not a page, but a bridge into Roastidio.us, so what do you do? To add a bookmarklet, you will need to:
- bookmark any page, such as this page
- select the above link and copy to clipboard
- long touch the bookmark you created, choose edit
- paste the link you just copied into the location box, and change the name of the bookmark
- On Chrome mobile: Touch the address bar, type the first few letters of the name of this bookmarklet, then choose it from the drop-down menu
- On Firefox mobile: Touch the address bar, touch the bookmark tab, then choose this bookmarklet from the list
So it is only slightly more complicated than doing the same on a desktop browser. There is a more detailed write up on this site:. The down side is each browser is slightly different; also CSP may impede user's ability to use bookmarklet on a website.
Even more natural ways #
It is not hard to turn the bookmarklet idea into a browser extension, or (heaven forbid) a mobile app so that one can click less. I don't feel like doing it now.