diff --git a/common.js b/common.js index da58546..9da9dce 100644 --- a/common.js +++ b/common.js @@ -287,7 +287,7 @@ export function getmessage(securityInfo) { * @returns {string} */ export function countryCode(country) { - return Array.from(country.toUpperCase(), (c) => String.fromCodePoint(c.codePointAt() + 127397)).join(""); + return Array.from(country.toUpperCase(), (c) => String.fromCodePoint(c.codePointAt() + 0x1F1A5)).join(""); } /** diff --git a/content_script.js b/content_script.js index 75a81d8..f8313fb 100644 --- a/content_script.js +++ b/content_script.js @@ -30,7 +30,7 @@ new PerformanceObserver((list, observer) => { const entries = list.getEntries(); // console.log(entries); const entry = entries.find((x) => x.name === "first-contentful-paint"); - console.log(`First Contentful Paint: ${entry ? `${entry.startTime} ms` : "None"}`, entry); + // console.log(`First Contentful Paint: ${entry ? `${entry.startTime} ms` : "None"}`, entry); paint = entries; send(); @@ -40,7 +40,7 @@ new PerformanceObserver((list, observer) => { const entries = list.getEntries(); // console.log(entries); const entry = entries.at(-1); - console.log(`Largest Contentful Paint: ${entry.startTime} ms`, entry); + // console.log(`Largest Contentful Paint: ${entry.startTime} ms`, entry); lcp = entries; send(); diff --git a/options/options.html b/options/options.html index 6df917b..5e7eed1 100644 --- a/options/options.html +++ b/options/options.html @@ -164,7 +164,7 @@
2500
+ Firefox 122 or greater)2500
respectively or 🟨 and 4000
)