MCPcopy Index your code
hub / github.com/ClearURLs/Addon / increaseTotalCounter

Function increaseTotalCounter

core_js/tools.js:160–165  ·  view source on GitHub ↗

* Increase by {number} the total counter * @param {int} number

(number)

Source from the content-addressed store, hash-verified

158 * @param {int} number
159 */
160function increaseTotalCounter(number) {
161 if (storage.statisticsStatus) {
162 storage.totalCounter += number;
163 deferSaveOnDisk('totalCounter');
164 }
165}
166
167/**
168 * Increase by one the cleaned counter

Callers 3

removeFieldsFormURLFunction · 0.85
clearUrlFunction · 0.85
_cleaningFunction · 0.85

Calls 1

deferSaveOnDiskFunction · 0.85

Tested by

no test coverage detected