Script Medium

Script ver Posts Medium

  1. // ==UserScript==
  2. // @name Script Medium
  3. // @namespace http://tampermonkey.net/
  4. // @version 0.1
  5. // @description Script ver Posts Medium
  6. // @author BSH
  7. // @match *://*.medium.com/*
  8. // @grant GM_addStyle
  9. // @grant GM_xmlhttpRequest
  10. // @run-at document-end
  11. // @license MIT
  12. // ==/UserScript==
  13.  
  14. (function() {
  15. 'use strict';
  16.  
  17. var currentUrl = window.location.href;
  18. var prefix = 'https://freedium.cfd/';
  19. var newUrl = prefix + currentUrl;
  20.  
  21. // Redirecionar na mesma aba
  22. if (window.location.href !== newUrl) {
  23. window.location.replace(newUrl);
  24. }
  25. })();