tosdr / browser-extensions

Browser extensions for Terms of Service; Didn't Read. “I have read and agree to the Terms” is the biggest lie on the web. We aim to fix that. Get informed instantly about websites' terms & privacy policies, with ratings and summaries from the www.tosdr.org initiative.
http://tosdr.org/downloads
GNU Affero General Public License v3.0
393 stars 44 forks source link

Updating data from tosdr.org (and no user-browsing leaking) #12

Closed hugoroy closed 6 years ago

hugoroy commented 9 years ago

Continues from: https://github.com/tosdr/tosdr.org/issues/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.

hugoroy commented 9 years ago

Related: https://github.com/tosdr/tosdr-firefox/issues/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?)

hugoroy commented 9 years ago

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: https://github.com/shybyte/tos-checker/commit/a853c819d6f1c92407c95eed9a0b7b34ca592b9a#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).

michielbdejong commented 6 years ago

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.