有 28 个支持问题
- 全部
- 疑问
- 建议
- 问题
James E Burns
2019年4月14日
Options page no longer shows more than default in list
1.) Create and save js or css for multiple sites/domains in JScript Tricks
2.) Go to Options page for JScript Tricks
3.) On the left hand side, notice that only "Default" is listed instead of every domain you saved js and css for
In the chrome console, I see the following error:
options.html:1 Uncaught SyntaxError: Unexpected token u in JSON at position 1
at JSON.parse (<anonymous>)
at run (options.js:121)
at save (options.js:58)
at run (options.js:103)
at HTMLDocument.<anonymous> (options.js:377)
at o (jquery.js:2)
at Object.fireWith (jquery.js:2)
at Function.ready (jquery.js:2)
at HTMLDocument.B (jquery.js:2)
Options.js:
========
for(k in keys)
{
var v = keys[k];
var lsd = JSON.parse(localStorage[v]); <<< problem
addMenuBox(v,lsd);
}
- 举报非法内容
- 复制链接
James E Burns
2019年4月14日
Looks like LocalStorage got more properties that weren't accounted for. The following fixes the issue for me. In options.js, changing if(v!='cacheCss' && v!='cacheScript' && v!='info' ) TO if(v!='cacheCss' && v!='cacheScript' && v!='info' && v!='length' && v!='key' && v!='clear' && v!='getItem' && v!='removeItem' && v!='setItem')
- 举报非法内容
- 复制链接
Charles Ellis
2017年10月12日
Lost Data
Restarted computer (Linux) and my Default script is blank. I've saved the file many times. How can I recover my 1000+ lines of code?
- 举报非法内容
- 复制链接
Kamil Szostek
开发者2017年11月4日
You can use Import button and copy/paste content of the exported file. Otherwise it is impossible to recover you scripts. Sorry.
- 举报非法内容
- 复制链接
Charles Ellis
2017年10月15日
UPDATE: extension had crashed and it cleared everything out like it was just installed.
- 举报非法内容
- 复制链接
PC User
2017年6月14日
save script data to google drive "encrypted"
save script data to google drive "encrypted" and then signing in with another browser it can reverify using a password.
- 举报非法内容
- 复制链接
PC User
2017年6月14日
Add code igniter highlighting
Add code igniter highlighting
- 举报非法内容
- 复制链接
James Burns
2017年3月30日
CMD+S doesn't save on a Mac - Lose data with CMDL+S
For this extension running on a Windows machine, using Ctrl+S with the JScript Editor open prevents the browser's default "Save Page" feature from executing and then calls JScript Edtor to save the script data in the editor.
The CTRL+S is command is native to Windows users but Mac users use CMD+S for saving. When you use CMD+S, the behavior isn't the same as the WIndows machine and the "Save Page" dialog appears, which closes the JScript Editor without saving.
Please make CMD+S (and maybe also CTRL+S) save in JScript Editor. I think you can detect the OS with the browser information.
- 举报非法内容
- 复制链接
Никита Карпов
2016年8月5日
global variables
Can I get window object on current page, to set or get global variables?
- 举报非法内容
- 复制链接
Kamil Szostek
开发者2016年9月14日
console.log(window) works fine. Maybe you need to turn the autorun option on. What's more, remember that the script runs at the page openning, not "on page ready".
- 举报非法内容
- 复制链接
某位 Chrome 应用商店用户
2016年3月29日
Script
How i have to edit this to work?
javascript:var progressElm=$("<div>da</div>");$("#am_widget_Farm").before(progressElm);var total=$(".farm_icon_a").length;var farms=$(".farm_icon_a");var fasend=function(a){if(a==total)return;$(farms[a]).trigger("click");progressElm.html(a+" / "+total);setTimeout("fasend("+a+"+1)",250+Math.random(150))};fasend(0);
- 举报非法内容
- 复制链接
Joyce Willems
2015年12月5日
Open-source or plugin/addon/package manager
Any chance making it opensource on for example git or something?
Or something like a plugin/addon/package manager?
Letting others reviewing your source could (will for sure) speed up improvements, fixes and adding more great options
Guess alot would love to help adding syntax highlighting, cloud api intergrations, some basic script manupilation functions every desktop editors have, like: search/replace, folding, custom content styling (size,color,tab-indents etc) some great little helpers like: colorpickers, url/base64 encoders/decoders, script minifiers/obfusicators, xml/json viewers/parsers etc etc)
Regards,
Joyce
- 举报非法内容
- 复制链接
Kamil Szostek
开发者2016年6月20日
All you've mentioned would force me to create version 1.0.0 ;-) Sorry, I suffer from lack of time now, but will try to rewrite some parts to make it more useable...
- 举报非法内容
- 复制链接
Joyce Willems
2015年12月5日
Save/load import/export or download button for scripts
considering losing all my precious scripts because i cleaned my browser cache myself or because apps like "Bleachbit" or "CCleaner" clean it for me!
It would be GREAT and more save if there is an choice/option to save/load and/or import/export scripts on Dropbox or GoogleDrive or just simply an "download scripts" button generating an zip file containing all scripts where filename.js/css is the domain its intended for)
- 举报非法内容
- 复制链接
Kamil Szostek
开发者2016年7月27日
Simple Import/Export added. Report bugs if any. Thanks!
- 举报非法内容
- 复制链接
Terry DeSimone
2015年11月12日
Export ?
after using multiple programs to clean cache or whatever happened.. all my saved scripts were gone :(
and i cant manually re-add them either.
SUGGESTIONS:
----------------------------
1.) allow importing/exporting script file (JSON, XML, CSV)
2.) allow to manually add sites (form)
- 举报非法内容
- 复制链接
Kamil Szostek
开发者2016年7月27日
Simple Import/Export added. Report bugs if any. Thanks!
- 举报非法内容
- 复制链接
Joyce Willems
2015年12月5日
I definitely agree!!! these days i just copy/past/save my scripts in notepad or atom just to be sure!!!
- 举报非法内容
- 复制链接