samedi 31 janvier 2015

how to save current url using javascript [Imacros]


I am searching for such method to save the current url of the webpage to a file. after alot search I found this working script:



SET !ERRORIGNORE YES


SET !EXTRACTADD {{!URLCURRENT}} SAVEAS TYPE=EXTRACT FOLDER=c:\ FILE=URL.CSV


But the point is that how to use this in javascript . I just tried as following :



var link;


link +="SET !ERRORIGNORE YES": link +="SET !EXTRACTADD {{!URLCURRENT}}";`` link +="SAVEAS TYPE=EXTRACT FOLDER=c:\ FILE=URL.CSV";


but this is not working for me . I am just a noob , Help me out with a easy way :)


Thanks in Advance





Aucun commentaire:

Enregistrer un commentaire