您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
View Page Source of any Website.
当前为
// ==UserScript== // @version 6.7.2.4 // @name Source Viewer // @name:de Seitenquelltext anzeiger // @description View Page Source of any Website. // @description:de Schauen Sie sich den Seitenquelltext von jeder beliebigen Website an. // @author wack.3gp // @copyright 2019+ , wack.3gp (https://greasyforks.org/users/4792) // @namespace https://greasyforks.org/users/4792 // @supportURL https://greasyforks.org/scripts/4611/feedback // @license CC BY-NC-ND 4.0; http://creativecommons.org/licenses/by-nc-nd/4.0/ // @noframes // @compatible Chrome tested with Tampermonkey // @contributionURL https://www.paypal.com/donate?hosted_button_id=9JEGCDFJJHWU8 // @contributionAmount €1.00 // @grant GM_registerMenuCommand // @include * // ==/UserScript== GM_registerMenuCommand("view-source:"+window.location, function () { var source = "<html>"; source += document.getElementsByTagName('html')[0].innerHTML; source += "</html>"; source = source.replace(/</g, "<").replace(/>/g, ">"); source = "<pre>" + source + "</pre>"; var sourceWindow = window.open(); sourceWindow.document.write(source); sourceWindow.document.close(); if (window.focus) sourceWindow.focus(); }); // ==============