chickenfoot

What is the best way to do web scripting/web macros?

I'm trying to streamline some of our tasks at my place of work, and it seems that quite a lot of our developers' time is spent doing semi-mechanical tasks on the web (specifically, editing online stores that use web-based interfaces). As such, I've been looking into some solutions that will allow these tasks to be done by scripts since I...

Chickenfoot JS question

Hello ppl, I am trying to make firefox automatically visit a set of webpages and report to me somehow how much it took to load each page. My best option so far seems to be the ChickenFoot extension. The following program however always outputs the same load time (3 milliseconds): function end_timer(start){ stop = new Date() out...

Why this XPath sentence is wrong for Firefox?

click(new XPath("/HTML[1]/BODY[1]/DIV[1]/DIV[2]/DIV[1]/DIV[2]/DIV[1]/DIV[2]/DIV[1]/DIV[1]/DIV[2]/DIV[1]/DIV[1]/DIV[1]/DIV[1]/DIV[2]/DIV[1]/DIV[1]/DIV[1]/DIV[1]/DIV[1]/DIV[2]/DIV[1]/SPAN[1]/SPAN[2]/#text[1]")); ..or var foo = document.evaluate("/HTML[1]/BODY[1]/DIV[1]/DIV[2]/DIV[1]/DIV[2]/DIV[1]/DIV[2]/DIV[1]/DIV[1]/DIV[2]/DIV[1]/DIV[1...

Javascript, inspecting window for existing Document objects (frames, DOM trees)

Hi all, my task is to get (updating) data from a GMail page with Greasemonkey's injected scripts. I want to get each object of HTMLHtmlElement (<html>) type from an opened page. What is a best way to enumerate all <something>.document instances existing in Firefox's currently open tab? Greasemonkey has unsafeWindow, but don't know what ...