DoodleGoneUpdated

Replace the Google logo with a hosted image

  1. // ==UserScript==
  2. // @name DoodleGoneUpdated
  3. // @namespace http://localhost
  4. // @description Replace the Google logo with a hosted image
  5. // @version 1.1
  6. // @include http://*.google.*/*
  7. // @include https://*.google.*/*
  8. // @resource logo https://www.google.com/search?q=google+logo&safe=strict&rlz=1C1SQJL_frCA832CA832&sxsrf=ALeKk03hT0s4ZKuW8id2_mc_fWX-_yIKYQ:1593628617276&tbm=isch&source=iu&ictx=1&fir=IPKCJ_XMu6rtsM%252Cemlt7K6Cp7MftM%252C%252Fm%252F0b34hf&vet=1&usg=AI4_-kT_215pzXFRMU0fz5sJ1jH1yzVS0w&sa=X&ved=2ahUKEwjMxoud2azqAhVehHIEHZ3TCWgQ_B0wE3oECAsQAw#imgrc=IPKCJ_XMu6rtsM
  9. // @grant GM_getResourceURL
  10. // ==/UserScript==
  11. //
  12. var oldLogo = document.getElementById('hplogo');
  13. var newLogo = document.createElement('img');
  14. newLogo.id = "User-Logo";
  15. newLogo.border = 'no'
  16. newLogo.src = GM_getResourceURL ("logo");
  17. oldLogo.parentNode.replaceChild(newLogo, oldLogo);

QingJ © 2025

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