开发者

Automation tool for Firefox that can manipulate User-Agent or Referrer?

I need to automate some processes in Firefox via Chickenfoot, Greasemonkey, iMacros or any other automation tool. Is any of them allows to change the browser's User-Agent or Referer/Referrer fields?

Thanks a lot!

EDIT: I see people mention to use one of the many Firefox plugins to control Referrer. But the problem is that most of the add开发者_JS百科ons allow to set the referrer manually in the beginning of the session. I need the referrer to be changing many time during the automation process.


Greasemonkey will let you specify a user agent when you use the GM_xmlhttpRequest function, but it won't let you change referrer.

Some Firefox extensions that will probably do what you want:

  1. User Agent Switcher
  2. RefControl


Depending on your needs, you might be able to leverage User Agent Switcher, which is an awesome extension (add on) for doing this:

https://addons.mozilla.org/en-US/firefox/addon/user-agent-switcher/

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜