55 |
Redirecting...
56 |
You are being redirected to:
57 |
If you are not redirected automatically, please click here.
58 |
59 |
60 |
87 |
88 |
89 |
90 |
--------------------------------------------------------------------------------
/static/rules/add-parameters.redirectweb:
--------------------------------------------------------------------------------
1 | {
2 | "bundleID": "io.github.mshibanami.RedirectWebForSafari",
3 | "kind": "RedirectList",
4 | "redirects": [
5 | {
6 | "captureGroupProcesses": [
7 | {
8 | "groupIndex": 3,
9 | "process": {
10 | "id": "replaceOccurrences",
11 | "matchingPattern": {
12 | "type": "regularExpression",
13 | "value": "\\?(.*)"
14 | },
15 | "replacement": "&$1"
16 | }
17 | }
18 | ],
19 | "comments": "",
20 | "destinationURLPattern": "$1?layout=desktop$3",
21 | "exampleURLs": [
22 | "https:\/\/example.com\/hello?theme=dark",
23 | "https:\/\/example.com\/hello",
24 | "https:\/\/example.com\/hello?layout=desktop&theme=dark"
25 | ],
26 | "excludeURLPatterns": [
27 | {
28 | "type": "regularExpression",
29 | "value": ".*[&?]layout=[^&]*.*"
30 | }
31 | ],
32 | "kind": "Redirect",
33 | "sourceURLPattern": {
34 | "type": "regularExpression",
35 | "value": "(https:\/\/example.com\/[^?]*)((\\?(.*))?)"
36 | },
37 | "title": "Always Use Desktop Layout"
38 | }
39 | ]
40 | }
41 |
--------------------------------------------------------------------------------
/static/rules/reduce-twitter-addiction.redirectweb:
--------------------------------------------------------------------------------
1 | {
2 | "bundleID": "io.github.mshibanami.RedirectWebForSafari",
3 | "kind": "RedirectList",
4 | "redirects": [
5 | {
6 | "captureGroupProcesses": [],
7 | "comments": "",
8 | "destinationURLPattern": "https:\/\/insighttimer.com\/saraauster\/guided-meditations\/calm",
9 | "exampleURLs": [
10 | "https:\/\/x.com\/home",
11 | "https:\/\/twitter.com\/home"
12 | ],
13 | "excludeURLPatterns": [],
14 | "kind": "Redirect",
15 | "sourceURLPattern": {
16 | "type": "regularExpression",
17 | "value": "https:\/\/(twitter|x).com\/.*"
18 | },
19 | "title": "Reduce Twitter Addiction"
20 | }
21 | ]
22 | }
23 |
--------------------------------------------------------------------------------
/static/rules/remove-parameters.redirectweb:
--------------------------------------------------------------------------------
1 | {
2 | "bundleID": "io.github.mshibanami.RedirectWebForSafari",
3 | "kind": "RedirectList",
4 | "redirects": [
5 | {
6 | "captureGroupProcesses": [
7 | {
8 | "groupIndex": 0,
9 | "process": {
10 | "id": "replaceOccurrences",
11 | "matchingPattern": {
12 | "type": "regularExpression",
13 | "value": "&?source=[^&]*"
14 | },
15 | "replacement": ""
16 | }
17 | }
18 | ],
19 | "comments": "",
20 | "destinationURLPattern": "$0",
21 | "exampleURLs": [
22 | "https:\/\/example.com\/?source=twitter",
23 | "https:\/\/example.com\/?hello=world&source=twitter&foo=bar"
24 | ],
25 | "excludeURLPatterns": [],
26 | "kind": "Redirect",
27 | "sourceURLPattern": {
28 | "type": "wildcard",
29 | "value": "https:\/\/example.com\/*"
30 | },
31 | "title": "Remove parameters"
32 | }
33 | ]
34 | }
35 |
--------------------------------------------------------------------------------
/tsconfig.json:
--------------------------------------------------------------------------------
1 | {
2 | // This file is not used in compilation. It is here just for a nice editor experience.
3 | "extends": "@docusaurus/tsconfig",
4 | "compilerOptions": {
5 | "baseUrl": "."
6 | }
7 | }
8 |
--------------------------------------------------------------------------------