运行firefox addons命令行

Min*_*inh 3 firefox command-line add-on

我正在为一个网站工作508可访问的标准.有一个Firefox插件可以帮助检查每个页面的网站WAVE插件
我有一个爬行器,遍历网站的所有页面.
现在我想结合使用WAVE插件+我的抓取工具来自动检查网站是否为508辅助功能.

我的问题是如何从命令行运行具有特定URL的Firefox插件?

谢谢你的帮助,

F. *_*uri 7

你可以从命令行做许多复杂的事情,因为运行内联javascript,也许这可以帮助你:

$ firefox 'data:text/html;charset=ISO-8859-1,
<html>
<head>
<title>TEST Demo</title>
</head>
<body>
<h3 id="title">Test demo</h3>
<script language="javascript">
window.open("http://perso.f-hauri.ch/~felix/svg/dustin_w_Clock_autonom.svg","clock","toolbar=0,location=0,status=0,menubar=0,scrollbars=1,resizable=1,width=600,height=600,top=100,left=120");
window.open("http://perso.f-hauri.ch/~felix/svg/fw.svg","netrate","toolbar=0,location=0,status=0,menubar=0,scrollbars=1,resizable=1,width=420,height=372,top=40,left=620");
var s=10;
function cntdwn()
{
  document.getElementById("title").innerHTML="Test demo: "+s;s=s-1;
  if (0 > s)
  {
    window.location="http://perso.f-hauri.ch/~felix/meteo/picture/meteo.html";
  }
  else window.setTimeout(cntdwn,1000);
  };
  window.onload=cntdwn;
 </script>
 </body>'
Run Code Online (Sandbox Code Playgroud)