Updating data from tosdr.org (and no user-browsing leaking)
Closed this issue · 3 comments
Continues from: tosdr/tosdr.org#36
All browser extensions should be designed in a way that the hosters of tosdr.org cannot see users browsing activities. So it is important that the browser extensions are designed in a way that they don't make a request to tosdr.org for every website visited to get the class-rating.
Discuss here the concept or specification relevant to all browsers.
Please open relevant issues in each browser extension repositories, if there are specific problems or bugs.
Related: tosdr/tosdr-firefox#17 (but this seems to be about data points, which isn't the problem -- data points only get displayed if the user clicks to get more information right?)
There's now a proper versioned API -- you can find a service-specific json file in it:
'https://tosdr.org/api/1/service/'+name+'.json'
The chrome extension now uses this:
shybyte/tos-checker@a853c81#diff-9c3f221b277f76de08e7dba90a4798ebR82
So when the user clicks on the class, the popup shows up, calls the json file of teh service and displays the data (so the data is always up to date).
This was closed accidentally by the history merge, but this is an issue that was actually resolved, the extension now only access https://tosdr.org/api/1/all.json. We're already starting to notice the reduction of traffic in 5apps stats.