小编Hri*_*esh的帖子

Spyder 5 未找到 QCoreApplication 实例。未应用应用程序补丁

升级后出现以下错误 Spyder 5

  No QCoreApplication instance found. Application patches not applied. You have to call load_stylesheet function after instantiation of QApplication to take effect. 
Run Code Online (Sandbox Code Playgroud)

界面看起来也“不好”(我猜没有样式表)。

显示 5.0 - 1

降级到 Spyder 4 会导致所有内容都出现在单个列中(代码区域、控制台、变量资源管理器等,所有这些都在其他列之下,并且有丑陋的重叠以使其无法使用)。

我该如何解决这个问题?

spyder

14
推荐指数
2
解决办法
8308
查看次数

模糊代码在Greasemonkey脚本中引发错误

我有一个Greasemonkey脚本,我想要混淆.我想知道可用的"Packer"Javascript混淆器出了什么问题.

它压缩脚本很好,但安装后,脚本不起作用.是否有任何PHP类会混淆/打包GM脚本并保留功能?或者我该怎么做呢?

错误:

Timestamp: 01-05-2013 13:11:35
Error: missing ; before statement
Source File: file://file_path
Line: 1
Run Code Online (Sandbox Code Playgroud)

脚本:

// ==UserScript==
// @name           Test
// @namespace      http://*
// @description    Test
// @require         http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js
// ==/UserScript==

var SomeVar = "Something";
GM_setValue("foo","bar");
var AnotherVar = GM_getValue("foo");
alert(AnotherVar);
Run Code Online (Sandbox Code Playgroud)

打包脚本:

eval(function(p,a,c,k,e,r){e=String;if(!''.replace(/^/,String)){while(c--)r[c]=k[c]||c;k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('0 3="4";5("1","6");0 2=7("1");8(2);',9,9,'var|foo|AnotherVar|SomeVar|Something|GM_setValue|bar|GM_getValue|alert'.split('|'),0,{}))
Run Code Online (Sandbox Code Playgroud)

javascript php obfuscation greasemonkey

1
推荐指数
1
解决办法
3318
查看次数

标签 统计

greasemonkey ×1

javascript ×1

obfuscation ×1

php ×1

spyder ×1