[培训]《安卓高级研修班(网课)》月薪三万计划,掌握调试、分析还原ollvm、vmp的方法,定制art虚拟机自动化脱壳的方法
s创建按钮的代码,在页面上没有按钮啊
// ==UserScript==
// @name Hello World
// @namespace
// @description
// @include https://www.bixia.org/*
// @include https://bixia.org/*
// ==/UserScript==
(function() {
'use strict';
var button = document.createElement("input"); //创建一个input对象(提示框按钮)
button.setAttribute("type", "button");
button.setAttribute("value", "下载");
var x = document.getElementById("maininfo");
x.appendChild(button);
// Your code here...
})();
油猴脚本增加按钮是这样的,但是我的代码没有显示增加的按钮。
原来的页面是一个html文件,嵌入了js脚本,我不想修改
原来的html文件,嵌入一段油猴脚本可以做到吗?