Help me with firefox extension


I have almost ready Firefox extension. I need to simulate a link click event on page from it.

The code must work with links of format (it must execute onclick code and then load the page):

<a href="" onclick="alert('clicked');">Example</a>

Here's the code:


[url removed, login to view]("DOMContentLoaded", random_walker.page_load, true);


function page_load(ev) {

var link = find_link([url removed, login to view])

if ([url removed, login to view] && (typeof([url removed, login to view]) == 'function'))

[url removed, login to view](); ///// THIS DOESN'T WORK!


I know, this is very simple but I haven't time to find the solution.

The extension works and does its work well but it cannot click the link, I want only this part of code.

Please note: javascript in extension doesn't behave exactly as in browser (that's why click() doesn't work)

I'll pay only after you give me full working code. If I like your solution, perhaps I'll select you for the next Firefox tasks.

You can see iMacros extension sources, it does exactly I want.

Taidot: Javascript, Tietojen kaavinta verkosta

Näytä lisää: web scraping solution, web scraping part time, sources format, help find , firefox web, find help, firefox extension onclick, firefox javascript originaltarget, simulate, load ready, imacros, help me with work, firefox, extension, ev, browser extension, scraping function javascript, javascript load click, firefox amp, imacros simple javascript, web scraping firefox, imacros click, load doesn, javascript click event, scraping full time

Tietoa työnantajasta:
( 2 arvostelua ) Amsterdam, Netherlands

Projektin tunnus: #525527