Random select drop down menu imacros
问题 I am trying to figure out how to randomized a drop down menu in iMacros. This is the current script. TAG POS=1 TYPE=SELECT FORM=ACTION:/es/crear-tu-blog/ ATTR=NAME:domain CONTENT=$activos-blog.net There are like 30 alternative for this drop down menu , I want to make it select a random alternative. How can i do this?. 回答1: You need something like this: SET !VAR1 EVAL("var randomDomain=Math.floor(Math.random()*30 + 1); randomDomain;") TAG POS=1 TYPE=SELECT FORM=ACTION:/es/crear-tu-blog/ ATTR