Imacros replace text element?

Discussions and Tech Support related to the iMacros Firefox Add-on, including the built-in Javascript scripting interface for playing .js files.
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
tieuthienma
Posts: 1
Joined: Mon Nov 18, 2013 4:25 am

Imacros replace text element?

Post by tieuthienma » Mon Nov 18, 2013 4:34 am

I have a HTML like this :

Code: Select all

<div data-dojo-attach-point="wrapper" id="c-container-wrapper" class="test"><div><h1>7</h1><div style="background:....
Because it's a countdown time so i want to use imacros to change more time at :

Code: Select all

...<h1>7</h1>...
I want to add more time. ex :

Code: Select all

 <h1>70</h1>....
This is my code :

Code: Select all

VERSION BUILD=8530828 RECORDER=FX
TAB T=1
SET !EXTRACT_TEST_POPUP NO
SET !TIMEOUT_STEP 1000
TAG POS=1 TYPE=H1 ATTR=TXT:15 EXTRACT=TXT CONTENT=EVAL("var s=\"{{!EXTRACT}}\";s+=10;")
The code is not work.I need somebody to help.

Thank you very much !
Post Reply