adblock not working

Everything about using Adblock Plus on Mozilla Firefox, Thunderbird and SeaMonkey
sketchdevil

Re: adblock not working

Post by sketchdevil »

it's been working for a while but today i've been getting ads on youtube again :/ (on chrome) the icon still shows up, but its not working
MiamiMike
Posts: 21
Joined: Thu Aug 01, 2013 10:33 pm

Re: adblock not working

Post by MiamiMike »

No problem here.
Working fine for me...Firefox 23.0, Windows 7 Home Premium.
Pommette

Re: adblock not working

Post by Pommette »

Working fine for me on Win 7 laptop.
Hubby having major problems on Win 8. Firefox is running at snails pace.
Better if I turn off Adblock.
Any ideas how to sort this out as I really really hate ads.
Sniffels323
Posts: 2
Joined: Sun Aug 11, 2013 6:34 pm

Re: adblock not working

Post by Sniffels323 »

Hello Adblock,
I used ABP forever and never had any problems. But after a crash I can't get the definition page to load. The first dialog box said that the ABP download was successful. Bu the second one came with this dialog box:

"The address wasn't understood

protocol (abp) isn't associated with any program.

You might need to install other software to open this address."



I'm on a HP machine.
Running Windows Vista Business
Ran 2.00 GB
Operating System 32 bit


Thanks for all you do,

Al Sniff
User avatar
mapx
Posts: 21940
Joined: Thu Jan 06, 2011 2:01 pm

Re: adblock not working

Post by mapx »

you could try to reset your firefox
http://support.mozilla.org/en-US/kb/res ... t-problems
Isn't broke, don't fix it!!!

Re: adblock not working

Post by Isn't broke, don't fix it!!! »

I've had ADBlock Plus for Chrome for over a year now and loved it, the greatest thing to have for an add-on. For over a month now I've been getting some ads in webpages, facebook, and I haven't even been to Youtube for almost a month because I get commercials when I start a video. If I wanted commercials, I'd watch TV or listen to the radio, which I got the new Dish Hopper so I can FF through them. Seems everyone with a great invention always finds a way to screw it up later on. Is there any way I can get rid of this update and go back to before some monkey threw a monkey-wrench in the whole thing? I've even re-installed Chrome and ADBlock. The update is the problem... :evil:
User avatar
mapx
Posts: 21940
Joined: Thu Jan 06, 2011 2:01 pm

Re: adblock not working

Post by mapx »

Isn't broke, don't fix it!!! wrote:I've had ADBlock Plus for Chrome for over a year now and loved it, the greatest thing to have for an add-on. For over a month now I've been getting some ads in webpages, facebook, and I haven't even been to Youtube for almost a month because I get commercials when I start a video. If I wanted commercials, I'd watch TV or listen to the radio, which I got the new Dish Hopper so I can FF through them. Seems everyone with a great invention always finds a way to screw it up later on. Is there any way I can get rid of this update and go back to before some monkey threw a monkey-wrench in the whole thing? I've even re-installed Chrome and ADBlock. The update is the problem... :evil:
it's something wrong on your part, mine is working very well.
check your enabled subscriptions ==> right click ABP icon, options, see enabled subscriptions. I guess you have no active subscription
pootz10
Posts: 16
Joined: Mon Feb 03, 2014 4:52 am

Re: adblock not working

Post by pootz10 »

V@no wrote:Until devs fix this issue, here is a simple addon that fixes it by disabling and then enabling ABP on startup:
http://dev.vano.org/abp/downloads/adblo ... latest.xpi
Source:

Code: Select all

const {classes: Cc, interfaces: Ci, utils: Cu} = Components;
Cu.import("resource://gre/modules/Services.jsm");
Cu.import("resource://gre/modules/AddonManager.jsm");

function startup(data, reason)
{
	AddonManager.getAddonByID("{d10d0bf8-f5b5-c8b4-a8b2-2b9879e08c5d}", function(addon)
	{
		if (addon.isActive)
			watchWindows(function()
			{
				let listener = {
					onDisabled: function(Addon)
					{
						if(addon.id != Addon.id)
							return

						let timer = Cc["@mozilla.org/timer;1"].createInstance(Ci.nsITimer);
						unload(timer.cancel);
						timer.init(function()
						{
							AddonManager.removeAddonListener(listener);
							Addon.userDisabled = false;
							unload();
						}, 100, timer.TYPE_ONE_SHOT);
					}
				};
				AddonManager.addAddonListener(listener);
				unload(function(){AddonManager.removeAddonListener(listener)});
				addon.userDisabled = true;
			});
	});
}


function shutdown(data, reason)
{
	unload();
}

function install(data, reason)
{
}

function uninstall(data, reason)
{
}






/* ***** BEGIN LICENSE BLOCK *****
 * Version: MPL 1.1/GPL 2.0/LGPL 2.1
 *
 * The contents of this file are subject to the Mozilla Public License Version
 * 1.1 (the "License"); you may not use this file except in compliance with
 * the License. You may obtain a copy of the License at
 * http://www.mozilla.org/MPL/
 *
 * Software distributed under the License is distributed on an "AS IS" basis,
 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
 * for the specific language governing rights and limitations under the
 * License.
 *
 * The Original Code is Home Dash Utility.
 *
 * The Initial Developer of the Original Code is The Mozilla Foundation.
 * Portions created by the Initial Developer are Copyright (C) 2011
 * the Initial Developer. All Rights Reserved.
 *
 * Contributor(s):
 *   Edward Lee <edilee@mozilla.com>
 *   Erik Vold <erikvvold@gmail.com>
 *
 * Alternatively, the contents of this file may be used under the terms of
 * either the GNU General Public License Version 2 or later (the "GPL"), or
 * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
 * in which case the provisions of the GPL or the LGPL are applicable instead
 * of those above. If you wish to allow use of your version of this file only
 * under the terms of either the GPL or the LGPL, and not to allow others to
 * use your version of this file under the terms of the MPL, indicate your
 * decision by deleting the provisions above and replace them with the notice
 * and other provisions required by the GPL or the LGPL. If you do not delete
 * the provisions above, a recipient may use your version of this file under
 * the terms of any one of the MPL, the GPL or the LGPL.
 *
 * ***** END LICENSE BLOCK ***** */

"use strict";


/**
 * Save callbacks to run when unloading. Optionally scope the callback to a
 * container, e.g., window. Provide a way to run all the callbacks.
 *
 * @usage unload(): Run all callbacks and release them.
 *
 * @usage unload(callback): Add a callback to run on unload.
 * @param [function] callback: 0-parameter function to call on unload.
 * @return [function]: A 0-parameter function that undoes adding the callback.
 *
 * @usage unload(callback, container) Add a scoped callback to run on unload.
 * @param [function] callback: 0-parameter function to call on unload.
 * @param [node] container: Remove the callback when this container unloads.
 * @return [function]: A 0-parameter function that undoes adding the callback.
 */
function unload(callback, container) {
	// Initialize the array of unloaders on the first usage
	let unloaders = unload.unloaders;
	if (unloaders == null)
		unloaders = unload.unloaders = [];

	// Calling with no arguments runs all the unloader callbacks
	if (callback == null) {
		unloaders.slice().forEach(function(unloader) unloader());
		unloaders.length = 0;
		return true;
	}

	// The callback is bound to the lifetime of the container if we have one
	if (container != null) {
		// Remove the unloader when the container unloads
		container.addEventListener("unload", removeUnloader, false);

		// Wrap the callback to additionally remove the unload listener
		let origCallback = callback;
		callback = function() {
			container.removeEventListener("unload", removeUnloader, false);
			origCallback();
		}
	}

	// Wrap the callback in a function that ignores failures
	function unloader() {
		try {
			callback();
		}
		catch(ex) {}
	}
	unloaders.push(unloader);

	// Provide a way to remove the unloader
	function removeUnloader() {
		let index = unloaders.indexOf(unloader);
		if (index != -1)
			unloaders.splice(index, 1);
	}
	return removeUnloader;
}

/**
 * Apply a callback to each open and new browser windows.
 *
 * @usage watchWindows(callback): Apply a callback to each browser window.
 * @param [function] callback: 1-parameter function that gets a browser window.
 */
function watchWindows(callback) {
	var unloaded = false;
	unload(function() unloaded = true);

	// Wrap the callback in a function that ignores failures
	function watcher(window, type) {
		try {
			// Now that the window has loaded, only handle browser windows
			let {documentElement} = window.document;
			if (documentElement.getAttribute("windowtype") == "navigator:browser")
				callback(window, type);
		}
		catch(ex) {}
	}

	// Wait for the window to finish loading before running the callback
	function runOnLoad(window) {
		// Listen for one load event before checking the window type
		window.addEventListener("load", function runOnce() {
			window.removeEventListener("load", runOnce, false);
			if (unloaded) return; // the extension has shutdown
			watcher(window, "load");
		}, false);
	}

	// Add functionality to existing windows
	let windows = Services.wm.getEnumerator(null);
	while (windows.hasMoreElements()) {
		// Only run the watcher immediately if the window is completely loaded
		let window = windows.getNext();
		if (window.document.readyState == "complete")
			watcher(window);
		// Wait for the window to load before continuing
		else
			runOnLoad(window);
	}

	// Watch for new browser windows opening then wait for it to load
	function windowWatcher(subject, topic) {
		if (topic == "domwindowopened")
			runOnLoad(subject);
	}
	Services.ww.registerNotification(windowWatcher);

	// Make sure to stop watching for windows if we're unloading
	unload(function() Services.ww.unregisterNotification(windowWatcher));
}
thank you I just installed this and it fixed the problem. But google gave me a working mirror:
https://bitbucket.org/vanowm/abpfix/downloads
Claymore
Posts: 3
Joined: Thu Feb 06, 2014 11:42 am

Re: adblock not working

Post by Claymore »

Seems, I figured out the problem of Adblock Plus not properly getting loaded:

If you use a Master-Password for your included password-manager, ABP has troubles to load properly. Don't know if it solves it for everyone, but I had to state it here :).
itworx

Re: adblock not working

Post by itworx »

I reinstalled it by resetting Firefox and it worked.
bobbyjowebb
Posts: 1
Joined: Sun May 08, 2016 1:16 am

Re: adblock not working

Post by bobbyjowebb »

I, also have been having a problem with ads all of a sudden! Would it help if I could undo the latest adblock update? Anyone know?
User avatar
mapx
Posts: 21940
Joined: Thu Jan 06, 2011 2:01 pm

Re: adblock not working

Post by mapx »

Check you filter lists (click ABP icon, filter preferences, see if the lists are still there and correctly downloaded, no errors)
Otherwise reset firefox and reinstall ABP.
Post Reply