-
+
From da270515b0167dd8b8f49bdc254c6ed57433c1ad Mon Sep 17 00:00:00 2001
From: Shane <6071159+smashedr@users.noreply.github.com>
Date: Mon, 18 Dec 2023 20:40:28 -0800
Subject: [PATCH 3/6] Fix Order
---
src/js/links.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/js/links.js b/src/js/links.js
index 6bef2c3..91807c5 100644
--- a/src/js/links.js
+++ b/src/js/links.js
@@ -25,7 +25,7 @@ const dtOptions = {
processing: true,
saveState: true,
bSort: true,
- order: [0, 'desc'],
+ order: [[0, 'desc']],
pageLength: -1,
lengthMenu: [
[10, 25, 50, 100, 250, -1],
From 00186ea838ae553286225d10d7253215e44a44b4 Mon Sep 17 00:00:00 2001
From: Shane <6071159+smashedr@users.noreply.github.com>
Date: Mon, 18 Dec 2023 20:49:05 -0800
Subject: [PATCH 4/6] Set Charset
---
src/html/links.html | 1 +
src/html/options.html | 1 +
src/html/popup.html | 1 +
3 files changed, 3 insertions(+)
diff --git a/src/html/links.html b/src/html/links.html
index 46b3d9c..7d33072 100644
--- a/src/html/links.html
+++ b/src/html/links.html
@@ -1,6 +1,7 @@
+
Link Extractor
diff --git a/src/html/options.html b/src/html/options.html
index f1f7fdc..cfc7b44 100644
--- a/src/html/options.html
+++ b/src/html/options.html
@@ -1,6 +1,7 @@
+
Link Extractor Options
diff --git a/src/html/popup.html b/src/html/popup.html
index ef61aa2..11b08ca 100644
--- a/src/html/popup.html
+++ b/src/html/popup.html
@@ -1,6 +1,7 @@
+
Link Extractor
From ab162bdbcda2b9ba2fe108b7d62b246281472960 Mon Sep 17 00:00:00 2001
From: Shane <6071159+smashedr@users.noreply.github.com>
Date: Mon, 18 Dec 2023 21:13:46 -0800
Subject: [PATCH 5/6] Cleanup
---
src/js/links.js | 2 +-
src/js/popup.js | 6 +++---
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/js/links.js b/src/js/links.js
index 91807c5..cbb993d 100644
--- a/src/js/links.js
+++ b/src/js/links.js
@@ -25,7 +25,7 @@ const dtOptions = {
processing: true,
saveState: true,
bSort: true,
- order: [[0, 'desc']],
+ order: [[0, 'asc']],
pageLength: -1,
lengthMenu: [
[10, 25, 50, 100, 250, -1],
diff --git a/src/js/popup.js b/src/js/popup.js
index 153fa10..a133ecf 100644
--- a/src/js/popup.js
+++ b/src/js/popup.js
@@ -7,12 +7,12 @@ document.getElementById('filter-form').addEventListener('submit', filterForm)
document.getElementById('links-form').addEventListener('submit', linksForm)
document.getElementById('links-text').addEventListener('input', updateLinks)
-document
- .querySelectorAll('[data-filter]')
- .forEach((el) => el.addEventListener('click', filterForm))
document
.querySelectorAll('a[href]')
.forEach((el) => el.addEventListener('click', popupLinks))
+document
+ .querySelectorAll('[data-filter]')
+ .forEach((el) => el.addEventListener('click', filterForm))
document
.querySelectorAll('#options-form input')
.forEach((el) => el.addEventListener('change', saveOptions))
From deaef318de784dbfcaef474be2315c5de595df94 Mon Sep 17 00:00:00 2001
From: Shane <6071159+smashedr@users.noreply.github.com>
Date: Mon, 18 Dec 2023 21:51:54 -0800
Subject: [PATCH 6/6] Update Text Breaks
---
src/css/popup.css | 6 ++++++
src/html/options.html | 28 ++++++++++++----------------
src/html/popup.html | 2 +-
src/js/options.js | 3 ++-
src/js/popup.js | 2 +-
5 files changed, 22 insertions(+), 19 deletions(-)
diff --git a/src/css/popup.css b/src/css/popup.css
index d9d5997..2dfe457 100644
--- a/src/css/popup.css
+++ b/src/css/popup.css
@@ -8,3 +8,9 @@ input::placeholder,
textarea::placeholder {
text-align: center;
}
+
+.dropdown-menu {
+ max-width: 100vw;
+ white-space: normal;
+ overflow: hidden;
+}
diff --git a/src/html/options.html b/src/html/options.html
index cfc7b44..6709f50 100644
--- a/src/html/options.html
+++ b/src/html/options.html
@@ -40,10 +40,10 @@
Link Extractor