aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitoffthelawn <Gitoffthelawn@users.noreply.github.com>2023-01-18 02:19:55 -0800
committerGitHub <noreply@github.com>2023-01-18 02:19:55 -0800
commit161826721f956541860d5dc52ac9e349a9b37197 (patch)
tree6ad7c1d6133cc73d9c1ff62fe276d425a1855cea
parent03f39921b8889417f74bdca48044a01f15102266 (diff)
Improved readability
-rw-r--r--README.md24
1 files changed, 12 insertions, 12 deletions
diff --git a/README.md b/README.md
index 58716b3..ec3a177 100644
--- a/README.md
+++ b/README.md
@@ -18,7 +18,7 @@ Opera extension is no longer present (as of 2023/01/16)
- Include pattern: `^(https?://)([a-z0-9-]*\.)m(?:obile)?\.(.*)`
- Redirect to: `$1$2$3`
- Pattern type: Regular Expression
-- Description: always show the desktop site of a webpage
+- Description: Always show the desktop site of a webpage
### AMP redirect
- Example URL: `https://www.google.com/amp/www.example.com/amp/document`
@@ -27,29 +27,29 @@ Opera extension is no longer present (as of 2023/01/16)
- Pattern type: Regular Expression
- Description: AMP is bad: <https://80x24.net/post/the-problem-with-amp/>
-### doubleclick escaper
+### Doubleclick escaper
- Example URL: `https://ad.doubleclick.net/ddm/trackclk/N135005.2681608PRIVATENETWORK/B20244?https://www.example.com`
- Include pattern: `^(?:https?://)ad.doubleclick.net/.*\?(http?s://.*)`
- Redirect to: `$1`
- Pattern type: Regular Expression
-- Description: remove doubleclick link tracking / fix problems with doubleclick host based blocking
+- Description: Remove doubleclick link tracking / fix problems with doubleclick host based blocking
### YouTube Shorts to YouTube
- Example URL: `https://www.youtube.com/shorts/video-id`
- Include pattern: `^(?:https?://)(?:www.)?youtube.com/shorts/([a-zA-Z0-9_-]+)(.*)`
- Redirect to: `https://www.youtube.com/watch?v=$1$2`
- Pattern type: Regular Expression
-- Description: Redirect YouTube Shorts to YouTube
+- Description: Redirect YouTube Shorts to regular YouTube
### Fun with !bangs
What are bangs?: <https://duckduckgo.com/bangs>
-#### use DuckDuckGo.com !bangs on Google
+#### Use DuckDuckGo.com !bangs on Google
- Example URL: `https://www.google.com/search?&ei=-FvkXcOVMo6RRwW5p5DgBg&q=asdfasdf%21+sadfas&oq=%21asdfasdf+sadfas&gs_l=asdfsadfafsgaf`
- Include pattern: `^(?:https?://)(?:www.)google\.(?:com|au|de|co\.uk)/search\?(?:.*)?(?:oq|q)=([^\&]*\+)?((?:%21|!)[^\&]*)`
- Redirect to: `https://duckduckgo.com/?q=$1$2`
- Pattern type: Regular Expression
-- Description: redirect any querry to google with a !bang to DDG
+- Description: Redirect any Google query with a !bang to DDG
### Custom DuckDuckGo.com !bangs
@@ -58,25 +58,25 @@ What are bangs?: <https://duckduckgo.com/bangs>
- Include pattern: `^(?:https?://)(?:.*\.)?duckduckgo.com/\?q=(?:%21|!)`__example__`(?=[^\+]|$)(?=\W|$)`
- Redirect to: `https://example.com/`
- Pattern type: Regular Expression
-- Description: redirect to the base site when bang is the only search parameter
+- Description: Redirect to the base site when !bang is the only search parameter
#### DDG !example Search
- Example URL: `https://duckduckgo.com/?q=searchterm+!`__example__`+searchterm2&get=other`
- Include pattern: `^(?:https?://)(?:.*\.)?duckduckgo.com/\?q=(.*\+)?(?:(?:%21|!)`__example__`)(?:\+([^\&\?\#]*))?(?:\W|$)`
- Redirect to: `https://example.com/?query=$1$2`
- Pattern type: Regular Expression
-- Description: redirect to custom site search
+- Description: Redirect to custom site search
-##### !ghh git-history
+#### DDG !ghh git-history
- Example URL: `https://duckduckgo.com/?q=!ghh+https%3A%2F%2Fgithub.com%2Fbabel%2Fbabel%2Fblob%2Fmaster%2Fpackages%2Fbabel-core%2FREADME.md&adfasfasd`
- Include pattern: `^(?:https?://)duckduckgo.com/\?q=(?:(?:%21|!)ghh\+)(?:.*)(github|gitlab|bitbucket)(?:\.org|\.com)(.*?(?=\&))`
- Redirect to: `https://$1.githistory.xyz$2`
- Pattern type: Regular Expression
-- Description: <https://githistory.xyz>
-- __Advanced:__
+- Description: Create new !ghh bang that redirects to <https://githistory.xyz>
+- Advanced:
- Process matches: URL decode
-## Dark theme
+## Dark Theme
If you are a Firefox user and use a dark theme, you can add these lines to your `userChrome.css` file to make Redirector's extension button more visible:
```css