Monday, April 30, 2012

How to make a basic Firefox Ad On with no coding knowledge

What you will need

  • A  Mozilla Developer's Account
  • Internet Access
  • Know how to copy and paste
  • Mozilla Firefox
  • Any website for the ad on to go to
This will ad an icon to the Firefox ad-ons bar. Clicking the icon will open the website in a new tab. You can make a cooltext ad on, a leadsleap ad on, or any website you want. 
Instructions

  1. Log in to addons.mozilla.org
  2. go to tools, then click on developerhub
  3. go to start making ad ons andSelect the ad on builder
  4. Log in with Browser ID
  5.  below this line: "// This is an active module of the Adonname (1) Add-on" paste the folowing code, making changes where highlighted in red
exports.main = function() {};const widgets = require("widget");
const tabs = require("tabs");

var widget = widgets.Widget({
  id: "Ad On Name",
  label: "Hover Text",
  contentURL: "Ad On Icon URL: it does not have to be a .ico file. To find the icon of most(not all) sites, ad favicon.ico to the end of the homepage URL: example: mail.com/favicon.ico or fireburst.webs.com/favicon.ico",
  onClick: function() {
    tabs.open("Webpage URL");
  }
});

   save it. You can click test or download the ad on. After you download the ad on, move it the the top left hand corner of Firefox. That will install it. You may then upload it to addons.mozilla.org

No comments:

Post a Comment

Feel free to comment. Keep it nice, polite and on topic. You may link to a site if it contains content relates to the content of whatever post you are commenting on. You may link to a site that only uses, for example, HTML5 video. Remember, on topic!