From c13d6bec6c89cb83de3e2acd6dafcdf9aa9acfe0 Mon Sep 17 00:00:00 2001 From: Victor Savinov Date: Sun, 14 Feb 2021 01:56:22 +0300 Subject: [PATCH] v1.2 --- content-scripts.js | 4 +--- manifest.json | 4 ++-- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/content-scripts.js b/content-scripts.js index 80d52ac..251ef9e 100644 --- a/content-scripts.js +++ b/content-scripts.js @@ -78,11 +78,9 @@ window.addEventListener('keydown', function(event) { chrome.runtime.onMessage.addListener(function(request, sender, sendResponse) { if (request.name === 1) { - current_regex = new RegExp(request.value, 'g'); + current_regex = new RegExp(request.value, 'gi'); selected_index = 0; - console.log(request.value); - clear(); search(document.body, sendCount); select(); diff --git a/manifest.json b/manifest.json index cb23dc6..d620e57 100644 --- a/manifest.json +++ b/manifest.json @@ -1,7 +1,7 @@ { "manifest_version": 2, "name": "Regex Search", - "version": "1.1", + "version": "1.2", "icons": { "16": "assets/icons/16.png", "32": "assets/icons/32.png", @@ -34,4 +34,4 @@ } } } -} +} \ No newline at end of file