diff --git a/autofill/autoprompt/2-form-in-modal.html b/autofill/autoprompt/2-form-in-modal.html index 072d154..5d3afc4 100644 --- a/autofill/autoprompt/2-form-in-modal.html +++ b/autofill/autoprompt/2-form-in-modal.html @@ -20,41 +20,55 @@ -

+

+ +

Some random text to use as "something outside the dialog element". Clicking here should close the dialog (if open).

Form created in modal after click (should not prompt automatically).

-
-

-
- -
- + loginForm?.addEventListener('submit', handler, true); + }); + diff --git a/autofill/shadow-dom.html b/autofill/shadow-dom.html index c78b66d..d57ba8f 100644 --- a/autofill/shadow-dom.html +++ b/autofill/shadow-dom.html @@ -14,7 +14,7 @@

-

Form in shadow DOM created after click.

+

Form in nested shadow DOM created after click.

@@ -41,7 +41,7 @@ // Create a div element inside the shadow root const div = document.createElement('div'); const initialButton = document.createElement('button'); - initialButton.textContent = 'Click here to login'; + initialButton.textContent = 'Click here to sign up'; initialButton.type = 'button'; div.appendChild(initialButton); shadowRoot.appendChild(div); diff --git a/package-lock.json b/package-lock.json index ba7d863..5c4db6d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,9 +1,10 @@ { - "name": "privacy-test-pages", + "name": "@duckduckgo/privacy-test-pages", "lockfileVersion": 2, "requires": true, "packages": { "": { + "name": "@duckduckgo/privacy-test-pages", "dependencies": { "body-parser": "^1.20.1", "express": "^4.17.1", diff --git a/package.json b/package.json index e0ff7b8..8c5eb11 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "name": "privacy-test-pages", + "name": "@duckduckgo/privacy-test-pages", "description": "This project contains a collection of pages that are meant to be used for testing various privacy and security features of browsers and browser extensions.", "main": "server.js", "engines": {