Comments (2)
The notifications are mainly there for debugging purposes (also in an attempt to see if I can reproduce #5.) Because clearing history is done silently in the background, it's hard to tell exactly when (or if) it's working. The notifications make it much more obvious when the extension triggers. The notifications are disabled by default and require an optional permission because they are very intrusive for normal use.
The notification triggers every time it attempts to clear history, regardless of if anything was cleared. The extension can't tell if it cleared anything or how much it cleared because history.deleteRange() does not provide this information. It simply requests that the browser delete history, but gives no feedback on what was deleted.
The date shouldn't be displayed in UTC unless your device has UTC as local time. In deleteHistory(), the time is set using the local methods (e.g. Date.setHours() instead of Date.setUTCHours()) and the date string in the notification is made with Date.toLocaleString(), so the date in the notification should display in your locale.
from historycleaner.
even though the timezone of my system is correctly set, Firefox Date.setHours() seems to report the timezone as UTC ... hmmmm...
i looked further into why is this happening ... and it seems to be caused by the browser preference privacy.resistFingerprinting being set to true. For testing, i set it to false and tried running that testing script again and this time it produced the expected result with timezone.
https://wiki.mozilla.org/Security/Fingerprinting
and here it says Timezone is spoofed to 'UTC'
Since timezone info can be used for fingerprinting a browser/user i can see now why it returns UTC as timezone when the resistFingerprinting preference is set, so i'll close this ticket - getting UTC time is expected behaviour in this mode.
from historycleaner.
Related Issues (18)
- Add Suport for Firefox Sync
- Unable to set number of days in preferences, Firefox 85.0 HOT 2
- Whitelist Some Websites HOT 3
- [Feature request] Add cache data option HOT 4
- Form and search history not being deleted HOT 1
- [Feature request] Immediate history deletion HOT 2
- Delete download history HOT 1
- Clean also the downloads history? HOT 1
- Recommendation: Add "auto" to the title of the project HOT 4
- Add Firefox for Android Support (History API is not available in Firefox for Android currently) HOT 10
- Domain Exceptions HOT 1
- Option to clear history only once a day HOT 2
- [Suggestion] Delete history by visit. HOT 3
- Clarification about description HOT 1
- Add-on doesn't delete history HOT 23
- Does it support chrome? HOT 2
- FF 83.0 not working HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from historycleaner.