How to change total counter

Everything about using Adblock Plus on Google Chrome
sandraallen
Posts: 1
Joined: Thu Apr 15, 2021 3:26 am
Location: United States
Contact:

Re: How to change total counter

Post by sandraallen »

greiner wrote:That data is not stored within a file but you can still store it using this method:

1. Go to the Adblock Plus options page
2. Press CTRL+SHIFT+J to open the JavaScript console
3. Enter

Code: Select all

copy(localStorage.stats_total)
and press "Enter"
4. Paste the copied data into a text file and save it

To restore it follow these steps:

1. Copy the data from the text file where you saved it previously
2. Go to the Adblock Plus options page
3. Press CTRL+SHIFT+J to open the JavaScript console
4. Enter

Code: Select all

localStorage.stats_total = JSON.stringify(###)
(replace "###" with the data from the text file) and press "Enter"
5. Restart Chrome
Great help. Thank you!
vikalpaul8
Posts: 1
Joined: Thu May 13, 2021 2:12 pm

Re: How to change total counter

Post by vikalpaul8 »

I like being able to reset the stats counter from time to time for a variety of reasons, but after the latest update, none of the methods described in this thread work anymore. Is there any way to do so with this latest version?
sunil808
Posts: 1
Joined: Mon May 31, 2021 7:49 pm

Re: How to change total counter

Post by sunil808 »

thank you for sharing this information with us, this is really good
sonaisesuns
Posts: 1
Joined: Sun Jun 06, 2021 6:00 am
Location: Indonesia
Contact:

Re: How to change total counter

Post by sonaisesuns »

greiner wrote:That data is not stored within a file but you can still store it using this method:

1. Go to the Adblock Plus options page
2. Press CTRL+SHIFT+J to open the JavaScript console
3. Enter

Code: Select all

copy(localStorage.stats_total)
and press "Enter"
4. Paste the copied data into a text file and save it

To restore it follow these steps:

1. Copy the data from the text file where you saved it previously
2. Go to the Adblock Plus options page
3. Press CTRL+SHIFT+J to open the JavaScript console
4. Enter

Code: Select all

localStorage.stats_total = JSON.stringify(###)
(replace "###" with the data from the text file) and press "Enter"
5. Restart Chrome
I am impressed by the details that you have tutorial.Thank you for taking the time and sharing this information and tutorial.
bobo0190
Posts: 2
Joined: Sat Nov 06, 2021 6:50 pm
Contact:

Re: How to change total counter

Post by bobo0190 »

Hello, go to the settings or uninstall and install addblock I also like to have the settings reset I had to do this and that because something was buggy and addblock did not work
vegar63
Posts: 2
Joined: Tue Aug 30, 2022 6:36 pm
Contact:

Re: How to change total counter

Post by vegar63 »

Thank you for your help, I also had a problem with it, but it's okay again, thank you very much
Patachon
Posts: 1
Joined: Tue Jan 24, 2023 8:31 am
Contact:

Re: How to change total counter

Post by Patachon »

Hello everyone, thank you for sharing Greiner, I already had several times this problem and it came back without understanding too much, I had it again not long ago and your tutorial works very well! Thanks again for your help :D
milesstone
Posts: 1
Joined: Tue Apr 27, 2021 9:55 am
Contact:

Re: How to change total counter

Post by milesstone »

greiner wrote: Fri Oct 10, 2014 11:11 am That data is not stored within a file but you can still store it using this method:

1. Go to the Adblock Plus options page
2. Press CTRL+SHIFT+J to open the JavaScript console
3. Enter

Code: Select all

copy(localStorage.stats_total)
and press "Enter"
4. Paste the copied data into a text file and save it

To restore it follow these steps:

1. Copy the data from the text file where you saved it previously
2. Go to the Adblock Plus options page
3. Press CTRL+SHIFT+J to open the JavaScript console
4. Enter

Code: Select all

localStorage.stats_total = JSON.stringify(###)
(replace "###" with the data from the text file) and press "Enter"
5. Restart Chrome
greiner thanks I think after passing lot of time I even need this now to fix some small issues.
Post Reply