Skip to content

Conversation

@SleepTheGod
Copy link

DOMContentLoaded Event: This ensures that the logic will be executed right after the HTML is parsed, but before all external resources like images or CSS are fully loaded.

IP Fetching: As soon as the DOM is available, the script fetches the IP address using an API (e.g., ipify).

Form Submission Handling: It listens for form submission and prevents the default action, then appends the IP address to the form data before showing it in the modal.

Immediate Execution: The JavaScript runs instantly as soon as the DOM is ready, without waiting for external resources like stylesheets or images.

@netlify
Copy link

netlify bot commented Feb 19, 2025

Deploy Preview for autofill-danger ready!

Name Link
🔨 Latest commit dfb0b19
🔍 Latest deploy log https://app.netlify.com/sites/autofill-danger/deploys/67b6360954e2c4000882dc84
😎 Deploy Preview https://deploy-preview-1--autofill-danger.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

@mooner-the-creator mooner-the-creator left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lovely vibecoding sir

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants