rss-button-for-safari icon indicating copy to clipboard operation
rss-button-for-safari copied to clipboard

Detect feeds and redirect to preview page with subscription button

Open einkoro opened this issue 4 years ago • 2 comments

Readable feeds would be nice if we can target injecting styles by mime type or parse for something to consistently identify feeds. A bar along the top with a button to subscribe or copy the url to clipboard would be handy.

This could be included as an optional additional extension or be part of the existing extension.

einkoro avatar Sep 08 '21 03:09 einkoro

It doesn't look like its possible to grab the mimetype without the new web extensions API provided that portion is even available for Safari like it is for Chrome. Nor can we pull the response headers and parse those. Firefox is the only browser that allows for grabbing the mimetype from document.

https://stackoverflow.com/questions/4921175/how-can-i-detect-the-current-tabs-mime-type-in-a-google-chrome-extension

einkoro avatar Sep 13 '21 23:09 einkoro

It should be noted when the correct feed mimetype is used rather than generic ones Safari will prompt to open in the default news reader client.

einkoro avatar Sep 14 '21 00:09 einkoro