How to change total counter

Everything about using Adblock Plus on Google Chrome

Re: How to change total counter

Postby AdblockPlusUser » Sat Dec 03, 2016 1:26 am

Yep, you're right. I tried again and figured out what I was doing wrong. Thanks!
AdblockPlusUser
 
Posts: 5
Joined: Thu Feb 04, 2016 2:17 am

Re: How to change total counter

Postby dev_man » Sat May 20, 2017 11:35 pm

Yes, now it works fine. thank you for the nice topic
dev_man
 
Posts: 2
Joined: Mon Apr 03, 2017 1:28 pm

Re: How to change total counter

Postby kabebi » Fri Jul 07, 2017 2:10 am

thanks for information :wink:
kabebi
 
Posts: 1
Joined: Fri Jul 07, 2017 2:07 am
Location: tbilisi

Re: How to change total counter

Postby greiner » Fri Nov 03, 2017 2:23 pm

Recently, we've made quite significant changes to the Adblock Plus code due to the upcoming release of our Web Extension version for Firefox. That means that the code you need to run to retrieve or update the counter has changed.

Retrieve the counter:
Code: Select all
browser.storage.local.get("pref:blocked_total").then(console.log)


Update the counter:
Code: Select all
browser.storage.local.set({"pref:blocked_total": ###})
User avatar
greiner
ABP Developer
 
Posts: 669
Joined: Mon Sep 03, 2012 5:29 pm
Location: Cologne, Germany

Re: How to change total counter

Postby nudosu » Sat Mar 17, 2018 11:55 pm

Thanks for your help.
nudosu
 
Posts: 1
Joined: Sat Mar 17, 2018 11:52 pm

Re: How to change total counter

Postby mouniaZad » Tue Jul 17, 2018 8:30 pm

Where can I change the font size of the coming soon counter? The letters and digits are just too large on a mobile phone.
mouniaZad
 
Posts: 1
Joined: Tue Jul 17, 2018 8:23 pm

Re: How to change total counter

Postby greiner » Wed Jul 18, 2018 1:08 pm

mouniaZad wrote:Where can I change the font size of the coming soon counter? The letters and digits are just too large on a mobile phone.

What counter are you referring to?
User avatar
greiner
ABP Developer
 
Posts: 669
Joined: Mon Sep 03, 2012 5:29 pm
Location: Cologne, Germany

Re: How to change total counter

Postby imjamespeter » Tue Aug 21, 2018 7:48 am

However, if you remember the total number (or can approximate it) and it's really important to you to know how many ads AdBlock has ever blocked for you, you can set AdBlock's counter to start at that number instead of 0 after a reinstall. Here's how.

In Chrome:
Open the Chrome Extensions page (Chrome menu > More Tools > Extensions or open a new tab and enter chrome://extensions).
Enable Developer Mode in the upper right corner of the page.
Find AdBlock in the list of extensions.
To the right of "Inspect views," click background page. The Chrome Developer Tools window opens.
Select the Console tab.
Enter the following command, where "x" is a valid integer: Prefs.blocked_total = x

Thank you.!
Regards,
James Mobdro
imjamespeter
 
Posts: 1
Joined: Tue Aug 21, 2018 7:29 am

Re: How to change total counter

Postby bichngoc94 » Fri Sep 14, 2018 10:43 am

Has any one come across this before and if so how did they reset the total counter reading back to 0.00 without following the suggestion by SAP?
bichngoc94
 
Posts: 1
Joined: Fri Sep 14, 2018 10:41 am

Previous

Return to Adblock Plus for Chrome support

Who is online

Users browsing this forum: Guz and 17 guests