qq_37884565 2019-10-28 16:23 采纳率: 0%
浏览 459
已结题

求大佬帮忙解决一下这个错误

```(function anonymous(context,fapply
) {
with (context) {(function(module) {"use strict";try {
fapply(module, context, [,,context.CDATA,context.uneval,context.undefined,context.define,context.module,context.console,context.GM_info]);} catch (e) {if (e.message && e.stack) {console.error("ERROR: Execution of script 'New Userscript' failed! " + e.message);console.log(e.stack.replace(/(\(eval at )?[: ]?)|([\s.]*at Object.tms_[\s\S.]*)/g, ""));} else {console.error(e);}}
})(function (context,fapply,CDATA,uneval,undefined,define,module,console,GM_info) {

// ==UserScript==
// @name New Userscript
// @namespace http://tampermonkey.net
// @version

// @include *
// @description try to take over the world!
// @author You
// @match http://*/*
// @grant none
// ==/UserScript==

(function() {

'use strict';
header("Content-Security-Policy: upgrade-insecure-requests");
var button = document.createElement("input"); //创建一个input对象(提示框按钮)
button.setAttribute("type", "button");
button.setAttribute("value", "下载");
button.style.width = "60px";
button.style.align = "center";
button.style.marginLeft = "250px";
button.style.marginBottom = "10px";
button.style.background = "#b46300";
button.style.border = "1px solid " + "#b46300";//52
button.style.color = "white";
button.style="z-index: 99999";
var x = document.getElementsById("root");
x[0].appendChild(button);


// Your code here...

})();
})}

})


```(function anonymous(context,fapply
) {
with (context) {(function(module) {"use strict";try {
fapply(module, context, [,,context.CDATA,context.uneval,context.undefined,context.define,context.module,context.console,context.GM_info]);} catch (e) {if (e.message && e.stack) {console.error("ERROR: Execution of script 'New Userscript' failed! " + e.message);console.log(e.stack.replace(/(\(eval at )?[: ]?)|([\s.]*at Object.tms_[\s\S.]*)/g, ""));} else {console.error(e);}}
})(function (context,fapply,CDATA,uneval,undefined,define,module,console,GM_info) {

  • 写回答

1条回答 默认 最新

  • 深巷里的黑猫 2019-10-28 16:26
    关注

    。。这是神马?? 代码贴到代码块里啊。 而且你这代码好像没贴完整

    评论

报告相同问题?

悬赏问题

  • ¥20 腾讯企业邮箱邮件可以恢复么
  • ¥15 有人知道怎么将自己的迁移策略布到edgecloudsim上使用吗?
  • ¥15 错误 LNK2001 无法解析的外部符号
  • ¥50 安装pyaudiokits失败
  • ¥15 计组这些题应该咋做呀
  • ¥60 更换迈创SOL6M4AE卡的时候,驱动要重新装才能使用,怎么解决?
  • ¥15 让node服务器有自动加载文件的功能
  • ¥15 jmeter脚本回放有的是对的有的是错的
  • ¥15 r语言蛋白组学相关问题
  • ¥15 Python时间序列如何拟合疏系数模型