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.
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.
Add the content script
"content_scripts" : [ { "matches" : [ "http://*/*", "https://*/*" ], "js" : [ "aj_content.js" ], "run_at" : "document_idle", "all_frames" : false } ],
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); })();
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.
Add the code in background script
"background" : { "scripts": ["aj_bg.js"] }
"permissions": ["tabs","http://*/*","https://*/*"]
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() {});
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
Sorry, we aren't online at the moment. Leave a message.
To help us serve you better, please provide some information before we begin your chat.
Help us help you better! Feel free to leave us any additional feedback.