Add unified Auto-Aceite LGPD e SIGMINE UserScript#1
Merged
nelisjunior merged 1 commit intomainfrom Jul 1, 2025
Merged
Conversation
Copilot
AI
changed the title
[WIP] Unir scripts de automação LGPD e SIGMINE em um único arquivo
Add unified Auto-Aceite LGPD e SIGMINE UserScript
Jul 1, 2025
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR adds a unified UserScript that automatically handles LGPD consent for both GEOANP and SIGMINE websites, as requested in the issue. The script detects which site it's running on and executes the appropriate automation.
Features
🔍 Automatic Site Detection
🤖 GEOANP (LGPD) Automation
🤖 SIGMINE Automation
🛡️ Robust Implementation
Files Added
Technical Details
UserScript Metadata
*://geoanp*/*and*://geo.anm.gov.br/*document-startfor early executionInstallation
/userscripts/Auto-Aceite LGPD e SIGMINE.user.jsDebug Support
[Auto-Aceite LGPD e SIGMINE]prefixDEBUGconstantExample Usage
The script automatically activates when visiting supported sites:
GEOANP sites:
SIGMINE sites:
Testing
A test HTML file is included (
/userscripts/test.html) that simulates both site scenarios for development and validation purposes.Repository Organization
/userscripts/directory for better organization.gitignorefor repository cleanlinessThis implementation provides a reliable, maintainable solution that can adapt to minor changes in the target websites while providing comprehensive debugging capabilities.
💬 Share your feedback on Copilot coding agent for the chance to win a $200 gift card! Click here to start the survey.