-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e2469d3
commit 127a2f9
Showing
8 changed files
with
136 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 20 additions & 0 deletions
20
docs/rules-in-library/2_notion-open-in-notion-app/rule-set.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{ | ||
"bundleID": "io.github.mshibanami.RedirectWebForSafari", | ||
"kind": "RedirectList", | ||
"redirects": [ | ||
{ | ||
"appURL": "file:\/\/\/Applications\/Notion.app", | ||
"comments": "Notion allows you to open the Notion app by changing the scheme of the Notion page URL from https to notion. This rule automates this process.", | ||
"destinationURLPattern": "notion:\/\/$1", | ||
"exampleURLs": [ | ||
"https:\/\/www.notion.so\/Quick-Note-c5a2f0fa248e4de38ab1866c25cffe10" | ||
], | ||
"kind": "Redirect", | ||
"sourceURLPattern": { | ||
"type": "regularExpression", | ||
"value": "https:\/\/(www.notion.so\/.+)" | ||
}, | ||
"title": "Notion: Open in Notion App" | ||
} | ||
] | ||
} |
19 changes: 19 additions & 0 deletions
19
docs/rules-in-library/3_wikipedia-open-in-wikiwand/rule-set.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
{ | ||
"bundleID": "io.github.mshibanami.RedirectWebForSafari", | ||
"kind": "RedirectList", | ||
"redirects": [ | ||
{ | ||
"comments": "With this rule, you can open Wikipedia pages in Wikiwand automatically.", | ||
"destinationURLPattern": "https:\/\/www.wikiwand.com\/$1\/$2", | ||
"exampleURLs": [ | ||
"https:\/\/en.wikipedia.org\/wiki\/Ramen" | ||
], | ||
"kind": "Redirect", | ||
"sourceURLPattern": { | ||
"type": "wildcard", | ||
"value": "https:\/\/*.wikipedia.org\/wiki\/*" | ||
}, | ||
"title": "Wikipedia: Open in Wikiwand" | ||
} | ||
] | ||
} |
19 changes: 19 additions & 0 deletions
19
docs/rules-in-library/4_github-hide-whitespace-changes-in-pull-request/rule-set.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
{ | ||
"bundleID": "io.github.mshibanami.RedirectWebForSafari", | ||
"kind": "RedirectList", | ||
"redirects": [ | ||
{ | ||
"comments": "This rule hides whitespace changes in a pull request on GitHub automatically.", | ||
"destinationURLPattern": "https:\/\/github.com\/$1\/$2\/pull\/$3\/files?diff=unified&w=1", | ||
"exampleURLs": [ | ||
"https:\/\/github.com\/mshibanami\/GitHubTrendingRSS\/pull\/6\/files" | ||
], | ||
"kind": "Redirect", | ||
"sourceURLPattern": { | ||
"type": "regularExpression", | ||
"value": "https:\/\/github.com\/(.*)\/(.*)\/pull\/(.*)\/files" | ||
}, | ||
"title": "GitHub: Ignore Whitespace Changes in a Pull Request" | ||
} | ||
] | ||
} |
20 changes: 20 additions & 0 deletions
20
docs/rules-in-library/5_figma-open-in-figma-app/rule-set.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{ | ||
"bundleID": "io.github.mshibanami.RedirectWebForSafari", | ||
"kind": "RedirectList", | ||
"redirects": [ | ||
{ | ||
"appURL": "file:\/\/\/Applications\/Figma.app", | ||
"comments": "", | ||
"destinationURLPattern": "figma:\/\/$1", | ||
"exampleURLs": [ | ||
"https:\/\/www.figma.com\/file\/XZp2hMcv4s3gmqKtXg4uupfX\/Personal-Colors?node-id=2%3A22" | ||
], | ||
"kind": "Redirect", | ||
"sourceURLPattern": { | ||
"type": "regularExpression", | ||
"value": "https:\/\/www.figma.com\/(file\/.*)" | ||
}, | ||
"title": "Figma: Open in Figma App" | ||
} | ||
] | ||
} |
19 changes: 19 additions & 0 deletions
19
docs/rules-in-library/6_redirect-from-google-search-to-youtube/rule-set.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
{ | ||
"bundleID": "io.github.mshibanami.RedirectWebForSafari", | ||
"kind": "RedirectList", | ||
"redirects": [ | ||
{ | ||
"comments": "Enabling this rule, you are automatically redirected from the Videos tab on Google Search to the search results on YouTube.", | ||
"destinationURLPattern": "https:\/\/www.youtube.com\/results?search_query=$1$2", | ||
"exampleURLs": [ | ||
"https:\/\/www.google.com\/search?q=ramen&client=safari&sca_esv=577385484&rls=en&tbm=vid&source=lnms&sa=X&ved=2ahUKEwid4fvdh5iCAxWUr1YBHUfYAqQQ_AUoBHoECAQQBg" | ||
], | ||
"kind": "Redirect", | ||
"sourceURLPattern": { | ||
"type": "regularExpression", | ||
"value": "http(?:s)?:\\\/\\\/(?:www\\.)?google\\.(?:com|ad|ae|com.af|com.ag|com.ai|al|am|co.ao|com.ar|as|at|com.au|az|ba|com.bd|be|bf|bg|com.bh|bi|bj|com.bn|com.bo|com.br|bs|bt|co.bw|by|com.bz|ca|cd|cf|cg|ch|ci|co.ck|cl|cm|cn|com.co|co.cr|com.cu|cv|com.cy|cz|de|dj|dk|dm|com.do|dz|com.ec|ee|com.eg|es|com.et|fi|com.fj|fm|fr|ga|ge|gg|com.gh|com.gi|gl|gm|gp|gr|com.gt|gy|com.hk|hn|hr|ht|hu|co.id|ie|co.il|im|co.in|iq|is|it|je|com.jm|jo|co.jp|co.ke|com.kh|ki|kg|co.kr|com.kw|kz|la|com.lb|li|lk|co.ls|lt|lu|lv|com.ly|co.ma|md|me|mg|mk|ml|com.mm|mn|ms|com.mt|mu|mv|mw|com.mx|com.my|co.mz|com.na|com.nf|com.ng|com.ni|ne|nl|no|com.np|nr|nu|co.nz|com.om|com.pa|com.pe|com.pg|com.ph|com.pk|pl|pn|com.pr|ps|pt|com.py|com.qa|ro|ru|rw|com.sa|com.sb|sc|se|com.sg|sh|si|sk|com.sl|sn|so|sm|sr|st|com.sv|td|tg|co.th|com.tj|tk|tl|tm|tn|to|com.tr|tt|com.tw|co.tz|com.ua|co.ug|co.uk|com.uy|co.uz|com.vc|co.ve|vg|co.vi|com.vn|vu|ws|rs|co.za|co.zm|co.zw|cat)\\\/search\\?(?:.*&)?(?:(?:tbm=vid&?)(?:&.+)?&q=([^&]*)|q=([^&]*)(?:&.+)?(?:&tbm=vid&?).*)" | ||
}, | ||
"title": "Google Search: From Video Tab to YouTube's Search Results" | ||
} | ||
] | ||
} |
19 changes: 19 additions & 0 deletions
19
docs/rules-in-library/7_minecraft_fandom_wiki_to_mincraft_wiki/rule-set.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
{ | ||
"bundleID": "io.github.mshibanami.RedirectWebForSafari", | ||
"kind": "RedirectList", | ||
"redirects": [ | ||
{ | ||
"comments": "Enabling this rule, users attempting to access the Minecraft Wiki on Fandom will be automatically redirected to the new domain at minecraft.wiki, ensuring they receive the latest and most accurate information from the official wiki source.", | ||
"destinationURLPattern": "https:\/\/minecraft.wiki\/w\/$1", | ||
"exampleURLs": [ | ||
"https:\/\/minecraft.fandom.com\/wiki\/Block" | ||
], | ||
"kind": "Redirect", | ||
"sourceURLPattern": { | ||
"type": "wildcard", | ||
"value": "https:\/\/minecraft.fandom.com\/wiki\/*" | ||
}, | ||
"title": "Minecraft Wiki: From Fandom to minecraft.wiki" | ||
} | ||
] | ||
} |
20 changes: 20 additions & 0 deletions
20
docs/rules-in-library/8_twitter_redirect_to_nitter/rule-set.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{ | ||
"bundleID": "io.github.mshibanami.RedirectWebForSafari", | ||
"kind": "RedirectList", | ||
"redirects": [ | ||
{ | ||
"comments": "This is a rule that automatically redirects users from twitter.com to nitter.com, providing a faster and more privacy-focused browsing experience by avoiding Elon Musk's tracking and advertisements. You can change the nitter.net to another instance of Nitter if you want. Find the list of other instances in https://github.com/zedeus/nitter/wiki/Instances .", | ||
"destinationURLPattern": "https:\\\/\\\/nitter\\.net\\\/$2", | ||
"exampleURLs": [ | ||
"https:\/\/twitter.com\/mshibanami\/status\/1556979987244523520", | ||
"https:\/\/x.com\/mshibanami\/status\/1556979987244523520" | ||
], | ||
"kind": "Redirect", | ||
"sourceURLPattern": { | ||
"type": "regularExpression", | ||
"value": "https:\\\/\\\/(twitter\\.com|x\\.com)\\\/(.*)" | ||
}, | ||
"title": "Twitter: Redirect to Nitter" | ||
} | ||
] | ||
} |