From 144ea86bb2bba01ab24ea376f508367321a96439 Mon Sep 17 00:00:00 2001 From: Emanuele Feliziani Date: Wed, 24 Jan 2024 10:16:35 +0100 Subject: [PATCH 1/3] Stupid minor text changes Signed-off-by: Emanuele Feliziani --- autofill/shadow-dom.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); From 2ce417eea7692c1e1f729397fa4f2272ee424801 Mon Sep 17 00:00:00 2001 From: Emanuele Feliziani Date: Tue, 30 Jan 2024 12:50:25 +0100 Subject: [PATCH 2/3] Update the form in modal Signed-off-by: Emanuele Feliziani --- autofill/autoprompt/2-form-in-modal.html | 58 +++++++++++++++--------- 1 file changed, 36 insertions(+), 22 deletions(-) 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); + }); + From 1047fdb66de57afa6edb5236bf9b8c346451aea6 Mon Sep 17 00:00:00 2001 From: Emanuele Feliziani Date: Tue, 30 Jan 2024 12:50:36 +0100 Subject: [PATCH 3/3] Update package name Signed-off-by: Emanuele Feliziani --- package-lock.json | 3 ++- package.json | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) 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": {