WeTransfer

Fixes the annoyances of every day use of WeTransfer

  1. // ==UserScript==
  2. // @name WeTransfer
  3. // @namespace WT
  4. // @description Fixes the annoyances of every day use of WeTransfer
  5. // @include *wetransfer.com/*
  6. // @include *we.tl/*
  7. // @version 1
  8. // @grant none
  9. // ==/UserScript==
  10.  
  11. function WeTransfer(css) {
  12. var head, style;
  13. head = document.getElementsByTagName('head')[0];
  14. if (!head) { return; }
  15. style = document.createElement('style');
  16. style.type = 'text/css';
  17. style.innerHTML = css;
  18. head.appendChild(style);
  19. }
  20.  
  21. WeTransfer(
  22. 'body {background: #000 !important;}'
  23. +
  24. '.wallpaper, .nav__label {pointer-events: none !important; opacity: .8 !important;}'
  25. +
  26. '.panel {display: none !important;}'
  27. +
  28. '.spinner::after {content: "fixed by Glenn;" !important; color: #FFE !important; font-family: "Fakt Pro Normal", "Fakt Pro Normal Cyr", "Fakt Pro Normal Grk", -apple-system, ".SFNSText-Regular", "San Francisco", "Roboto", "Segoe UI", "Helvetica Neue", "Lucida Grande", sans-serif !important; font-size: 0.7em; text-shadow: 1px 1px 2px rgba(0,0,0,.5); position: relative; display: inline-block; top: -.5em; pointer-events: none;}'
  29. );