Re: [greasemonkey-users] GM - Bug when over 165 characters

2012-05-05 Thread Kwah
This string has a length of 73 characters. Together with a 91 characters long scriptname, the path is 255 characters long. For the 92 chars, it's 257. You know 256 is some kind of magic number. I think it might be good to investigate in this direction. 256 does appear to be a magical

Re: [greasemonkey-users] Google Chrome vs. @match

2011-10-20 Thread kwah
On 20/10/2011 21:35, Dave Land wrote: On Oct 20, 2011, at 12:28 PM, Anthony Lieuallen wrote: On 10/20/2011 03:18 PM, Dave Land wrote: ... some pages that do NOT match the @include and @match lines, ... // @match *://*.facebook.com/* // @include *://*.facebook.com/*

Re: [greasemonkey-users] delete many variables at one time in GM

2011-10-18 Thread kwah
GM_listValues(), a quick loop and GM_deleteValue() is probably your best bet. kwah On 18/10/2011 07:39, zi gengdi wrote: I stored many variables by doing GM_setValue(); Is there a way to delete all these variables at one time? in Firefox, about:config, variables: count and kwtmp

Re: [greasemonkey-users] What is the fundamental difference between greasemonkey and iMacro?

2011-10-11 Thread Kwah
I might be completely off-the-mark with this, but I think it boils down pretty well to iMacro can record/simulate mouse movements, navigation and clicks etc pretty well and in a very straightforward way, whereas Greasemonkey can do pretty much anything (including the above but with a little bit of

Re: [greasemonkey-users] How to temporary save some kB of data?

2011-09-28 Thread kwah
logging/messaging method): http://jsbin.com/upacaq/edit#javascript,html,live You'll see on the right-hand pane that all the value/key pairs are listed using a loop with no knowledge of the key names :) kwah -- You received this message because you are subscribed to the Google Groups

Re: [greasemonkey-users] How secure is greasemonkey?

2011-08-31 Thread Kwah
With all due respect, a little more courtesy and a little less sniping would be appreciated. I am in agreement with Anthony - if the first response was a simple yes or no (from a public list nonetheless), would you have blindly accepted it as the gospel truth? The question that you asked is

Re: [greasemonkey-users] How secure is greasemonkey?

2011-08-31 Thread Kwah
to know everything.. but that is a rant for another night :] ). Kind regards, kwah * other than malicious scripts and unauthorised access to your system, of which I don't believe neither are issues that Greasemonkey should / can reasonably protect you from. I don't mind sharing the reasoning behind

Re: [greasemonkey-users] Newbie question

2011-08-28 Thread Kwah
Sounds like you're having problems with your @includes matching multiple frames on a page, and the script will be executing on each of them for every pageload. For the facebook games, IIRC they run on non-facebook servers via an iframe and many make use of AJAXy code - in other words, clicking a

Re: [greasemonkey-users] A Noob needs help

2011-08-15 Thread Kwah
or the userscript that is the issue. kwah On 14 August 2011 19:44, Harman Hundal harmanshun...@gmail.com wrote: Thank you reply Matt, I tried using the script you gave me, it doesn't work. I'd like to chat with you for 10 min over gmail chat if you have time. Can you please let me know when you'll

Re: [greasemonkey-users] Re: VKontakte MP3 music download script

2011-08-09 Thread Kwah
Where did you install the script from? On 9 Aug 2011 12:53, D@nilYcH dmitrievdi...@gmail.com wrote: How can I contact him? I don't see any info about the author -- You received this message because you are subscribed to the Google Groups greasemonkey-users group... -- You received this

Re: [greasemonkey-users] Greasemonkey script hanging Firefox 5. How to debug?

2011-08-08 Thread Kwah
files too though so if you set it too low, Firefox will trigger it too often; else too large and it will hang for longer. kwah On 8 August 2011 04:45, John Nagle na...@animats.com wrote:  I have a complex Greasemonnkey script which hangs Firefox when working on certain pages. When Firefox hangs

Re: [greasemonkey-users] VKontakte MP3 music download script

2011-08-08 Thread Kwah
Try contacting the script's author :) kwah On 8 August 2011 09:47, D@nilYcH dmitrievdi...@gmail.com wrote: Hi all, I've used this script some months ago but then it stopped working, Is there any new version which works correctly now? -- You received this message because you are subscribed

Re: [greasemonkey-users] Greasemonkey script hanging Firefox 5. How to debug?

2011-08-08 Thread Kwah
specifically what's going on, using different messages for different areas of the code. kwah On 8 August 2011 04:45, John Nagle na...@animats.com wrote:  I have a complex Greasemonnkey script which hangs Firefox when working on certain pages. When Firefox hangs, its visible window greys out, CPU

Re: [greasemonkey-users] Is This Addon Suppose to be Useable?

2011-06-30 Thread Kwah
to replicate the bug. Until then, any attempts to help will be a blind fishing expedition with little idea of what the /actual/ problem is. Regards, kwah -- You received this message because you are subscribed to the Google Groups greasemonkey-users group. To post to this group, send email

Re: [greasemonkey-users] Can't install a specific script.

2011-06-17 Thread Kwah
- a full colour icon indicates that it is enabled and faded or greyscale indicates that Greasemonkey is disabled. Alternatively toggling the [ Tools Greasemonkey Enabled ] menu checkbox allows you to enable / disable Greasemonkey. Regards, kwah On 17 June 2011 10:22, FanFang alidul...@gmail.com

Re: [greasemonkey-users] Re: setCommonValue

2011-06-17 Thread Kwah
-...@googlegroups.com mailing list http://groups.google.com/group/greasemonkey-dev as it crosses into the development of Greasemonkey itself (a feature request) as opposed to purely a user-scripting issue. Regards, kwah -- You received this message because you are subscribed to the Google Groups

Re: [greasemonkey-users] How can i change HTTP header value using script?

2011-06-17 Thread Kwah
Hi Mathan, The only thing that comes to mind is using GM_xmlhttpRequest() http://wiki.greasespot.net/GM_xmlhttpRequest with defined headers and then loading the page in a way that might be similar to the fetching of pages in an AJAX web app. Regards, kwah On 17 June 2011 10:07, mathan

Re: [greasemonkey-users] It is weird... where'd it go?

2011-05-18 Thread Kwah
Greasepot wiki: http://wiki.greasespot.net/Troubleshooting_(Users) Regards, kwah -- You received this message because you are subscribed to the Google Groups greasemonkey-users group. To post to this group, send email to greasemonkey-users@googlegroups.com. To unsubscribe from this group

Re: [greasemonkey-users] Anyone have time to write this very simple user script for me?

2011-05-15 Thread Kwah
I strongly recommend the Firebug addon for scripting - you won't be able to use any of the greasemonkey-specific functions but it allows easy testing / script creation :) Battle on       Fight at [0:0:0] Result  | Attacker wins (100%) | after ~ 1 rounds Debris Field    103.500 Metal (230%),

Re: [greasemonkey-users] Menu commands consistency

2011-05-15 Thread Kwah
now, and any changes will likely be considered a bug afaik :) Regards, kwah -- You received this message because you are subscribed to the Google Groups greasemonkey-users group. To post to this group, send email to greasemonkey-users@googlegroups.com. To unsubscribe from this group, send

Re: [greasemonkey-users] execute greasymonkey only once per website

2011-05-14 Thread Kwah
Have you checked whether the page you are loading uses frames or iframes ('embedded sites')? If it does, what you see as one page-load may actually be 2 or more documents loading on the same page. In other words, your script is most likely running multiple times due to there being more than one

[greasemonkey-users] Overzealous Greasepot spam blacklist

2011-05-07 Thread Kwah
As per the instructions instructions in the error message (to send a message to the gm-users list): I'm trying to add a link to the http://wiki.greasespot.net/Profile_directory page for the Mozilla kb article about the Firefox User Profiles. Its is the following text on the third line that is

[greasemonkey-users] Re: Overzealous Greasepot spam blacklist

2011-05-07 Thread Kwah
Nevermind, remembered that the original link was to the old mozilla.org page at http://www.mozilla.org/support/firefox/profile which seemed to work beforehand and trying it just now works :) On May 8, 3:04 am, Kwah kwa...@gmail.com wrote: As per the instructions instructions in the error

Re: [greasemonkey-users] Display confirmation box when clicking on each link?

2011-04-10 Thread Kwah
Adding event handlers via onClick etc does not work in Greasemonkey scripts. See #2 in this post from 2005 ;) http://www.oreillynet.com/pub/a/network/2005/11/01/avoid-common-greasemonkey-pitfalls.html?page=3 Regards, kwah On 10 April 2011 22:02, stAAsek michal...@gmail.com wrote: I'm trying

Re: [greasemonkey-users] Is there a version of Greasemonkey 0.8 available for Firefox 4?

2011-04-10 Thread Kwah
with the Greasepot wiki over the next few weeks :) Regards, kwah -- You received this message because you are subscribed to the Google Groups greasemonkey-users group. To post to this group, send email to greasemonkey-users@googlegroups.com. To unsubscribe from this group, send email to greasemonkey

Re: [greasemonkey-users] Re: How to select in Gmail the elements with message?

2011-02-11 Thread Kwah
I've not checked the link you gave but document.querySelectorAll() uses css syntax to select dom items. On 11 Feb 2011 11:19, Lucas Malor maplefallingl...@gmail.com wrote: up On Feb 9, 2:34 pm, Lucas Malor maplefallingl...@gmail.com wrote: I tried to select in Gmail the...

Re: [greasemonkey-users] How can I make use of my GM script via a VB executable

2011-01-12 Thread Kwah
I'm unsure how to do what you are requesting (AFAIK it isn't possible unless you use VB to control Firefox somehow) but I believe that the reason it doesn't work currently is because you are completely bypassing Firefox and Greasemonkey, thus causing scripts to not be run. On 11 Jan 2011 21:16,

Re: [greasemonkey-users] Stopped Working

2011-01-10 Thread Kwah
Have you tried using a fresh profile? Testing it on a new profile will help figure out if is a Greasemonkey / Firefox / other addon problem. http://support.mozilla.com/kb/Managing profiles Cheers On 10 January 2011 16:43, Jo jo5...@gmail.com wrote: Operating System: Windows Vista FF

Re: [greasemonkey-users] Re: Getting script to run once the page fully loads

2011-01-07 Thread Kwah
You should read what Anthony wrote and actually think about what is happening when your code runs. If you load a different page to the one you are currently on, then the script will stop running and everything starts over from a blank page. What you are trying to do is slightly absurd and goes

Re: [greasemonkey-users] Update Script

2011-01-06 Thread Kwah
IIRC you need to define the @namespace metatag to stop it being added automatically. Then it'll recognise that the scripts are from the same source. On 5 Jan 2011 22:34, ericc eric.cras...@gmail.com wrote: Hello all In the header of my script, I have put the following code, to auto- update it :

Re: [greasemonkey-users] following 302 redirect

2010-12-08 Thread Kwah
Try looking into the HEAD request of GM_xmlhttpRequest and grab the location header that gets returned (I'm assuming that the 302s will be followed and IDK what happens with chained redirects). Disclaimer: just what I'd look into researching, not necessarily a correct answer =) On 12/7/10,

[greasemonkey-users] Re: [greasemonkey-dev] First Release Candidate for Greasemonkey 0.9.0

2010-12-06 Thread Kwah
I suspect 're-install a new version' means 'install a script that is currently installed that has an official version higher than the one currently installed' or '(re)install a script that is already installed, overwriting any changes ive made with this version instead' rather than its literal

Re: [greasemonkey-users] Greasemonkey executes appendChild() twice

2010-12-04 Thread Kwah
My users recently had an issue with AVG (safesearch?) causing scripts to run twice - perhaps this is the cause of your issues? On 12/4/10, Plenz p...@lenz-online.de wrote: Thanks for confirming. Meanwhile, I found this entry about the latest FireFox version:

Re: [greasemonkey-users] Some help

2010-12-01 Thread Kwah
Greasemonkey runs after the page has loaded and after any javascript on the page has run. This means that it is not possible to stop javascript on the page from running except in perhaps a few specific circumstances - such as timers etc or if the script is fetched after the dom is loaded eg via

[greasemonkey-users] Re: [greasemonkey-dev] First Release Candidate for Greasemonkey 0.9.0

2010-11-30 Thread Kwah
I've been out of the loop for a while so probably best to verify this yourself, but IIRC there has been an update that allows you to modify the header block (includes/exclude/resource/require etc) directly in the script and changes take effect on the following pageloads. Instinctively I suspect

Re: [greasemonkey-users] Re: WMP plugin control

2010-11-29 Thread Kwah
I suggest using the 'location hack' rather than unsafeWindow. http://wiki.greasespot.net/Location_hack Long story short, if you redirect the page location to a javascript: url (basically the same as typing it into the URL bar), it executes code in the 'page' context (with access to the wmp

Re: [greasemonkey-users] Re: WMP plugin control

2010-11-29 Thread Kwah
(nb, not an issue in this exact case I think but I forgot about line wrap in emails so not everything is formatted *exactly* as I typed it..) On 29 November 2010 23:13, Kwah kwa...@gmail.com wrote: I suggest using the 'location hack' rather than unsafeWindow. http://wiki.greasespot.net

Re: [greasemonkey-users] converting gm script to native extension

2010-10-03 Thread Kwah
If you don't need it to run on multiple domains, HTML 5 localStorage is potentially an option. Several Chrome compatibility replacement functions exist which could help provide the drop-in code that you're looking for. On 10/3/10, dashman erjdri...@gmail.com wrote: i have a relatively big gm

[greasemonkey-users] FirebugMonkey - greasemonkey script debugger??

2010-09-09 Thread Kwah
Has anybody come across FirebugMonkey before? I just stumbled across it again when searching for firebug. It claims: you can debug greasemonkey script with Firebug (you can use the javascript debugger). I found it 7months ago and I didn't have any success because I couldn't understand how to

Re: [greasemonkey-users] Re: facebook

2010-09-07 Thread Kwah
In essence, Greasemonkey does not alter the pages, *SCRIPTS* do that.. Greasemonkey only allows scripts to 'tell it what to do' with the page. *Greasemonkey* does not allow you to see who has unfriended you / alter pages - it is the script that does this. It is within the _script_ that you

[greasemonkey-users] Compatible versions of javascript frameworks

2010-08-30 Thread Kwah
Are there any resources that specify which versions of various JS frameworks are compatible with Greasemonkey? For example: --- framework / version / status (vanilla install) / notes --- jQuery / 1.4.x [3] / incompatible jQuery / 1.3.2 [2] / compatible jQuery / 1.2.6 / compatible /

Re: [greasemonkey-users] Error?

2010-08-28 Thread Kwah
1. I assume that you see this error in the firefox 'error console' - is this correct? Please post the whole error message. 2. Is this an error with firefox or a specific script? The answer to (1) will help with this if you aren't sure. On 8/28/10, Joshlama joshl...@bigpond.net.au wrote: Oh, and

Re: [greasemonkey-users] unique ID for each script install

2010-08-22 Thread Kwah
I'm not sure about the last sentence but you could host the userscript yourself and have it auto insert a unique id each time it is accessed. Or have the script 'ping' your site for a unique id. Or have the userscript generate an id based on the system time that it was first run and work on the

Re: [greasemonkey-users] Re: Greasemonkey not working in new Flickr page layout

2010-07-06 Thread Kwah
Links to the scripts would be nice ;) On 7 July 2010 07:54, mimbrava mimbr...@gmail.com wrote: One that I use allows me to see a group members' photos in the pools that I administer.  Another appends at the end of a comment on what page I saw a photo. On Jul 1, 11:29 pm, cc

Re: [greasemonkey-users] Silent Install (Distribute to Users)

2010-05-26 Thread Kwah
Im not too familiar with exe/msi type stuff but I assume that if you pack a script into one and have it extract to the scripts folder + edit the xml file then *in theory* at least, it is possible though i suppose that there might be problems with ff being open or other stuff but i dont see

Re: [greasemonkey-users] reload page when there is a change in the ip address

2010-05-18 Thread Kwah
I have looked at some of the existing similar scripts, problem with those scripts is those are referring to external websites (say whatismyip.com) to find the ip address. so how do I find a change ip address using javascript? Basically I want to reload my page when there is a switch (from

Re: [greasemonkey-users] How to call a function of another script?

2010-05-08 Thread Kwah
that would depend on where the function is located/defined surely? I mean, if it is placed into the page then any script should be able to 'see' / use On 5/8/10, fscussel fernando.scus...@gmail.com wrote: Is it possible to call a function of another running greasemonkey script? -- You

Re: [greasemonkey-users] Re: Storage

2010-03-16 Thread Kwah
On 15 March 2010 04:03, Sam qufigh...@gmail.com wrote: you could always install wamp or lamp setup and store it to a mysql server on localhost through an apache php or perl or python or I'd imagine any sort of script.  Then you have practically limitless storage without worrying about slowing

Re: [greasemonkey-users] Re: Storage

2010-03-14 Thread Kwah
this value as well. /quote [1] - http://www.neobux.com/ [2] - http://www.neobux.com/?r=kwah [3] - https://developer.mozilla.org/en/Storage ps, oops, sorry I thought that I had sent this before but it was sitting here as a draft =/ -- You received this message because you are subscribed

[greasemonkey-users] Storage

2010-03-11 Thread Kwah
Hi, Basically, what I'm looking to do is cache historical data locally from a website that only shows data for the past 10/15 days so that I don't have to keep transferring everything over to a spreadsheet manually. I'm quite conscious of the volume of data this will end up storing, however as I

Re: [greasemonkey-users] Storage

2010-03-11 Thread Kwah
On 11 March 2010 15:22, Anthony Lieuallen arant...@gmail.com wrote: On 03/11/10 09:30, Kwah wrote: Which brings me to my question: do you have had much experience with storing large amounts of data? If so, which methods did you use? None, besides testing. http://groups.google.com/group

Re: [greasemonkey-users] problem in opening a window with window.open

2010-03-10 Thread Kwah
This sounds like an issue with the sandbox, try using unsafeWindow instead of window to test/confirm this. unsafeWindow:: http://wiki.greasespot.net/UnsafeWindow Sandbox stuff:: http://wiki.greasespot.net/Sandbox http://wiki.greasespot.net/Greasemonkey_Manual:Environment If it works using

Re: [greasemonkey-users] Greasemonkey + qTip

2010-03-06 Thread Kwah
On 6 March 2010 11:39, CoolAzura coolaz...@gmail.com wrote: I'm trying to add the qTip script to a site. I've tried two different ways:  script = document.createElement(script);  script.type = text/javascript;  script.src = url to qTip  

Re: [greasemonkey-users] Re: Greasemonkey not working on Firefox 3.6

2010-02-11 Thread Kwah
is enabled, otherwise click it to enable it. Regards, kwah On 11 February 2010 18:43, jmine83 joel.me...@gmail.com wrote: Greasemonkey does appear to be installed and enabled as far as I can tell. By going to Tools Ad-ons then going to Extensions, I see the entry for Greasemonkey and three

Re: [greasemonkey-users] Re: child anchor iteration

2010-02-11 Thread Kwah
search (maybe.. Im too lazy to check right now). Oh, and as a last check, it might be worth checking that the iframe has actually had a chance to load - if not then naturally you will not be able to access its document structure. Regards, Kwah On 12/02/2010, Paul Burckard a.burck...@gmail.com

Re: [greasemonkey-users] Re: MD5 checksum

2010-01-20 Thread Kwah
to grab the image data to input it into any of these functions. Regards, kwah [1] - http://pajhome.org.uk/ [2] - http://pajhome.org.uk/crypt/md5/ [3] - https://developer.mozilla.org/en/DOM/window.atob [4] - https://developer.mozilla.org/en/DOM/window.btoa 2010/1/20 Irvine Kinneas irvine.kinnea

Re: [greasemonkey-users] Run Greasemonkey on Local Pages

2009-12-29 Thread Kwah
2009/12/30 cc carlcl...@lavabit.com: Well, I sort of cheat: I run Apache on my (Windows) machine and serve certain pages from there. It works pretty well for this and other things, although Apache's configuration could be more intuitive. I've heard good things of lighttpd, also, but have never

Re: [greasemonkey-users] Re: Video Playback is really an issue

2009-12-05 Thread Kwah
the issue but figured that I should mention that you might not be the only one experiencing problems. kwah 2009/12/5 harrison3001 tavazz...@gmail.com It's strange, as usual the problem seems to be gone. I cleared some cache, vacuumed sqlite. I'm really confused. I ensure you that the problem

Re: [greasemonkey-users] Feature request: Group installed scripts

2009-12-03 Thread Kwah
I would also wish to search by @include. @include * could perhaps be dealt with by having them listed at the bottom separately (unless @exclude applies). The only way to do this currently AFAIK (barring viewing the sources of each script) is to view the site first and look at the monkey head menu.

Re: [greasemonkey-users] Is there any way to capture the 'script successfully installed' event?

2009-11-28 Thread Kwah
(I'm assuming that the script functions on the page from which the install link was selected.) This assumption is incorrect. It will only ever run on the next page load. I may be filling a few too many blanks with my own thoughts, but I was under the assumption that the process would go

Re: [greasemonkey-users] Re: autopagerize and imgsrc.ru ---get all pics wont work! im new so please help!

2009-11-18 Thread Kwah
STILL WONT WORK! SDGEGEGERGERG! lol In that case, do something helpful and check your error console ( Tools -- Error Console ) One thing that I did notice is that in your message there are some new lines where there shouldn't be - depending on whether you put them there or whether it is

Re: [greasemonkey-users] Re: autopagerize and imgsrc.ru ---get all pics wont work! im new so please help!

2009-11-18 Thread Kwah
inside me suggests that you anonymise the logs if you do not want your username or operating system revealed - eg, your username could contain your real full name and/or your file structure could reveal your operating system. 2009/11/18 Kwah kwa...@gmail.com STILL WONT WORK! SDGEGEGERGERG! lol

Re: [greasemonkey-users] greasemonkey interact with existing js

2009-11-18 Thread Kwah
I fear that things are being made over complicated. Depending on what the script actually does, you may be able to simply create a new userscript and copy paste your existing function to the new userscript. As long as you remember to actually call the function ;) Something like the following