How To Copy And Open Tab URL From Address Bar

Support for iMacros. The iMacros software is the unique solution for automating every activity inside a web browser, for data extraction and web testing.
Forum rules
Before asking a question or reporting an issue:
1. Please review the list of FAQ's.
2. Use the Google search box (at the top of each forum page) to see if a similar problem or question has already been addressed. This will search the entire contents of the forums as well as the iMacros Wiki.
3. We can respond much faster to your posts if you include the following information:

CLICK HERE FOR IMPORTANT INFORMATION TO INCLUDE IN YOUR POST

Answering your own posts (e.g. attempting to "bump" your topic) drops your topic from the list of unanswered threads, so it may actually receive less views.
Post Reply
User avatar
thecoder2012
Posts: 248
Joined: Sat Aug 15, 2015 5:14 pm
Location: Internet
Contact:

Re: How To Copy And Open Tab URL From Address Bar

Post by thecoder2012 » Sat May 05, 2018 7:31 am

kentaifina wrote:How to Copy and open tab URL From address bar ?
example :
http%3A//example.com/201609123456789
I need copy 201609123456789
See https://wiki.imacros.net/!URLCURRENT and https://wiki.imacros.net/EVAL

Example:

Code: Select all

SET myval EVAL("('{{!URLCURRENT}}'.match(/\\/([^\\/]+)$/))[1];")
PROMPT {{myval}}
URL GOTO = https://www.google.com/search?q={{myval}}
Join 9kw.eu Captcha Service now and let your iMacros continue downloads and scripts while you sleep. - Custom iMacros? Contact me!
Post Reply