simple userscript engine aimed at power users
Moderators: FranklinDM, Lootyhoof
Re: simple userscript engine aimed at power users
This script isn't compatible. What can happen?
https://greasyfork.org/en/scripts/1203-viewtube-gm
Thanks in advance.
https://greasyfork.org/en/scripts/1203-viewtube-gm
Thanks in advance.
Re: simple userscript engine aimed at power users
it using synchronous XMLHttpRequest(). sorry, this is not supported.
Re: simple userscript engine aimed at power users
Trying to use this on Windows, you mention userscript directory many times in the documentation but never say where this directory is in the filesystem!
I don't have such a directory after installing Guerilla script, where should I create this directory on Windows 7 so I can drop .js files in it?
I don't have such a directory after installing Guerilla script, where should I create this directory on Windows 7 so I can drop .js files in it?
Re: simple userscript engine aimed at power users
in your profile dir. there should be "guerillajs/scripts" directory, and it should be automatically created.
i prolly should add a menu entry to open that directory at least as a new PM tab, so users can copy-paste the path. will think about that. ;-)
i prolly should add a menu entry to open that directory at least as a new PM tab, so users can copy-paste the path. will think about that. ;-)
Re: simple userscript engine aimed at power users
Using your engine instead of GM. Great, thank you.
But what does this error mean?
It appears in the console everytime a page is (re)loaded.
But what does this error mean?
Code: Select all
GM_registerMenuCommand(): stub!
Source File: chrome://guerilla-script-jscode/content/startup.js
Line: 101
Pale Moon 32-bit on Win 7 x64
Re: simple userscript engine aimed at power users
i'm not supporting `GM_registerMenuCommand()` API (and there are no plans to implement it), and userscript wants to use it. it is mostly harmless, you just won't get items in page context menu. still, user may be interested in that fact, so instead of ignoring it completely GS outputs console warning. you may ignore it. or use, for example, Console Squared port -- it can collapse similar strings or block console output per-site.
Re: simple userscript engine aimed at power users
Thanks for clarifying.ketmar wrote:i'm not supporting `GM_registerMenuCommand()` API (and there are no plans to implement it), and userscript wants to use it. it is mostly harmless, you just won't get items in page context menu. still, user may be interested in that fact, so instead of ignoring it completely GS outputs console warning. you may ignore it. or use, for example, Console Squared port -- it can collapse similar strings or block console output per-site.
Pale Moon 32-bit on Win 7 x64
Re: simple userscript engine aimed at power users
i'll prolly add an option to turn that warnings off in one of the next updates. i hope. ;-)
Re: simple userscript engine aimed at power users
It seems that in PM 27 'guerilla' commands are not available in the Developer Console.
Pale Moon 32-bit on Win 7 x64
Re: simple userscript engine aimed at power users
that's 'cause developer console prompt is not the same prompt as shown by shift+f2. they are completely independent: first one is js repl, and second one is "generic cli repl". still, those commands are optional anyway: i didn't used 'em for a year or more. i'll eventually convert some of 'em to menu items.