Test Script

Only a Test Script

目前为 2017-10-20 提交的版本。查看 最新版本

  1. // ==UserScript==
  2. // @name Test Script
  3. // @namespace http://tampermonkey.net/
  4. // @version 0.4
  5. // @description Only a Test Script
  6. // @author Nils
  7. // @match https://www.google.de/
  8. // @grant none
  9. // ==/UserScript==
  10.  
  11. var image = document.createElement('img');
  12. image = new Image(25, 25);
  13. image.setAttribute('src', 'https://lh3.googleusercontent.com/Ned_Tu_ge6GgJZ_lIO_5mieIEmjDpq9kfgD05wapmvzcInvT4qQMxhxq_hEazf8ZsqA=w300');
  14.  
  15.  
  16. var link = document.createElement("a");
  17. link.setAttribute('href', 'https://www.youtube.com/?gl=DE');
  18.  
  19. //var node = document.createTextNode("Youtube");
  20. //link.appendChild(node);
  21.  
  22.  
  23. var div = document.getElementById("prm-pt");
  24. div.appendChild(image);
  25. link.appendChild(image);
  26. div.appendChild(link);

QingJ © 2025

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