Commit Graph

62 Commits

Author SHA1 Message Date
Bauke 6bd5bccd6f
Factor toggling all redirects out to its own file. 2022-11-21 13:23:27 +01:00
Bauke 2acb8d804b
Automatically prefix 'https://' to redirected URLs if they fail parsing. 2022-11-21 12:43:56 +01:00
Bauke 6ab041df93
Add version 0.2.0 screenshot to readme. 2022-11-16 12:38:11 +01:00
Bauke cbf1f8e991
Version 0.2.0! 2022-11-16 12:27:01 +01:00
Bauke fd0149c13a
Add usage info for new features. 2022-11-16 12:26:40 +01:00
Bauke 9f414731b9
Move initialization to the bottom of the file. 2022-11-16 12:15:04 +01:00
Bauke a0a11e3647
Remove IDs from input and select elements. 2022-11-15 23:37:03 +01:00
Bauke 645e0e066a
Change the default redirect to hostname. 2022-11-15 12:59:03 +01:00
Bauke a05f54306a
Don't redirect when disabled. 2022-11-15 12:56:27 +01:00
Bauke cd453b3e6f
Add a context menu for toggling all redirects. 2022-11-15 12:46:10 +01:00
Bauke e5bf102aa3
Don't redirect if the current tab is already a redirectable URL. 2022-11-15 12:24:44 +01:00
Bauke 4f9b7b81e0
Version 0.1.1! 2022-11-04 14:04:54 +01:00
Bauke 8faf71e7bf
Add the store badges. 2022-11-03 21:54:10 +01:00
Bauke fc1e632a5f
Add the AMO UUID. 2022-11-02 13:10:12 +01:00
Bauke 1b5eff7030
Capitalize Re-Nav in the manifest. 2022-11-02 13:05:48 +01:00
Bauke 54f509d08d
Add the 0.1.0 screenshot. 2022-11-02 13:04:29 +01:00
Bauke 2726d2af30
Version 0.1.0! 2022-11-02 12:48:56 +01:00
Bauke 1fbe1efb90
Don't check redirects in subframes. 2022-11-02 12:16:46 +01:00
Bauke 089a27ab9d
Add regex redirect usage information and an example. 2022-11-02 11:30:02 +01:00
Bauke 2665ee3298
Add a regex redirect. 2022-11-02 11:10:29 +01:00
Bauke 459380cb69
Add an unsaved indicator to editors. 2022-10-27 21:33:46 +02:00
Bauke 9ee0d2db90
Explicitly parse redirects in the editor. 2022-10-27 21:30:43 +02:00
Bauke fd5cbb6a6f
Remove the nanoid dependency. 2022-10-27 21:13:26 +02:00
Bauke fe81eb53fa
Rewrite Redirect IDs to be numeric instead of UUIDs. 2022-10-27 21:13:02 +02:00
Bauke f870c0bbf6
Add the options page. 2022-10-27 15:48:34 +02:00
Bauke 16ba17eb9c
Specify which tab to update. 2022-10-26 18:00:42 +02:00
Bauke ed663484e2
Add enabled property to tests. 2022-10-26 14:55:04 +02:00
Bauke 055be574c5
Add an enabled property to redirects. 2022-10-26 14:52:15 +02:00
Bauke a93b5ed92d
Only process navigation events for HTTP. 2022-10-22 17:42:35 +02:00
Bauke 3e59d0e13b
Add safety checks for infinite loops. 2022-10-21 18:49:16 +02:00
Bauke 696dd8fde8
Add regex matcher tests. 2022-10-21 00:14:58 +02:00
Bauke f7d292932f
Add the regex matcher. 2022-10-20 22:54:02 +02:00
Bauke 93096b839a
Simplify Redirect to a basic abstract class.
Initially I was expecting the Redirect class to be more
complicated for more intricate functionality. But as
I've been adding the options UI, I think keeping it as
simple as possible will be better and easier to work with.
2022-10-20 16:22:57 +02:00
Bauke d25a844fac
Add an ID to Redirects. 2022-10-19 21:15:40 +02:00
Bauke e55c791386
Fix name. 2022-10-19 20:48:19 +02:00
Bauke 3fe297b8f1
Add tests for Redirect getters & setters. 2022-10-18 22:52:30 +02:00
Bauke 89751faad2
Update matching test for www. removal. 2022-10-18 22:24:59 +02:00
Bauke befcfdb85f
Always remove www. from hostname matching. 2022-10-18 22:23:41 +02:00
Bauke f261052331
Don't use type as a variable name as it is a TS keyword. 2022-10-18 22:21:55 +02:00
Bauke e2d233f8d6
Add abstract getter & setters for the redirect value. 2022-10-18 22:00:42 +02:00
Bauke a4b12334c5
Add tests for narrowing match & redirect types. 2022-10-18 21:54:47 +02:00
Bauke 81669cc535
Update tests & snapshots with adjusted names. 2022-10-18 21:43:50 +02:00
Bauke e260419f87
Adjust base Redirect for easier TS typing. 2022-10-18 21:43:23 +02:00
Bauke 67a2c7567f
Add tests for SimpleRedirect. 2022-10-18 19:02:02 +02:00
Bauke 1743959769
Add SimpleRedirect to parseRedirect. 2022-10-18 18:59:05 +02:00
Bauke b54d6ab0c2
Fix test typing. 2022-10-18 18:57:15 +02:00
Bauke 1c7d4ca34b
Add SimpleRedirect. 2022-10-18 18:56:46 +02:00
Bauke 263c0497f3
Add the background script. 2022-10-14 18:15:04 +02:00
Bauke 4cbe31c63a
Turn off no-await-in-loop everywhere. 2022-10-14 18:13:45 +02:00
Bauke 2ca4aeefb7
Make parseRedirect more resilient. 2022-10-13 00:30:26 +02:00