您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
View Page Source of any Website.
当前为
- // ==UserScript==
- // @version 6.7.1.9
- // @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://gf.qytechs.cn/users/4792)
- // @grant unsafeWindow
- // @noframes
- // @include *
- // @license CC BY-NC-ND 4.0; http://creativecommons.org/licenses/by-nc-nd/4.0/
- // @namespace https://gf.qytechs.cn/users/4792
- // @supportURL https://gf.qytechs.cn/scripts/4611/feedback
- // @compatible Chrome tested with Tampermonkey
- // ==/UserScript==
- unsafeWindow.viewsource = function () {
- window.location = "view-source:" + window.location.href;
- };
- // ==============
- var body = document.body;
- if (body !== null) {
- var div = document.createElement("div");
- div.setAttribute('id', 'viewsource');
- div.innerHTML = "<center><button onclick='javascript:viewsource()'>Click to view source!</button></center>";
- body.appendChild(div);
- document.getElementById("viewsource").style = "position: fixed;right: 0;left: 0;bottom: 0px;margin: auto;";
- }
- // ==============
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址