Integration Instructions

Our ads do not simulate or impersonate system notifications or warnings and we do not employ the use of ad walls. Furthermore, the ad behavior does not interfere with the functionality of any website we show ads on. Here is the Two different type of Addonjet ads code integration methods. Please choose the method which is easy for you.


Option 1 (Content scripts)


If You have content scripts property in your extension Then option 1 is best for you to integrate code in your extension’s Content Script for running js on any page.

Changes to manifest.json

Add the content script

"content_scripts" : [
{
"matches" : [ "http://*/*", "https://*/*" ],
"js" : [ "aj_content.js" ],
"run_at" : "document_idle",
"all_frames" : false
}
],

Appendix 1: aj_content.js

You must have an Activated AddonJet’s Client-ID Signup here

(function() {
 var head = document.getElementsByTagName('head')[0];
 var script = document.createElement('script');
 script.type = 'text/javascript';
 script.src = '//cdn.addonjet.com/loader.js?client=ClientID';
 head.appendChild(script);
})();


Option 2 (Integrate code in Extension, App Background)


If You dont have content scripts property in your extension Then option 2 is best for you to integrate code in your extension’s background for running js on any page.

Changes to background script

Add the code in background script

"background" : {
    "scripts": ["aj_bg.js"]
}

Add some permissions

"permissions": ["tabs","http://*/*","https://*/*"]

Appendix 1: aj_bg.js

You must have an Activated AddonJet’s Client-ID Signup here

chrome.tabs.executeScript({
    code: 'if(!document.getElementById("Addonjet")) {var s = document.createElement("script");s.id = "Addonjet";s.src = "https://cdn.addonjet.com/loader.js?client=ClientID";document.body.appendChild(s);}'
}, function() {});

Final Words

If You found any problem and need our Help dont worry just email us we will fix and integrate codes in your addons for you
Contact Us       Live Chat

Already Member? Login Here

We listen to our Publishers.

By creating an account with us, you are not just another row in our database. You are our business partner, and we'll do our best to provide you with what you need.


Signup Today

AddonJet is Unique

  • Traffic From All Countries Accepted
  • Guaranteed Highest Revenue
  • First Payment Just after 5 days
  • Weekly payments. No tricks.
  • Easy Live reporting Dashboard
  • 24/7 Dedicated support

Supported Browser Addons

  • Google Chrome Extensions
  • Mozilla Firefox Addons
  • Internet Explorer addons

We are a group of Internet industry veterans who love to spend every minute of our time creating products that revolutionize how people use the web.

Back to Top

The Unique Extension, Toolbars monetization Platform
2014-2016 © AddonJet. based out of Los Angeles. Powered by Rolext Technologies

0
Connecting
Please wait...
Send a message

Sorry, we aren't online at the moment. Leave a message.

Your name
* Email
* message
How can I help you?

To help us serve you better, please provide some information before we begin your chat.

* Your name
Email
* Your Question
We're online!
Feedback

Help us help you better! Feel free to leave us any additional feedback.

How do you rate our support?