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 search box (at the top of each forum page) to see if a similar problem or question has already been addressed.
3. Try searching the iMacros Wiki - it contains the complete iMacros reference as well as plenty of samples and tutorials.
4. We can respond much faster to your posts if you include the following information:CLICK HERE FOR IMPORTANT INFORMATION TO INCLUDE IN YOUR POST
Post Reply
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