img everywhere

make web with img as a huge mask over the whole site

  1. // ==UserScript==
  2. // @name img everywhere
  3. // @namespace http://tampermonkey.net/
  4. // @version 0.1
  5. // @description make web with img as a huge mask over the whole site
  6. // @author phone Dr.(咑咑)
  7. // @match *://*/*
  8. // @require https://code.jquery.com/jquery-3.6.3.min.js
  9. // @icon https://www.google.com/s2/favicons?sz=64&domain=ithome.com.tw
  10. // @license MIT
  11. // @grant none
  12. // ==/UserScript==
  13.  
  14. (function() {
  15. $('body').append($('<div>').html(`<img class="imgbig" src="https://i.imgur.com/XFgohzL.jpg" referrerpolicy="no-referrer" alt="">
  16. `),$('<style>').html(`.imgbig{
  17. margin: 0;
  18. position: fixed;
  19. top: 0;
  20. left: 0;
  21. opacity: .3;
  22. width : 100%;
  23. height : 100%;
  24. pointer-events:none;
  25. }
  26. `))
  27.  
  28.  
  29.  
  30.  
  31.  
  32. })();