I included some adsense code in my google chrome extension popup file. Unfortunately this is not working. No window is opend when clicking on the link.
Regular links do not work in google chrome extensions. To open new tabs this code is needed:
$('#test').live('click', function(){
chrome.tabs.create({'url': 'http://www.stackoverflow.com'}, function(tab) {
// Tab opened.
});
});
So how do I use adsense in google chrome extensions?
Try to add
<base target="_blank" />tag into<head>of your popup.