You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[I hope it's ok to use this issues section for feedback and feature requests.]
Does it seem possible to add either regex support, or a "run only on these domains" feature?
Background:
My main use case for a redirect extension is with Google Docs / Spreadsheets / Presentations: I'd like to replace /edit and /view links with /preview.
For this, I added Switcheroo rules /edit -> /preview and /view -> /preview. As you might expect, this leads to trouble on other websites, whose URL also contains /view or /edit (or of course, when I actually want to edit a Google Doc / Spreadsheet). For now I've worked around by adding further rules /reallyedit -> /edit and /reallyview -> /view, but the ideal solution would be either
Being able to say: apply this particular rule (/edit -> /preview) only on domain docs.google.com.
[More general] Being able to give the replacement rule as a regular expression with backreferences, e.g. replace docs.google.com/(.*)/edit with docs.google.com/\1/preview
The text was updated successfully, but these errors were encountered:
[I hope it's ok to use this issues section for feedback and feature requests.]
Does it seem possible to add either regex support, or a "run only on these domains" feature?
Background:
My main use case for a redirect extension is with Google Docs / Spreadsheets / Presentations: I'd like to replace /edit and /view links with /preview.
For this, I added Switcheroo rules
/edit -> /preview
and/view -> /preview
. As you might expect, this leads to trouble on other websites, whose URL also contains /view or /edit (or of course, when I actually want to edit a Google Doc / Spreadsheet). For now I've worked around by adding further rules/reallyedit -> /edit
and/reallyview -> /view
, but the ideal solution would be either/edit -> /preview
) only on domaindocs.google.com
.docs.google.com/(.*)/edit
withdocs.google.com/\1/preview
The text was updated successfully, but these errors were encountered: