Bypass Google Sorry (reCAPTCHA)

Redirect Google reCAPTCHA to new search

  1. // ==UserScript==
  2. // @name Bypass Google Sorry (reCAPTCHA)
  3. // @version 1.0.0
  4. // @description Redirect Google reCAPTCHA to new search
  5. // @author lord_ne (modified from script by Ang Li)
  6. // @include *://www.google.*/sorry/*
  7. // @grant none
  8. // @run-at document-start
  9. // @namespace https://gf.qytechs.cn/users/230713
  10. // ==/UserScript==
  11.  
  12. // Redirects Google Sorry page to a different search engine
  13. // Original script: https://gf.qytechs.cn/en/scripts/33226-bypass-google-sorry-recaptcha
  14.  
  15. function getParameterByName(name, url, decode) {
  16. name = name.replace(/[\[\]]/g, "\\$&");
  17. let regex = new RegExp("[?&]" + name + "(=([^&#]*)|&|#|$)");
  18. let results = regex.exec(url);
  19. if (!results) return null;
  20. if (!results[2]) return '';
  21. if (decode) {
  22. return decodeURIComponent(results[2].replace(/\+/g, " "));
  23. } else {
  24. return results[2];
  25. }
  26. }
  27.  
  28. (function() {
  29. 'use strict';
  30. var searchEngineURL = "https://www.bing.com/search?q=";
  31. //var searchEngineURL = "https://duckduckgo.com/?q=";
  32. //var searchEngineURL = "https://search.yahoo.com/search?p=";
  33. //var searchEngineURL = "https://www.ecosia.org/search?q=";
  34. //var searchEngineURL = "https://www.lukol.com/s.php?q=";
  35. var googleSorryUrl = window.location.href;
  36. var targetDomain = getParameterByName('continue', googleSorryUrl, true);
  37. if(targetDomain.match("google")) {
  38. window.location.replace(searchEngineURL + getParameterByName('q', targetDomain, false));
  39. }
  40. })();

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址