TempMail Access

Adds a context menu option to access TempMail.

  1. // ==UserScript==
  2. // @name TempMail Access
  3. // @namespace your_namespace_here
  4. // @version 1.0.0
  5. // @description Adds a context menu option to access TempMail.
  6. // @author Magneto1
  7. // @license MIT
  8. // @include *://*
  9. // @icon none
  10. // @grant GM_registerMenuCommand
  11. // @grant GM_openInTab
  12. // ==/UserScript==
  13.  
  14. // Aggiungi un comando per sostituire la scheda corrente
  15. GM_registerMenuCommand("Sostituisci Scheda Corrente con TempMail", () => {
  16. window.location = 'https://tempmail.email/';
  17. }, "u");
  18.  
  19. // Aggiungi un comando per aprire TempMail in una nuova scheda
  20. GM_registerMenuCommand("Apri TempMail in Nuova Scheda", () => {
  21. GM_openInTab('https://tempmail.email/', { active: true });
  22. });