Getting “net::ERR_BLOCKED_BY_CLIENT” error on some AJAX calls

Recently I’ve realised that, some adblocker extensions (such as adBlocker plus) block some Ajax calls. I get that error on the console: GET http://localhost/prj/conn.php?q=users/list/ net::ERR_BLOCKED_BY_CLIENT Why does it block some Ajax call but not the others and what causes that? Is there any workaround other than telling user to turn off adblocker? 11 Answers 11

Chrome sendrequest error: TypeError: Converting circular structure to JSON

I’ve got the following… chrome.extension.sendRequest({ req: “getDocument”, docu: pagedoc, name: ‘name’ }, function(response){ var efjs = response.reply; }); which calls the following.. case “getBrowserForDocumentAttribute”: alert(“ZOMG HERE”); sendResponse({ reply: getBrowserForDocumentAttribute(request.docu,request.name) }); break; However, my code never reaches “ZOMG HERE” but rather throws the following error while running chrome.extension.sendRequest Uncaught TypeError: Converting circular structure to JSON chromeHidden.JSON.stringify … Read more

Use a content script to access the page context variables and functions

I’m learning how to create Chrome extensions. I just started developing one to catch YouTube events. I want to use it with YouTube flash player (later I will try to make it compatible with HTML5). manifest.json: { “name”: “MyExtension”, “version”: “1.0”, “description”: “Gotta catch Youtube events!”, “permissions”: [“tabs”, “http://*/*”], “content_scripts” : [{ “matches” : [ … Read more