-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f296aba
commit 56c5741
Showing
22 changed files
with
5,167 additions
and
5,167 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,30 @@ | ||
## How to contribute to Terms of Service; Didn't Read's Browser Extension | ||
|
||
#### **Did you find a bug?** | ||
|
||
* **Ensure the bug was not already reported** by searching on GitHub under [Issues](https://github.com/tosdr/browser-extensions/issues). | ||
|
||
* If you're unable to find an open issue addressing the problem, [open a new one](https://github.com/tosdr/browser-extensions/issues/new). Be sure to include a **title and clear description**, as much relevant information as possible, and a **code sample** or a **test case** demonstrating the expected behavior that is not occurring. | ||
|
||
#### **Did you write a patch that fixes a bug?** | ||
|
||
* Open a new GitHub pull request with the patch. | ||
|
||
* Ensure the PR description clearly describes the problem and solution. Include the relevant issue number if applicable. | ||
|
||
#### **Do you intend to add a new feature or change an existing one?** | ||
|
||
* Use [Github Discussions](https://github.com/tosdr/browser-extensions/discussions/new) to propose a new feature. | ||
|
||
* Do not open an issue on GitHub until you have collected positive feedback about the change. GitHub issues are primarily intended for bug reports and fixes. | ||
|
||
#### **Do you have questions about the source code [in the forum](https://forum.tosdr.org/). | ||
|
||
#### **Do you want to contribute to the Rails documentation?** | ||
|
||
|
||
Terms of Service; Didn't Read is a volunteer effort! | ||
|
||
Thanks! :heart: :heart: :heart: | ||
|
||
- Terms of Service; Didn't Read | ||
## How to contribute to Terms of Service; Didn't Read's Browser Extension | ||
|
||
#### **Did you find a bug?** | ||
|
||
* **Ensure the bug was not already reported** by searching on GitHub under [Issues](https://github.com/tosdr/browser-extensions/issues). | ||
|
||
* If you're unable to find an open issue addressing the problem, [open a new one](https://github.com/tosdr/browser-extensions/issues/new). Be sure to include a **title and clear description**, as much relevant information as possible, and a **code sample** or a **test case** demonstrating the expected behavior that is not occurring. | ||
|
||
#### **Did you write a patch that fixes a bug?** | ||
|
||
* Open a new GitHub pull request with the patch. | ||
|
||
* Ensure the PR description clearly describes the problem and solution. Include the relevant issue number if applicable. | ||
|
||
#### **Do you intend to add a new feature or change an existing one?** | ||
|
||
* Use [Github Discussions](https://github.com/tosdr/browser-extensions/discussions/new) to propose a new feature. | ||
|
||
* Do not open an issue on GitHub until you have collected positive feedback about the change. GitHub issues are primarily intended for bug reports and fixes. | ||
|
||
#### **Do you have questions about the source code [in the forum](https://forum.tosdr.org/). | ||
|
||
#### **Do you want to contribute to the Rails documentation?** | ||
|
||
|
||
Terms of Service; Didn't Read is a volunteer effort! | ||
|
||
Thanks! :heart: :heart: :heart: | ||
|
||
- Terms of Service; Didn't Read |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,46 +1,46 @@ | ||
# WebExtension for [Terms of Service; Didn't Read][tosdr] | ||
|
||
“I have read and agree to the Terms” is the biggest lie on the web. | ||
We aim to fix that. “Terms of Service; Didn't Read” is a user | ||
rights initiative to rate and label website terms & privacy | ||
policies, from very good (class A) to very bad (class E). | ||
|
||
This extension informs you instantly of your rights online by | ||
showing an unintrusive icon in the toolbar. You can click on this | ||
icon to get summaries from the [Terms of Service; Didn't | ||
Read][tosdr] initiative. | ||
|
||
Get the extension | ||
[for Firefox](https://addons.mozilla.org/en-US/firefox/addon/terms-of-service-didnt-read) **[0.6.2]** | ||
or [for Chrome](https://chrome.google.com/webstore/detail/terms-of-service-didn%E2%80%99t-r/hjdoplcnndgiblooccencgcggcoihigg) **[2.0.0]** | ||
|
||
[tosdr]: https://tosdr.org | ||
|
||
----------- | ||
|
||
Installation instructions | ||
------------------------- | ||
|
||
Just open ```about:debugging``` (Firefox) or ``chrome:extensions`` (Chrome) and follow instructions. | ||
|
||
----------- | ||
|
||
Building instructions | ||
--------------------- | ||
|
||
Make sure you have `node` installed, and from the repository root, run: | ||
|
||
```bash | ||
./build.sh | ||
``` | ||
This will create two extensions in the dist folder, one for Firefox and one for Chrome. | ||
|
||
----------- | ||
|
||
|
||
License | ||
====== | ||
|
||
AGPL-3.0+ (GNU Affero General Public License, version 3 or later) | ||
|
||
See <https://tosdr.org/legal.html> for more details on the legal aspects of the project. | ||
# WebExtension for [Terms of Service; Didn't Read][tosdr] | ||
|
||
“I have read and agree to the Terms” is the biggest lie on the web. | ||
We aim to fix that. “Terms of Service; Didn't Read” is a user | ||
rights initiative to rate and label website terms & privacy | ||
policies, from very good (class A) to very bad (class E). | ||
|
||
This extension informs you instantly of your rights online by | ||
showing an unintrusive icon in the toolbar. You can click on this | ||
icon to get summaries from the [Terms of Service; Didn't | ||
Read][tosdr] initiative. | ||
|
||
Get the extension | ||
[for Firefox](https://addons.mozilla.org/en-US/firefox/addon/terms-of-service-didnt-read) **[0.6.2]** | ||
or [for Chrome](https://chrome.google.com/webstore/detail/terms-of-service-didn%E2%80%99t-r/hjdoplcnndgiblooccencgcggcoihigg) **[2.0.0]** | ||
|
||
[tosdr]: https://tosdr.org | ||
|
||
----------- | ||
|
||
Installation instructions | ||
------------------------- | ||
|
||
Just open ```about:debugging``` (Firefox) or ``chrome:extensions`` (Chrome) and follow instructions. | ||
|
||
----------- | ||
|
||
Building instructions | ||
--------------------- | ||
|
||
Make sure you have `node` installed, and from the repository root, run: | ||
|
||
```bash | ||
./build.sh | ||
``` | ||
This will create two extensions in the dist folder, one for Firefox and one for Chrome. | ||
|
||
----------- | ||
|
||
|
||
License | ||
====== | ||
|
||
AGPL-3.0+ (GNU Affero General Public License, version 3 or later) | ||
|
||
See <https://tosdr.org/legal.html> for more details on the legal aspects of the project. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
#!/bin/bash | ||
|
||
mkdir -p build; rm -rf build/* | ||
mkdir -p dist; rm -rf dist/* | ||
cp -r src build/firefox | ||
cp -r src build/chrome | ||
node mixin.js firefox/manifest.json build/firefox/manifest.json | ||
cd build/chrome; zip -r ../../dist/chrome.zip *; cd ../.. | ||
cd build/firefox; zip -r ../../dist/firefox.xpi *; cd ../.. | ||
#!/bin/bash | ||
|
||
mkdir -p build; rm -rf build/* | ||
mkdir -p dist; rm -rf dist/* | ||
cp -r src build/firefox | ||
cp -r src build/chrome | ||
node mixin.js firefox/manifest.json build/firefox/manifest.json | ||
cd build/chrome; zip -r ../../dist/chrome.zip *; cd ../.. | ||
cd build/firefox; zip -r ../../dist/firefox.xpi *; cd ../.. | ||
rm -rf build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
const fs = require('fs') | ||
const extraFileName = process.argv[2] | ||
const mainFileName = process.argv[3] | ||
|
||
const extra = JSON.parse(fs.readFileSync(mainFileName)) | ||
const main = JSON.parse(fs.readFileSync(extraFileName)) | ||
for (let k in extra) { | ||
main[k] = extra[k] | ||
} | ||
fs.writeFileSync(mainFileName, JSON.stringify(main, null, 2)) | ||
const fs = require('fs') | ||
const extraFileName = process.argv[2] | ||
const mainFileName = process.argv[3] | ||
|
||
const extra = JSON.parse(fs.readFileSync(mainFileName)) | ||
const main = JSON.parse(fs.readFileSync(extraFileName)) | ||
for (let k in extra) { | ||
main[k] = extra[k] | ||
} | ||
fs.writeFileSync(mainFileName, JSON.stringify(main, null, 2)) |
Oops, something went wrong.