您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
2020/3/5 上午9:02:22
当前为
// ==UserScript== // @name 复制道客巴巴(火狐可用,谷歌不可用) - doc88.com // @namespace Violentmonkey Scripts doc88 // @match *://www.doc88.com/* // @grant none // @version 1.1 // @author - // @description 2020/3/5 上午9:02:22 // ==/UserScript== $(document).ready(function () { var btn05 = $("<input type='button' id='wzmBtn' value='显示当前页' style='height:50px;font-size: 14px; position: fixed; left: 00px; top: 300px;z-index:65536'>"); $("body").append(btn05); document.getElementById("wzmBtn").addEventListener("click", function () { showtext(); }); }); function showtext() { var canName = "page_" + document.getElementById("pageNumInput").value; var canvas = document.getElementById(canName); var dataUrl = canvas.toDataURL(); window.open(dataUrl, "toDataURL() image"); }