i’m having a hard time to find a solution to use jquery ajaxSuccess in a chrome extension
it’s simple :
here is the content.js :
$('#message').ajaxSuccess(function (){
alert('b');
});
and … :
“permissions”:
[
“unlimited_storage”,
“notifications”,
“http://*/”
]
Assuming you are making valid Ajax calls that should trigger the
ajaxSuccessevent, the most likely issue is thathttp://*/is not a valid host-permission match pattern, causing your cross-domain Ajax requests to fail. The correct form to match all HTTP pages would behttp://*/*(not ethe final*), and the correct form to match all pages over both HTTP and HTTPS is*://*/*.