Make Google Sorry Page Link Clickable

as the name

  1. // ==UserScript==
  2. // @name Make Google Sorry Page Link Clickable
  3. // @namespace https://userscript.snomiao.com/
  4. // @version 0.1.0
  5. // @description as the name
  6. // @author snomiao@gmail.com
  7. // @match https://www.google.com/sorry/index?*
  8. // @icon https://www.google.com/s2/favicons?domain=google.com
  9. // @grant none
  10. // ==/UserScript==
  11.  
  12. document.body.innerHTML = document.body.innerHTML.replace(
  13. /URL: (.*?)<br>/,
  14. (_, $1) => 'URL: <a href="' + $1 + '">' + $1 + "</a>"
  15. );