Skip to content

Latest commit

 

History

History
82 lines (55 loc) · 2.23 KB

File metadata and controls

82 lines (55 loc) · 2.23 KB

Contributing to StreamGuard

Thank you for your interest in contributing to My AdsBlock Extention [SteamGuard]! This document provides guidelines and instructions for contributing to this project.

Code of Conduct

By participating in this project, you agree to maintain a respectful and inclusive environment for everyone.

How Can I Contribute?

Reporting Bugs

If you find a bug, please create an issue with the following information:

  1. A clear, descriptive title
  2. Steps to reproduce the issue
  3. Expected behavior
  4. Actual behavior
  5. Screenshots (if applicable)
  6. Browser version and operating system

Suggesting Enhancements

We welcome suggestions for improvements! When suggesting an enhancement:

  1. Use a clear, descriptive title
  2. Provide a detailed description of the proposed enhancement
  3. Explain why this enhancement would be useful
  4. Include any relevant examples or mockups

Pull Requests

  1. Fork the repository
  2. Create a new branch for your feature or bug fix
  3. Make your changes
  4. Test your changes thoroughly
  5. Submit a pull request with a clear description of the changes

Development Setup

To set up your development environment: [comming soon]

  1. Clone the repository
  2. Open Chrome and navigate to chrome://extensions/
  3. Enable "Developer mode"
  4. Click "Load unpacked" and select the extension directory
  5. Make changes to the code
  6. Reload the extension to test changes

Coding Guidelines

JavaScript

  • Use clear, descriptive variable and function names
  • Add comments for complex logic
  • Follow ES6+ standards when possible
  • Format your code consistently

Extension Structure

  • Keep the modular structure of the project
  • Place new content scripts in the content-scripts directory
  • Add rules to rules/ad-domains.json for new ad domains

Testing Your Changes

Before submitting your changes:

  1. Test on multiple websites
  2. Verify that existing functionality still works
  3. Ensure your code doesn't break the extension
  4. Check that the extension still avoids detection

Review Process

Once you submit a pull request:

  1. Maintainers will review your code
  2. They may suggest changes or improvements
  3. Once approved, your changes will be merged

Thank you for contributing to StreamGuard!