Page 3 of 3

Re: How to change total counter

Posted: Thu Apr 15, 2021 3:30 am
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!

Re: How to change total counter

Posted: Thu May 13, 2021 2:56 pm
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?

Re: How to change total counter

Posted: Mon May 31, 2021 8:17 pm
by sunil808
thank you for sharing this information with us, this is really good

Re: How to change total counter

Posted: Sun Jun 06, 2021 6:05 am
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.

Re: How to change total counter

Posted: Sat Nov 06, 2021 6:52 pm
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

Re: How to change total counter

Posted: Tue Aug 30, 2022 6:38 pm
by vegar63
Thank you for your help, I also had a problem with it, but it's okay again, thank you very much

Re: How to change total counter

Posted: Tue Jan 24, 2023 8:37 am
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

Re: How to change total counter

Posted: Sun Mar 05, 2023 2:47 pm
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.