![]() ![]() |
i want to click on "add to my account" button in mediafire to import the link to my files automatically example
the button html [li class="add"][a onclick="SaveFileToMyAccount();return false;" href="#"]Add to my account[/a][span style="width:110px;left:-60px;" class="alt point-down tooltip"]Add to my account[/span][/li] Thanks For Your Help |
![]() ![]() |
It's a link, not a button element so I'm not sure there's a way to simulate clicking it. Anyone? But you could try making a one-line script.js that calls SaveFileToMyAccount(); and insert it into the document with:
var script = document.createElement("script");
script.type = "text/javascript";
script.src = "http://example.com/script.js";
document.body.appendChild(script);
|
![]() ![]() |
Thanks mike but how could i do so i have no background for programing generally javascript specially so if any one can help in detail i would be grateful Regards |
![]() ![]() |
this would be good too if possible
|
![]() ![]() |
zess
can any one here know how to do so ?????? |
![]() ![]() |
any idea how to do this ????? |
![]() ![]() |
// ==UserScript==
// @name Auto add to my account
// @author me
// @namespace http://userscript.org
// @description Auto add to my account mediafire
// @version 0.1
// @include *mediafire.com/*
// ==/UserScript==
var s = document.createElement('script')
s.textContent = "setTimeout('SaveFileToMyAccount()', 1000)"
document.head.appendChild(s)
|


