Virus Detector(outdated script Please get my malware site blocker)

Get alerted when you are on a harmful website.

  1. // ==UserScript==
  2. // @name Virus Detector(outdated script Please get my malware site blocker)
  3. // @namespace http://tampermonkey.net/
  4. // @version 3.7
  5. // @description Get alerted when you are on a harmful website.
  6. // @author Thundercatcher
  7. // @match http://*/*
  8. // @icon data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==
  9. // @grant none
  10. // ==/UserScript==
  11.  
  12. (function() {
  13. 'use strict';
  14.  
  15. {writePromise = new Promise((res) =>
  16. setTimeout(() => {
  17. document.write('<h3 style="text-align: center;">This website looks like it contains a virus. Please proceed back to <a href="https://www.google.com/">Google</a></h3>'); (`
  18. `)
  19. res();
  20. }, 250)
  21. );
  22. }
  23. })()