diff options
Diffstat (limited to '.local/bin/open')
-rwxr-xr-x | .local/bin/open | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/.local/bin/open b/.local/bin/open index 2de4100..39ef1e5 100755 --- a/.local/bin/open +++ b/.local/bin/open @@ -52,6 +52,8 @@ multi sub cmd (HttpUrl $t where *.hostname.ends-with('zaaksysteem.nl')) { "chrom # Rewrite bad site to good site multi sub cmd (HttpUrl $t is copy where *.hostname eq "twitter.com") { callwith(URL.new(|$t.Hash, hostname => 'nitter.net')) } +multi sub cmd (HttpUrl $t is copy where *.hostname eq "instagram.com") { callwith(URL.new(|$t.Hash, hostname => 'brap.top', path => $t.path.unshift('u'))) } +multi sub cmd (HttpUrl $t is copy where *.hostname eq "www.instagram.com") { callwith(URL.new(|$t.Hash, hostname => 'brap.top', path => $t.path.unshift('u'))) } # All other URLs should be opened with the preferred browser. |