psylem Posted June 23, 2008 Posted June 23, 2008 (edited) For all the Greasemonkey fans out there who also love AutoIt, I hacked this together, not sure if it's actually useful, but have a play and see what you think...http://potato.codefreaks.com.au/AutoItmonkey.xpiIt's a branch of the latest release of Greasemonkey (Ver 0.8.20080609.0) with some added API functions:GM_clearCookies(domain): removes all cookies including session cookies for a given hostGM_openFile(filePath): opens any file using the default opener for that file typeGM_runAU3(au3Path): this is the neat one, it executes an AutoIt scriptFirstly, uninstall Greasemonkey (you wont loose your existing userscripts). Then install the version linked above.Beware: You have no reason to trust me, I posted this in the Developer Chat section because I figured people here would be able to confirm that there was nothing malicious going on here. If you can't do so then just don't run it. Or run it in a virtual machine, with a super paranoid firewall. I don't want to encourage unsafe practices, but I also want to share this little gem with some folks here who might appreciate it. FYI the only code I've changed is in greasemonkey.js and utils.js if you want to do a diff against the official release. Also, you need to decide for your self if you really want your userscripts to have all the power of AutoIt and make up your mind about the security implications involved in allowing this. Personally, I think it rocks.I forgot to mention, the first time you try to run an AU3 script it will prompt you for the location of the AutoIt executable (C:\Program Files\AutoIt3\AutoIt3.exe by default). Locate the file on your file system and it will remember from then on. Edited June 23, 2008 by psylem
James Posted January 16, 2009 Posted January 16, 2009 Nice work! I will install it when I am back on my laptop. Blog - Seriously epic web hosting - Twitter - GitHub - Cachet HQ
youknowwho4eva Posted January 20, 2009 Posted January 20, 2009 I haven't tried it so I can't comment, but My Ticket Monkey Can! sorry just the first thing I thought of when I saw autoitmonkey Giggity
JRowe Posted January 20, 2009 Posted January 20, 2009 Ok, I'll bite. What's a ticket monkey? [center]However, like ninjas, cyber warriors operate in silence.AutoIt Chat Engine (+Chatbot) , Link Grammar for AutoIt , Simple Speech RecognitionArtificial Neural Networks UDF , Bayesian Networks UDF , Pattern Matching UDFTransparent PNG GUI Elements , Au3Irrlicht 2Advanced Mouse Events MonitorGrammar Database GeneratorTransitions & Tweening UDFPoker Hand Evaluator[/center]
ResNullius Posted January 21, 2009 Posted January 21, 2009 Ok, I'll bite. What's a ticket monkey?This maybe:
JRowe Posted January 21, 2009 Posted January 21, 2009 Ahh, I see. [center]However, like ninjas, cyber warriors operate in silence.AutoIt Chat Engine (+Chatbot) , Link Grammar for AutoIt , Simple Speech RecognitionArtificial Neural Networks UDF , Bayesian Networks UDF , Pattern Matching UDFTransparent PNG GUI Elements , Au3Irrlicht 2Advanced Mouse Events MonitorGrammar Database GeneratorTransitions & Tweening UDFPoker Hand Evaluator[/center]
youknowwho4eva Posted January 23, 2009 Posted January 23, 2009 The radio commercial for it is a lot better. Giggity
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now