Work in progress. Some information might not apply.
- open console in any Facebook tab (by pressing Alt+Cmd+J on a Mac)
- you can see logs of what is happening in the background with Data Selfie
- "Have you tried turning it off and on again?" - refresh the Facebook tab or close and open a new one
- url bar, type "ds" + tab
- available commands
reset db
,delete db
,init db
- open console in background page or Data Selfie Me page (Alt+Cmd+J on a Mac)
- go to the "Application" tab
- Storage > IndexedDB
- click triangle to expand the subitems
- "DataSelfieLocalDB" contains all tracked data (this is not saved anywhere else(!), so be careful before clearing this storage)
-
you can access settings, your general user data and the prediction
- open console in background page or Data Selfie Me page (Alt+Cmd+J on a Mac)
- copy
chrome.storage.local.get(function(data){console.log(data)})
- press Enter
-
you can delete your prediction results to start new
- open console in background page or Data Selfie Me page (Alt+Cmd+J on a Mac)
- copy
chrome.storage.local.remove(["alchemy", "applymagicsauce", "personality"])
- press Enter
npm install
- to make a build (folder) from src
npm run build
- to make a build and watch for changes
npm run buildw
- to make a build and minify etc (see webpack.config.js)
npm run buildprod
- use this to reproduce the code submitted to Chrome Web Store and Firefox Add-ons
- for both Chrome and Firefox the content of the build folder is compressed and submitted to the developer platform
- in your Chrome browser go to chrome://extensions/ and tick the box that says "Developer mode"
- now click "Load unpacked extension..." and choose the build folder you just created
- you can now use Data Selfie, the extension icon (the eye) should now appear in your toolbar
- it is tracking if the eye is black (instead of gray) and if you can see a clock at the bottom left in your facebook window
- go to about:debugging and and click on "Load Temporary Add-on"
- choose manifest.json from the build folder and hit enter
- background.persistent: Event pages are not currently supported in Firefox. Background page has to be persistent
- posts like friendship anniversaries and memories are not considered, which sometimes leads to time being added to the previously looked at post
- when Facebook tab has been in the background for a while and you go back the clock might not show up again
- exporting your data can result in an invalid json file (that you can't import), when URLs contain double quotes " that are not escaped, you can do that manually by adding \ before the "
- more bugs commented in source code marked with "// FIX"
- refine the limit of data sent to IBM (Alchemy and Personality Insights), now only last 300 rows - add date (e.g. last 5 days from last time active)
- make tracking more stable (we need your help, please report any problems you run into)
- improve Your Data Selfie (Me) page front end code (responsive, handlebars or similar instead of jquery append - I know horrible)
This project is maintained by one developer (Hang aka 01fade) as of now. Email [email protected] to get involved. Email [email protected] to report any issues you might have.
Last tested with:
- Chrome Version 61.0.3163.100 (64-bit) with macOS High Sierra 10.13 with Facebook in English (US)
- Firefox Nightly 58 with macOS High Sierra 10.13 with Facebook in English (US)
Data Selfie is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or any later version.
Data Selfie is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
For more info see http://www.gnu.org/licenses/.