您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Aggiunge comandi al menu di Tampermonkey per accedere a versioni archiviate della pagina corrente
// ==UserScript== // @name ARCHIVE // @namespace http://tampermonkey.net/ // @version 1.1 // @description Aggiunge comandi al menu di Tampermonkey per accedere a versioni archiviate della pagina corrente // @author SH3LL // @match *://*/* // @grant GM_registerMenuCommand // @icon https://i.postimg.cc/L8cP5JMV/icon.png // ==/UserScript== (function() { 'use strict'; // Open in Wayback Machine function openWaybackMachine() { const currentUrl = window.location.href; window.open('https://web.archive.org/web/*/' + currentUrl, '_blank'); } // Open in Archive.is function openArchiveToday() { const currentUrl = window.location.href; window.open('https://archive.is/' + currentUrl, '_blank'); } // Save in Wayback Machine function saveToWaybackMachine() { const currentUrl = window.location.href; window.open('https://web.archive.org/save/' + currentUrl, '_blank'); } // Save in Archive.is function saveToArchiveToday() { const currentUrl = window.location.href; window.open('https://archive.is/?run=1&url=' + encodeURIComponent(currentUrl), '_blank'); } // MENU GM_registerMenuCommand('[🔍️]-web.archive.org', openWaybackMachine); GM_registerMenuCommand('[🔍️]-archive.is', openArchiveToday); GM_registerMenuCommand('[💾]-web.archive.org', saveToWaybackMachine); GM_registerMenuCommand('[💾]-archive.is', saveToArchiveToday); })();