I have included some AdSense code in my Google Chrome extension popup file. Unfortunately this does not work. The window does not open when you click on the link.
Regular links do not work in google chrome extensions. To open new tabs, this code is required:
$('#test').live('click', function(){
chrome.tabs.create({'url': 'http://www.stackoverflow.com'}, function(tab) {
});
});
So how to use adsense in google chrome extensions?
source
share