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 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
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