【问题标题】:iMacros selecting links in a classiMacros 选择类中的链接
【发布时间】:2013-04-07 23:25:09
【问题描述】:

这些是我要选择并在新标签中打开的链接。

<div class="text-right" style="border: 2px solid rgb(0, 0, 255);"><a href="http://thisisaurl.com/klw4azh.html">Fine</a></div>

我要选择多个链接,并且网址都不同。我可以突出显示其中包含链接的 div,但我永远无法真正选择链接并在新选项卡中打开它。有人可以帮帮我吗?

【问题讨论】:

    标签: macros imacros


    【解决方案1】:

    试试这个:

    tag pos=1 type=a attr=href:http://thisisaurl.com/* extract=href
    tab open
    tab t=2
    url goto={{!extract}}
    

    这将刮掉第一个链接并在新标签中打开它,如果您需要第二个链接,只需更改 pos 索引

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2010-10-16
      • 1970-01-01
      • 1970-01-01
      • 2016-08-22
      • 1970-01-01
      相关资源
      最近更新 更多