From 8b966d92a14d39cec359129d56d67f01f5f23803 Mon Sep 17 00:00:00 2001 From: Elbert Alias <77259+AliasIO@users.noreply.github.com> Date: Sat, 22 Jan 2022 10:46:46 +1100 Subject: [PATCH] Update hostname blacklist, Arc Publishing icon --- .../images/icons/Arc-Publishing.svg | 54 +++++++------------ src/drivers/webextension/js/driver.js | 2 +- 2 files changed, 21 insertions(+), 35 deletions(-) diff --git a/src/drivers/webextension/images/icons/Arc-Publishing.svg b/src/drivers/webextension/images/icons/Arc-Publishing.svg index 4a66617a2..21061ac81 100644 --- a/src/drivers/webextension/images/icons/Arc-Publishing.svg +++ b/src/drivers/webextension/images/icons/Arc-Publishing.svg @@ -1,36 +1,22 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + diff --git a/src/drivers/webextension/js/driver.js b/src/drivers/webextension/js/driver.js index d0c140346..405f2de40 100644 --- a/src/drivers/webextension/js/driver.js +++ b/src/drivers/webextension/js/driver.js @@ -15,7 +15,7 @@ const { agent, promisify, getOption, setOption, open, globEscape } = Utils const expiry = 1000 * 60 * 60 * 24 const hostnameIgnoreList = - /\b((local|dev(elop(ment)?)?|sandbox|stag(e|ing)?|preprod|production|preview|test(ing)?|[^a-z]demo(shop)?|cache)[.-]|dev\d|localhost|((wappalyzer|google|bing|baidu|microsoft|facebook|adobe|twitter|reddit|yahoo|wikipedia|amazon|amazonaws|youtube|stackoverflow|github|stackexchange|w3schools|twitch)\.)|(live|office|herokuapp|shopifypreview)\.com|\.local|\.test|\.netlify\.app|web\.archive\.org|zoom\.us|^([0-9.]+|[\d.]+)$|^([a-f0-9:]+:+)+[a-f0-9]+$)/ + /\b((local|dev(elop(ment)?)?|sandbox|stag(e|ing)?|preprod|production|preview|test(ing)?|[^a-z]demo(shop)?|cache)[.-]|dev\d|localhost|((wappalyzer|google|bing|baidu|microsoft|duckduckgo|facebook|adobe|twitter|reddit|yahoo|wikipedia|amazon|amazonaws|youtube|stackoverflow|github|stackexchange|w3schools|twitch)\.)|(live|office|herokuapp|shopifypreview)\.com|\.local|\.test|\.netlify\.app|web\.archive\.org|zoom\.us|^([0-9.]+|[\d.]+)$|^([a-f0-9:]+:+)+[a-f0-9]+$)/ const xhrDebounce = []