Skip to content

Commit

Permalink
https://github.com/nokeya/direct-links-out/issues/34
Browse files Browse the repository at this point in the history
  • Loading branch information
XX-J authored May 7, 2021
1 parent 5d805cf commit 4e0ad37
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Direct links out.user.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// ==UserScript==
// @name Direct links out
// @name:ru Прямые ссылки наружу
// @version 2.57
// @version 2.58
// @description Removes all "You are leaving our site..." and redirection stuff from links
// @description:ru Убирает "Бла-бла-бла, вы покидаете наш сайт" и переадресацию из ссылок
// @icon https://raw.githubusercontent.com/XX-J/Direct-links-out/master/icon.png
Expand Down Expand Up @@ -186,7 +186,7 @@ if (/(4pda|instagram)/i.test(HostName)) { anchor = /.+u=/i; after = '&e='; }
else if (/danieldefo/i.test(HostName)) remAttrs = ['data-proxy-href'];
else if (/deviantart/i.test(HostName)) anchor = /.+outgoing\?/i;
else if (/disq/i.test(HostName)) { anchor = /.+url=/i; after = /:[0-9a-zA-Z]+/; }
else if (/(facebook|messenger)/i.test(HostName)) { anchor = /.+u=/i; after = '&h='; rwLink = rwFacebook; }
else if (/(facebook|messenger)/i.test(HostName)) { anchor = /.+u=/i; after = /(\?|&)(h|fbclid)=/i; rwLink = rwFacebook; }
else if (/forumavia/i.test(HostName)) anchor = /.+\/e\/\?l=/i;
else if (/google/i.test(HostName)) rwLink = rwGoogle;
else if (/(kat|kickass)/i.test(HostName)) { anchor = /.+confirm\/url\//i; remClases = 1; B64 = 1; }
Expand Down

0 comments on commit 4e0ad37

Please sign in to comment.