Open Bug 1414026 Opened 7 years ago Updated 2 years ago

Implement 'loadReplace' for tabs.toggleReaderMode

Categories

(WebExtensions :: General, enhancement, P5)

enhancement

Tracking

(Not tracked)

People

(Reporter: wbamberg, Unassigned)

Details

See bug 1381992, comment 54 and following.

A fairly common use case for a reader mode API would be "readerize every eligible page".

For this use case it would be helpful to have an option to tabs.toggleReaderMode() like the 'loadReplace' option to tabs.update(), that replaces the original page in the tab's session history. Otherwise the Back button is broken.

(I'm not sure if there is an alternative/better way to implement "readerize every eligible page" without breaking the Back button. If there is, this API might not be needed.)
Severity: normal → enhancement
Priority: -- → P5
Product: Toolkit → WebExtensions
Bulk move of bugs per https://bugzilla.mozilla.org/show_bug.cgi?id=1483958
Component: Untriaged → General
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.