The EULA Privacy Nudge Tool is an innovative research-driven project designed to address the critical issue of user comprehension in software End User License Agreements (EULAs). Our tool aims to improve user awareness and understanding of privacy-related clauses through intelligent visual emphasis and natural language processing techniques.
- Intelligent Keyword Identification: Uses natural language processing to detect privacy-sensitive terms
- Visual Emphasis: Highlights critical privacy-related clauses
- Comprehensive Analysis: Focuses on data collection, sharing, and security provisions
Clone this repository to your local machine and cd to the directory:
git clone https://github.com/Data-and-Design-Lab/EULA-plugin
cd EULA-plugin
This project utilizes npm for dependency management. Run the following command to install all dependencies:
npm install
If you do not have npm
installed, you can download it from https://nodejs.org/en/download/.
Create a webpack.config.js file in your project directory. This file will configure how Webpack bundles your code:
const path = require("path");
module.exports = {
entry: "./contentScript.js", // Adjust the entry point as needed
mode: "development", // or 'production'
output: {
filename: "contentBundle.js", // Name of the bundled file
path: path.resolve(__dirname, "dist"), // Output directory
},
};
Warning
Make sure to replace contentScript.js
with the correct path to your content script file.
In your terminal, run Webpack to bundle your content script:
npx webpack --config webpack.config.js
This will create a contentBundle.js file in the dist directory.
Open your manifest.json
file and update the content_scripts
section to use the bundled script:
"content_scripts": [
{
"matches": ["<all_urls>"],
"js": ["dist/contentBundle.js"] // Update the path accordingly
}
]
Now you can load the extension into Chrome and test it to ensure that the bundled content script works as expected.
- Fork the repository
- Create your own feature branch (
git checkout -b feature/fooBar
) - Commit your changes (
git commit -am 'Add some fooBar'
) - Push to your branch (
git push origin feature/fooBar
) - Create a new PR (Pull Request)