commit f6080131668a73244e261ed004520b8a587f5966
Author: Max Ace <max.ace@shaanta.com>
Date:   Tue Oct 3 23:55:15 2023 -0400

    first drafts from AI

diff --git a/content.js b/content.js
new file mode 100644
index 0000000..4244a62
--- /dev/null
+++ b/content.js
@@ -0,0 +1,15 @@
+// Check if the current page is the Reservation Information page
+// (You might need more specific conditions depending on the page structure.)
+if (document.title.includes('Reservation Information')) {
+
+    // Find the element containing the guest's phone number.
+    // This is a placeholder. You'll need to adjust this based on the actual structure of the webpage.
+    const phoneNumberElement = document.querySelector('.phone-number-class');
+
+    if (phoneNumberElement) {
+        const phoneNumber = phoneNumberElement.textContent.trim();
+        
+        // Send the phone number to the background script for further processing.
+        chrome.runtime.sendMessage({type: 'CHECK_DNR', phoneNumber: phoneNumber});
+    }
+}
diff --git a/manifest.json b/manifest.json
new file mode 100644
index 0000000..775079e
--- /dev/null
+++ b/manifest.json
@@ -0,0 +1,29 @@
+{
+  "manifest_version": 3,
+  "name": "DNR Advantage",
+  "version": "1.0",
+  "description": "Chrome extension for checking guests against a Do Not Rent list.",
+    "permissions": ["notifications", "activeTab", "storage", "http://*/*", "https://*/*"],
+  "background": {
+    "service_worker": "background.js"
+  },
+  "content_scripts": [
+    {
+      "matches": ["<URL of the Reservation Information page or pattern>"],
+      "js": ["content.js"]
+    }
+  ],
+  "action": {
+    "default_popup": "popup.html",
+    "default_icon": {
+      "16": "icons/icon16.png",
+      "48": "icons/icon48.png",
+      "128": "icons/icon128.png"
+    }
+  },
+  "icons": {
+    "16": "icons/icon16.png",
+    "48": "icons/icon48.png",
+    "128": "icons/icon128.png"
+  }
+}