title: How do I create a Firefox addon from a Greasemonkey script?
body: <p>I have a Greasemonkey script written in JavaScript, with a CSS component, and I'd like to publish them as a single Firefox addon. I've tried using the Addon Builder with the Addon SDK, but I haven't had any success. I've also tried the <a href="https://arantius.com/misc/greasemonkey/script-compiler.php" rel="nofollow">User Script Compiler</a>, to no avail. I'm just hoping someone could explain to me a simple way to package the .js file and the .css file as a Firefox addon, or how to user the Addon Builder to do this, since apparently what I've tried hasn't worked. Please, let me know if you need any more information from me, and thanks for your help!</p>
  
  <p>EDIT: This is my main.js file in the Addon Builder.</p>
  
  <pre><code> var data = require("self").data;
   var pageMod = require("page-mod");
   pageMod.PageMod({
     include: "[http://www.trello.com/board/*", "https://www.trello.com/board/*"],
     contentScriptWhen: 'end',
     contentScriptFile: data.url("scrumello_beta.js")
   });
  </code></pre>