FRIHOST FORUMS SEARCH FAQ TOS BLOGS COMPETITIONS
You are invited to Log in or Register a free Frihost Account!


Firefox extensions





BlueVD
Hello folks,
Without further a due, here's my problem:
I'm trying to develop a FireFox3 extension that would have to repeat certain tasks on a website (refreshing, inputting data, etc), something like a bot.
The problem is that everything is timebased and needs to be done at a specific moment in time.
While reading the docs from mozilla site I didn't find a specific chart as to the flow of execution for extensions and their memory retainment.
If anybody could please provide this info, I'd be thankful.
Cheers!
Stubru Freak
It's perfectly possible to do this. Just calculate the amount of seconds until the time you want your code to execute, then use setTimeout. There's a margin of error of a few milliseconds. I guess that's not a problem?
jmraker
If the milliseconds are a problem, you can use
http://ejohn.org/blog/timer-and-interval-offset/
Related topics
Which Firefox Extentions?
keep your adblocking up to date
Mass Installer: install all of your firefox extensions @once
my-indonesia
Completed project
Internet Explorer 7 (beta 2 preview)
My Internet Explorer keeps crushing.
firefox extensions
What are your Firefox extensions
FireFox Extensions
Firefox Profile
Firefox Extensions Misfiring
Firefox extensions
Download videos from Youtube, Google, Myspace, Brake.com
Reply to topic    Frihost Forum Index -> Scripting -> Others

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.