var pageMod = require("sdk/page-mod");

pageMod.PageMod({
  include: "https://twitter.com/",
  contentScript: "var MomentsButton = document.querySelector('.moments');" +
  "if(MomentsButton !== null){" +
  	"MomentsButton.parentNode.removeChild(MomentsButton);" +
  "}"
});

var pageMod = require("sdk/page-mod");

pageMod.PageMod({
  include: "https://twitter.com/*",
  contentScript: "var MomentsButton = document.querySelector('.moments');" +
  "if(MomentsButton !== null){" +
  	"MomentsButton.parentNode.removeChild(MomentsButton);" +
  "}"
});

Correct paths that this will work on
Correct paths that this will work on

There is an issue that it would not work against https://twitter.com/anyurl.
This adds a wildcard after the / to handle all.
