From 19d15a9df9465da7191d767a4d0c74c0917b9ca8 Mon Sep 17 00:00:00 2001 From: hadi-14 Date: Wed, 10 Jul 2024 19:56:49 +0500 Subject: [PATCH] Added random selec button. --- v3/_locales/en/messages.json | 8 +- v3/_locales/ru/messages.json | 8 +- .../browsers/android browser-windows.json | 19 +- v3/data/popup/browsers/arora-windows.json | 123 ++++- v3/data/popup/index.html | 2 +- v3/data/popup/index.js | 51 ++- v3/data/popup/map.json | 431 +++++++++++++++++- v3/manifest.json | 2 +- 8 files changed, 625 insertions(+), 19 deletions(-) diff --git a/v3/_locales/en/messages.json b/v3/_locales/en/messages.json index ee059fca..6f6d6def 100644 --- a/v3/_locales/en/messages.json +++ b/v3/_locales/en/messages.json @@ -98,11 +98,11 @@ "testUATitle": { "message": "Test your user-agent string" }, - "considerContainers": { - "message": "Consider Containers" + "selectRandom": { + "message": "Select Random" }, - "considerContainersTitle": { - "message": "Allow the extension to access your browser's containers. If this permission is granted, tabs inside isolated containers do not follow the default container's user-agent string. You need to set this string for each new container." + "selectRandomTitle": { + "message": "Select a random User-Agent." }, "applyActiveTab": { "message": "Apply (this tab)" diff --git a/v3/_locales/ru/messages.json b/v3/_locales/ru/messages.json index 0ac10e96..ebf8e400 100644 --- a/v3/_locales/ru/messages.json +++ b/v3/_locales/ru/messages.json @@ -115,11 +115,11 @@ "testUATitle": { "message": "Тестировать вашу строку User-Agent" }, - "considerContainers": { - "message": "Учитывать контейнеры" + "selectRandom": { + "message": "Выбрать случайный" }, - "considerContainersTitle": { - "message": "Позволять расширению иметь доступ к контейнерам вашего браузера. При наличии доступа вкладки внутри изолированных контейнеров не используют строку User-Agent контейнера по умолчанию. Вам нужно устанавливать эту строку для каждого нового контейнера." + "selectRandomTitle": { + "message": "Выберите случайный пользовательский агент." }, "applyActiveWindow": { "message": "Применить (активное окно)" diff --git a/v3/data/popup/browsers/android browser-windows.json b/v3/data/popup/browsers/android browser-windows.json index 19f21826..a73f4c15 100644 --- a/v3/data/popup/browsers/android browser-windows.json +++ b/v3/data/popup/browsers/android browser-windows.json @@ -1 +1,18 @@ -[{"ua":"Mozilla/5.0 (Windows; U; Windows CE; Mobile; like Android; ko-kr) AppleWebKit/533.3 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.3 Dorothy","browser":{"name":"Android Browser","version":"4.0","major":"4"},"engine":{"name":"WebKit","version":"533.3"},"os":{"name":"Windows","version":"CE"},"device":{"type":"mobile"},"cpu":{}},{"ua":"Mozilla/5.0 (Android 2.2; Windows; U; Windows NT 6.1; en-US) AppleWebKit/533.19.4 (KHTML, like Gecko) Version/5.0.3 Safari/533.19.4","browser":{"name":"Android Browser","version":"5.0.3","major":"5"},"engine":{"name":"WebKit","version":"533.19.4"},"os":{"name":"Windows","version":"7"},"device":{"model":"en-US","type":"tablet"},"cpu":{}}] \ No newline at end of file +[ + { + "ua": "Mozilla/5.0 (Windows; U; Windows CE; Mobile; like Android; ko-kr) AppleWebKit/533.3 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.3 Dorothy", + "browser": { "name": "Android Browser", "version": "4.0", "major": "4" }, + "engine": { "name": "WebKit", "version": "533.3" }, + "os": { "name": "Windows", "version": "CE" }, + "device": { "type": "mobile" }, + "cpu": {} + }, + { + "ua": "Mozilla/5.0 (Android 2.2; Windows; U; Windows NT 6.1; en-US) AppleWebKit/533.19.4 (KHTML, like Gecko) Version/5.0.3 Safari/533.19.4", + "browser": { "name": "Android Browser", "version": "5.0.3", "major": "5" }, + "engine": { "name": "WebKit", "version": "533.19.4" }, + "os": { "name": "Windows", "version": "7" }, + "device": { "model": "en-US", "type": "tablet" }, + "cpu": {} + } +] diff --git a/v3/data/popup/browsers/arora-windows.json b/v3/data/popup/browsers/arora-windows.json index bce2e09c..4bf1bd1e 100644 --- a/v3/data/popup/browsers/arora-windows.json +++ b/v3/data/popup/browsers/arora-windows.json @@ -1 +1,122 @@ -[{"ua":"Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US) AppleWebKit/527+ (KHTML, like Gecko, Safari/419.3) Arora/0.6 (Change: )","browser":{"name":"Arora","version":"0.6","major":"0"},"engine":{"name":"WebKit","version":"527"},"os":{"name":"Windows","version":"Vista"},"device":{},"cpu":{}},{"ua":"Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/527+ (KHTML, like Gecko, Safari/419.3) Arora/0.6 (Change: )","browser":{"name":"Arora","version":"0.6","major":"0"},"engine":{"name":"WebKit","version":"527"},"os":{"name":"Windows","version":"XP"},"device":{},"cpu":{}},{"ua":"Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US) AppleWebKit/527+ (KHTML, like Gecko, Safari/419.3) Arora/0.4 (Change: )","browser":{"name":"Arora","version":"0.4","major":"0"},"engine":{"name":"WebKit","version":"527"},"os":{"name":"Windows","version":"Vista"},"device":{},"cpu":{}},{"ua":"Mozilla/5.0 (Windows; U; Windows NT 6.0; de-DE) AppleWebKit/527+ (KHTML, like Gecko, Safari/419.3) Arora/0.4 (Change: )","browser":{"name":"Arora","version":"0.4","major":"0"},"engine":{"name":"WebKit","version":"527"},"os":{"name":"Windows","version":"Vista"},"device":{},"cpu":{}},{"ua":"Mozilla/5.0 (Windows; U; Windows NT 5.2; pt-BR) AppleWebKit/527+ (KHTML, like Gecko, Safari/419.3) Arora/0.4 (Change: )","browser":{"name":"Arora","version":"0.4","major":"0"},"engine":{"name":"WebKit","version":"527"},"os":{"name":"Windows","version":"XP"},"device":{},"cpu":{}},{"ua":"Mozilla/5.0 (Windows; U; Windows NT 5.1; de-DE) AppleWebKit/527+ (KHTML, like Gecko, Safari/419.3) Arora/0.4 (Change: )","browser":{"name":"Arora","version":"0.4","major":"0"},"engine":{"name":"WebKit","version":"527"},"os":{"name":"Windows","version":"XP"},"device":{},"cpu":{}},{"ua":"Mozilla/5.0 (Windows; U; Windows NT 5.1; zh-CN) AppleWebKit/523.15 (KHTML, like Gecko, Safari/419.3) Arora/0.3 (Change: 287 c9dfb30)","browser":{"name":"Arora","version":"0.3","major":"0"},"engine":{"name":"WebKit","version":"523.15"},"os":{"name":"Windows","version":"XP"},"device":{},"cpu":{}},{"ua":"Mozilla/5.0 (Windows; U; Windows NT 5.1; fr-BE) AppleWebKit/523.15 (KHTML, like Gecko, Safari/419.3) Arora/0.3 (Change: 287 c9dfb30)","browser":{"name":"Arora","version":"0.3","major":"0"},"engine":{"name":"WebKit","version":"523.15"},"os":{"name":"Windows","version":"XP"},"device":{},"cpu":{}},{"ua":"Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/523.15 (KHTML, like Gecko, Safari/419.3) Arora/0.3 (Change: 287 c9dfb30)","browser":{"name":"Arora","version":"0.3","major":"0"},"engine":{"name":"WebKit","version":"523.15"},"os":{"name":"Windows","version":"XP"},"device":{},"cpu":{}},{"ua":"Mozilla/5.0 (Windows; U; Windows NT 6.0; de-DE) AppleWebKit/523.15 (KHTML, like Gecko, Safari/419.3) Arora/0.2","browser":{"name":"Arora","version":"0.2","major":"0"},"engine":{"name":"WebKit","version":"523.15"},"os":{"name":"Windows","version":"Vista"},"device":{},"cpu":{}},{"ua":"Mozilla/5.0 (Windows; U; Windows NT 5.1; nl-NL) AppleWebKit/523.15 (KHTML, like Gecko, Safari/419.3) Arora/0.2","browser":{"name":"Arora","version":"0.2","major":"0"},"engine":{"name":"WebKit","version":"523.15"},"os":{"name":"Windows","version":"XP"},"device":{},"cpu":{}},{"ua":"Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/523.15 (KHTML, like Gecko, Safari/419.3) Arora/0.2","browser":{"name":"Arora","version":"0.2","major":"0"},"engine":{"name":"WebKit","version":"523.15"},"os":{"name":"Windows","version":"XP"},"device":{},"cpu":{}},{"ua":"Mozilla/5.0 (Windows; U; Windows NT 5.1; de-CH) AppleWebKit/523.15 (KHTML, like Gecko, Safari/419.3) Arora/0.2","browser":{"name":"Arora","version":"0.2","major":"0"},"engine":{"name":"WebKit","version":"523.15"},"os":{"name":"Windows","version":"XP"},"device":{},"cpu":{}},{"ua":"Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.34 (KHTML, like Gecko) Arora/0.11.0 Safari/534.34","browser":{"name":"Arora","version":"0.11.0","major":"0"},"engine":{"name":"WebKit","version":"534.34"},"os":{"name":"Windows","version":"7"},"device":{},"cpu":{"architecture":"amd64"}},{"ua":"Mozilla/5.0 (Windows; U; Windows NT 6.0; en-MY) AppleWebKit/527+ (KHTML, like Gecko, Safari/419.3) Arora/0.10.0","browser":{"name":"Arora","version":"0.10.0","major":"0"},"engine":{"name":"WebKit","version":"527"},"os":{"name":"Windows","version":"Vista"},"device":{},"cpu":{}}] \ No newline at end of file +[ + { + "ua": "Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US) AppleWebKit/527+ (KHTML, like Gecko, Safari/419.3) Arora/0.6 (Change: )", + "browser": { "name": "Arora", "version": "0.6", "major": "0" }, + "engine": { "name": "WebKit", "version": "527" }, + "os": { "name": "Windows", "version": "Vista" }, + "device": {}, + "cpu": {} + }, + { + "ua": "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/527+ (KHTML, like Gecko, Safari/419.3) Arora/0.6 (Change: )", + "browser": { "name": "Arora", "version": "0.6", "major": "0" }, + "engine": { "name": "WebKit", "version": "527" }, + "os": { "name": "Windows", "version": "XP" }, + "device": {}, + "cpu": {} + }, + { + "ua": "Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US) AppleWebKit/527+ (KHTML, like Gecko, Safari/419.3) Arora/0.4 (Change: )", + "browser": { "name": "Arora", "version": "0.4", "major": "0" }, + "engine": { "name": "WebKit", "version": "527" }, + "os": { "name": "Windows", "version": "Vista" }, + "device": {}, + "cpu": {} + }, + { + "ua": "Mozilla/5.0 (Windows; U; Windows NT 6.0; de-DE) AppleWebKit/527+ (KHTML, like Gecko, Safari/419.3) Arora/0.4 (Change: )", + "browser": { "name": "Arora", "version": "0.4", "major": "0" }, + "engine": { "name": "WebKit", "version": "527" }, + "os": { "name": "Windows", "version": "Vista" }, + "device": {}, + "cpu": {} + }, + { + "ua": "Mozilla/5.0 (Windows; U; Windows NT 5.2; pt-BR) AppleWebKit/527+ (KHTML, like Gecko, Safari/419.3) Arora/0.4 (Change: )", + "browser": { "name": "Arora", "version": "0.4", "major": "0" }, + "engine": { "name": "WebKit", "version": "527" }, + "os": { "name": "Windows", "version": "XP" }, + "device": {}, + "cpu": {} + }, + { + "ua": "Mozilla/5.0 (Windows; U; Windows NT 5.1; de-DE) AppleWebKit/527+ (KHTML, like Gecko, Safari/419.3) Arora/0.4 (Change: )", + "browser": { "name": "Arora", "version": "0.4", "major": "0" }, + "engine": { "name": "WebKit", "version": "527" }, + "os": { "name": "Windows", "version": "XP" }, + "device": {}, + "cpu": {} + }, + { + "ua": "Mozilla/5.0 (Windows; U; Windows NT 5.1; zh-CN) AppleWebKit/523.15 (KHTML, like Gecko, Safari/419.3) Arora/0.3 (Change: 287 c9dfb30)", + "browser": { "name": "Arora", "version": "0.3", "major": "0" }, + "engine": { "name": "WebKit", "version": "523.15" }, + "os": { "name": "Windows", "version": "XP" }, + "device": {}, + "cpu": {} + }, + { + "ua": "Mozilla/5.0 (Windows; U; Windows NT 5.1; fr-BE) AppleWebKit/523.15 (KHTML, like Gecko, Safari/419.3) Arora/0.3 (Change: 287 c9dfb30)", + "browser": { "name": "Arora", "version": "0.3", "major": "0" }, + "engine": { "name": "WebKit", "version": "523.15" }, + "os": { "name": "Windows", "version": "XP" }, + "device": {}, + "cpu": {} + }, + { + "ua": "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/523.15 (KHTML, like Gecko, Safari/419.3) Arora/0.3 (Change: 287 c9dfb30)", + "browser": { "name": "Arora", "version": "0.3", "major": "0" }, + "engine": { "name": "WebKit", "version": "523.15" }, + "os": { "name": "Windows", "version": "XP" }, + "device": {}, + "cpu": {} + }, + { + "ua": "Mozilla/5.0 (Windows; U; Windows NT 6.0; de-DE) AppleWebKit/523.15 (KHTML, like Gecko, Safari/419.3) Arora/0.2", + "browser": { "name": "Arora", "version": "0.2", "major": "0" }, + "engine": { "name": "WebKit", "version": "523.15" }, + "os": { "name": "Windows", "version": "Vista" }, + "device": {}, + "cpu": {} + }, + { + "ua": "Mozilla/5.0 (Windows; U; Windows NT 5.1; nl-NL) AppleWebKit/523.15 (KHTML, like Gecko, Safari/419.3) Arora/0.2", + "browser": { "name": "Arora", "version": "0.2", "major": "0" }, + "engine": { "name": "WebKit", "version": "523.15" }, + "os": { "name": "Windows", "version": "XP" }, + "device": {}, + "cpu": {} + }, + { + "ua": "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/523.15 (KHTML, like Gecko, Safari/419.3) Arora/0.2", + "browser": { "name": "Arora", "version": "0.2", "major": "0" }, + "engine": { "name": "WebKit", "version": "523.15" }, + "os": { "name": "Windows", "version": "XP" }, + "device": {}, + "cpu": {} + }, + { + "ua": "Mozilla/5.0 (Windows; U; Windows NT 5.1; de-CH) AppleWebKit/523.15 (KHTML, like Gecko, Safari/419.3) Arora/0.2", + "browser": { "name": "Arora", "version": "0.2", "major": "0" }, + "engine": { "name": "WebKit", "version": "523.15" }, + "os": { "name": "Windows", "version": "XP" }, + "device": {}, + "cpu": {} + }, + { + "ua": "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/534.34 (KHTML, like Gecko) Arora/0.11.0 Safari/534.34", + "browser": { "name": "Arora", "version": "0.11.0", "major": "0" }, + "engine": { "name": "WebKit", "version": "534.34" }, + "os": { "name": "Windows", "version": "7" }, + "device": {}, + "cpu": { "architecture": "amd64" } + }, + { + "ua": "Mozilla/5.0 (Windows; U; Windows NT 6.0; en-MY) AppleWebKit/527+ (KHTML, like Gecko, Safari/419.3) Arora/0.10.0", + "browser": { "name": "Arora", "version": "0.10.0", "major": "0" }, + "engine": { "name": "WebKit", "version": "527" }, + "os": { "name": "Windows", "version": "Vista" }, + "device": {}, + "cpu": {} + } +] diff --git a/v3/data/popup/index.html b/v3/data/popup/index.html index 294b6a85..d03eacbd 100644 --- a/v3/data/popup/index.html +++ b/v3/data/popup/index.html @@ -128,7 +128,7 @@ - + diff --git a/v3/data/popup/index.js b/v3/data/popup/index.js index e7220d70..dfaf25cc 100644 --- a/v3/data/popup/index.js +++ b/v3/data/popup/index.js @@ -187,8 +187,8 @@ function update(ua) { else { throw Error('OS is not found'); } - // FF 55.0 does not support finally - }).catch(() => {}).then(() => { + // FF 55.0 does not support finally + }).catch(() => { }).then(() => { parent.dataset.loading = false; }); } @@ -203,7 +203,7 @@ document.getElementById('sort').addEventListener('change', e => chrome.storage.l 'popup-sort': e.target.value })); -document.addEventListener('change', ({target}) => { +document.addEventListener('change', ({ target }) => { if (target.closest('#filter')) { chrome.storage.local.get({ ua: '' @@ -250,7 +250,7 @@ document.addEventListener('DOMContentLoaded', () => fetch('./map.json').then(r = }); })); -document.getElementById('list').addEventListener('click', ({target}) => { +document.getElementById('list').addEventListener('click', ({ target }) => { const tr = target.closest('tbody tr'); if (tr) { const input = tr.querySelector('input'); @@ -263,7 +263,7 @@ document.getElementById('list').addEventListener('click', ({target}) => { } }); -document.getElementById('custom').addEventListener('keyup', ({target}) => { +document.getElementById('custom').addEventListener('keyup', ({ target }) => { const value = target.value; [...document.querySelectorAll('#list tbody tr')] .forEach(tr => tr.dataset.matched = tr.textContent.toLowerCase().indexOf(value.toLowerCase()) !== -1); @@ -281,9 +281,37 @@ function msg(msg) { toast.textContent = msg; window.setTimeout(() => toast.textContent = '', 2000); } +// get random elements +function getRandomElement(array) { + console.log(array); + return array[Math.floor(Math.random() * array.length)]; +} + +// gets random browser and os +function getRandomBrowserAndOS() { + return fetch('./map.json') + .then(response => response.json()) + .then(map => { + const randomBrowser = getRandomElement(map.browser); + console.log(randomBrowser); + const randomOS = getRandomElement(map.matching[randomBrowser.toLowerCase()]); + return { randomBrowser, randomOS }; + }); +} + +// getRandomUserAgent: uses random browser and os to get random user agent +function getRandomUserAgent() { + return getRandomBrowserAndOS().then(({ randomBrowser, randomOS }) => { + const path = `browsers/${randomBrowser.toLowerCase()}-${randomOS.toLowerCase().replace(/\//g, '-')}.json`; + return get(path).then(response => response.json()).then(list => { + const randomUserAgent = getRandomElement(list); + return randomUserAgent; + }); + }); +} // commands -document.addEventListener('click', ({target}) => { +document.addEventListener('click', ({ target }) => { const cmd = target.dataset.cmd; if (cmd) { if (cmd === 'apply') { @@ -325,6 +353,17 @@ document.addEventListener('click', ({target}) => { } }); } + else if (cmd === 'random') { + getRandomUserAgent().then(randomUA => { + document.getElementById('ua').value = randomUA.ua; + document.getElementById('browser').value = randomUA.browser.name; + document.getElementById('os').value = randomUA.os.name; + document.getElementById('ua').dispatchEvent(new Event('input')); + + // document.getElementById('sort').value = randomUA['popup-sort']; + msg(chrome.i18n.getMessage('msgRandomUASet')); + }); + } else if (cmd === 'reset') { const input = document.querySelector('#list :checked'); if (input) { diff --git a/v3/data/popup/map.json b/v3/data/popup/map.json index 6752394f..2465a6be 100644 --- a/v3/data/popup/map.json +++ b/v3/data/popup/map.json @@ -1 +1,430 @@ -{"browser":["Bot","IE","Konqueror","Opera","Firefox","Chrome","Mobile Safari","IEMobile","Safari","Android Browser","Opera Mobi","Opera Mini","UCBrowser","Puffin","Samsung Browser","Yandex","MIUI Browser","Edge","WebKit","Blazer","BOLT","Fennec","Maemo Browser","Minimo","Kindle","Skyfire","Chromium","Avant ","Maxthon","Arora","Mozilla","Epiphany","Camino","Chimera","Comodo Dragon","Conkeror","Links","Firebird","Swiftfox","Netscape","Flock","iCab","Iceape","IceCat","IceWeasel","Iron","K-Meleon","Lunascape","Lynx","Midori","KHTML","Mosaic","NetSurf","OmniWeb","Opera Tablet","PaleMoon","Phoenix","RockMelt","SeaMonkey","Slim","w3m","IceDragon","Waterfox","GSA","Whale","Coc Coc","Vivaldi","Facebook","Avast Secure Browser","Chrome WebView","QQBrowser","Iridium","AVG Secure Browser","Basilisk","Chrome Headless","baiduboxapp","Silk","Opera Touch","TizenBrowser","Tesla","Brave","Instagram","WeChat","LBBROWSER"],"os":["Misc","Windows","Linux","Mac OS","Android","iOS","Windows Phone","BlackBerry","Symbian","Maemo","Windows Phone OS","OpenBSD","Windows Mobile","Unix","Ubuntu","Fedora","Debian","BeOS","Haiku","Solaris","Chromium OS","NetBSD","FreeBSD","Slackware","SUSE","Gentoo","Mageia","Arch","Red Hat","CentOS","Mint","DragonFly","Kubuntu","Mandriva","Zenwalk","GNU","OS/2","AIX","QNX","HP-UX","RISC OS","Nintendo","OpenSolaris","AmigaOS","BSD","OpenVMS","Raspbian","Tizen","Xbox","PlayStation","openSUSE"],"matching":{"bot":["misc"],"ie":["windows","mac os","linux","unix","xbox"],"konqueror":["linux","freebsd","fedora","kubuntu","slackware","openbsd","dragonfly","windows","solaris","netbsd","suse","debian"],"opera":["mac os","windows","android","symbian","maemo","ubuntu","linux","debian","mint","freebsd","nintendo","opensolaris","solaris","openbsd","kubuntu","unix"],"firefox":["mac os","windows","android","ios","ubuntu","linux","fedora","openbsd","netbsd","mageia","debian","freebsd","arch","gentoo","red hat","suse","centos","slackware","mint","dragonfly","solaris","kubuntu","mandriva","beos","zenwalk","windows phone"],"chrome":["mac os","windows","android","linux","openbsd","chromium os","netbsd","freebsd","slackware","suse","ubuntu","debian","ios","fedora","unix","xbox","windows phone","mint","opensuse"],"mobile safari":["ios","android","mac os"],"iemobile":["windows phone","windows phone os","windows"],"safari":["mac os","blackberry","android","symbian","windows","linux","ios","bsd","netbsd","playstation"],"android browser":["android","windows"],"opera mobi":["android","symbian","windows mobile","windows","mac os","linux"],"opera mini":["ios","symbian","android","windows mobile","windows","mac os","linux","unix"],"ucbrowser":["android","windows"],"puffin":["android"],"samsung browser":["android","linux","tizen"],"yandex":["android","windows","mac os","linux","ios","fedora"],"miui browser":["android","linux"],"edge":["windows phone","windows","mac os","xbox","android","windows mobile","ios","linux","fedora"],"webkit":["android","symbian","mac os","windows","linux","arch","unix","ios","playstation","xbox","windows phone"],"blazer":["windows"],"bolt":["windows"],"fennec":["android","windows","maemo","mac os","linux"],"maemo browser":["maemo"],"minimo":["linux","windows","openbsd"],"kindle":["linux","android"],"skyfire":["mac os"],"chromium":["ubuntu","linux","netbsd","raspbian","windows"],"avant ":["windows"],"maxthon":["windows"],"arora":["linux","windows"],"mozilla":["windows","debian","linux","ubuntu","mac os","openbsd","beos","haiku","solaris","gentoo","freebsd","kubuntu","fedora","mint","red hat","os/2","aix","qnx","hp-ux","netbsd","openvms","unix"],"epiphany":["linux","ubuntu","openbsd","freebsd","suse","fedora","debian","gentoo","solaris"],"camino":["mac os"],"chimera":["mac os"],"comodo dragon":["windows","linux"],"conkeror":["debian","windows","linux"],"links":["linux","netbsd","gentoo","unix","openbsd","freebsd","mac os","solaris","debian"],"firebird":["windows","mac os","solaris","linux"],"swiftfox":["linux"],"netscape":["windows","mac os","linux","solaris","hp-ux","aix","xbox"],"flock":["mac os","windows","linux"],"icab":["mac os","windows"],"iceape":["linux"],"icecat":["linux"],"iceweasel":["linux","debian","gentoo","ubuntu","windows"],"iron":["windows","linux","mac os"],"k-meleon":["windows","linux","freebsd"],"lunascape":["windows"],"lynx":["gnu"],"midori":["linux","freebsd","windows","arch","netbsd"],"khtml":["windows"],"mosaic":["windows","aix","solaris"],"netsurf":["risc os","linux","netbsd"],"omniweb":["mac os"],"opera tablet":["windows","symbian"],"palemoon":["windows","linux"],"phoenix":["linux","windows","mac os"],"rockmelt":["windows","mac os"],"seamonkey":["windows","linux","os/2","mac os","freebsd","openbsd","fedora","suse","mandriva","gentoo","beos","haiku","amigaos","centos","red hat","netbsd"],"slim":["windows","android"],"w3m":["debian"],"icedragon":["windows"],"waterfox":["windows","linux","mac os"],"gsa":["ios"],"whale":["windows","mac os","linux"],"coc coc":["windows"],"vivaldi":["windows","linux","netbsd","mac os"],"facebook":["ios","android"],"avast secure browser":["windows"],"chrome webview":["android"],"qqbrowser":["windows","ios"],"iridium":["windows"],"avg secure browser":["windows"],"basilisk":["windows"],"chrome headless":["linux","xbox"],"baiduboxapp":["android"],"silk":["mac os","android","linux","playstation"],"opera touch":["ios","android"],"tizenbrowser":["tizen"],"tesla":["linux","windows"],"brave":["android","mac os","windows","gentoo","mint","linux","openbsd","ios"],"instagram":["android"],"wechat":["ios","android"],"lbbrowser":["windows"]}} \ No newline at end of file +{ + "browser": [ + "Bot", + "IE", + "Konqueror", + "Opera", + "Firefox", + "Chrome", + "Mobile Safari", + "IEMobile", + "Safari", + "Android Browser", + "Opera Mobi", + "Opera Mini", + "UCBrowser", + "Puffin", + "Samsung Browser", + "Yandex", + "MIUI Browser", + "Edge", + "WebKit", + "Blazer", + "BOLT", + "Fennec", + "Maemo Browser", + "Minimo", + "Kindle", + "Skyfire", + "Chromium", + "Avant ", + "Maxthon", + "Arora", + "Mozilla", + "Epiphany", + "Camino", + "Chimera", + "Comodo Dragon", + "Conkeror", + "Links", + "Firebird", + "Swiftfox", + "Netscape", + "Flock", + "iCab", + "Iceape", + "IceCat", + "IceWeasel", + "Iron", + "K-Meleon", + "Lunascape", + "Lynx", + "Midori", + "KHTML", + "Mosaic", + "NetSurf", + "OmniWeb", + "Opera Tablet", + "PaleMoon", + "Phoenix", + "RockMelt", + "SeaMonkey", + "Slim", + "w3m", + "IceDragon", + "Waterfox", + "GSA", + "Whale", + "Coc Coc", + "Vivaldi", + "Facebook", + "Avast Secure Browser", + "Chrome WebView", + "QQBrowser", + "Iridium", + "AVG Secure Browser", + "Basilisk", + "Chrome Headless", + "baiduboxapp", + "Silk", + "Opera Touch", + "TizenBrowser", + "Tesla", + "Brave", + "Instagram", + "WeChat", + "LBBROWSER" + ], + "os": [ + "Misc", + "Windows", + "Linux", + "Mac OS", + "Android", + "iOS", + "Windows Phone", + "BlackBerry", + "Symbian", + "Maemo", + "Windows Phone OS", + "OpenBSD", + "Windows Mobile", + "Unix", + "Ubuntu", + "Fedora", + "Debian", + "BeOS", + "Haiku", + "Solaris", + "Chromium OS", + "NetBSD", + "FreeBSD", + "Slackware", + "SUSE", + "Gentoo", + "Mageia", + "Arch", + "Red Hat", + "CentOS", + "Mint", + "DragonFly", + "Kubuntu", + "Mandriva", + "Zenwalk", + "GNU", + "OS/2", + "AIX", + "QNX", + "HP-UX", + "RISC OS", + "Nintendo", + "OpenSolaris", + "AmigaOS", + "BSD", + "OpenVMS", + "Raspbian", + "Tizen", + "Xbox", + "PlayStation", + "openSUSE" + ], + "matching": { + "bot": ["misc"], + "ie": ["windows", "mac os", "linux", "unix", "xbox"], + "konqueror": [ + "linux", + "freebsd", + "fedora", + "kubuntu", + "slackware", + "openbsd", + "dragonfly", + "windows", + "solaris", + "netbsd", + "suse", + "debian" + ], + "opera": [ + "mac os", + "windows", + "android", + "symbian", + "maemo", + "ubuntu", + "linux", + "debian", + "mint", + "freebsd", + "nintendo", + "opensolaris", + "solaris", + "openbsd", + "kubuntu", + "unix" + ], + "firefox": [ + "mac os", + "windows", + "android", + "ios", + "ubuntu", + "linux", + "fedora", + "openbsd", + "netbsd", + "mageia", + "debian", + "freebsd", + "arch", + "gentoo", + "red hat", + "suse", + "centos", + "slackware", + "mint", + "dragonfly", + "solaris", + "kubuntu", + "mandriva", + "beos", + "zenwalk", + "windows phone" + ], + "chrome": [ + "mac os", + "windows", + "android", + "linux", + "openbsd", + "chromium os", + "netbsd", + "freebsd", + "slackware", + "suse", + "ubuntu", + "debian", + "ios", + "fedora", + "unix", + "xbox", + "windows phone", + "mint", + "opensuse" + ], + "mobile safari": ["ios", "android", "mac os"], + "iemobile": ["windows phone", "windows phone os", "windows"], + "safari": [ + "mac os", + "blackberry", + "android", + "symbian", + "windows", + "linux", + "ios", + "bsd", + "netbsd", + "playstation" + ], + "android browser": ["android", "windows"], + "opera mobi": [ + "android", + "symbian", + "windows mobile", + "windows", + "mac os", + "linux" + ], + "opera mini": [ + "ios", + "symbian", + "android", + "windows mobile", + "windows", + "mac os", + "linux", + "unix" + ], + "ucbrowser": ["android", "windows"], + "puffin": ["android"], + "samsung browser": ["android", "linux", "tizen"], + "yandex": ["android", "windows", "mac os", "linux", "ios", "fedora"], + "miui browser": ["android", "linux"], + "edge": [ + "windows phone", + "windows", + "mac os", + "xbox", + "android", + "windows mobile", + "ios", + "linux", + "fedora" + ], + "webkit": [ + "android", + "symbian", + "mac os", + "windows", + "linux", + "arch", + "unix", + "ios", + "playstation", + "xbox", + "windows phone" + ], + "blazer": ["windows"], + "bolt": ["windows"], + "fennec": ["android", "windows", "maemo", "mac os", "linux"], + "maemo browser": ["maemo"], + "minimo": ["linux", "windows", "openbsd"], + "kindle": ["linux", "android"], + "skyfire": ["mac os"], + "chromium": ["ubuntu", "linux", "netbsd", "raspbian", "windows"], + "avant ": ["windows"], + "maxthon": ["windows"], + "arora": ["linux", "windows"], + "mozilla": [ + "windows", + "debian", + "linux", + "ubuntu", + "mac os", + "openbsd", + "beos", + "haiku", + "solaris", + "gentoo", + "freebsd", + "kubuntu", + "fedora", + "mint", + "red hat", + "os/2", + "aix", + "qnx", + "hp-ux", + "netbsd", + "openvms", + "unix" + ], + "epiphany": [ + "linux", + "ubuntu", + "openbsd", + "freebsd", + "suse", + "fedora", + "debian", + "gentoo", + "solaris" + ], + "camino": ["mac os"], + "chimera": ["mac os"], + "comodo dragon": ["windows", "linux"], + "conkeror": ["debian", "windows", "linux"], + "links": [ + "linux", + "netbsd", + "gentoo", + "unix", + "openbsd", + "freebsd", + "mac os", + "solaris", + "debian" + ], + "firebird": ["windows", "mac os", "solaris", "linux"], + "swiftfox": ["linux"], + "netscape": [ + "windows", + "mac os", + "linux", + "solaris", + "hp-ux", + "aix", + "xbox" + ], + "flock": ["mac os", "windows", "linux"], + "icab": ["mac os", "windows"], + "iceape": ["linux"], + "icecat": ["linux"], + "iceweasel": ["linux", "debian", "gentoo", "ubuntu", "windows"], + "iron": ["windows", "linux", "mac os"], + "k-meleon": ["windows", "linux", "freebsd"], + "lunascape": ["windows"], + "lynx": ["gnu"], + "midori": ["linux", "freebsd", "windows", "arch", "netbsd"], + "khtml": ["windows"], + "mosaic": ["windows", "aix", "solaris"], + "netsurf": ["risc os", "linux", "netbsd"], + "omniweb": ["mac os"], + "opera tablet": ["windows", "symbian"], + "palemoon": ["windows", "linux"], + "phoenix": ["linux", "windows", "mac os"], + "rockmelt": ["windows", "mac os"], + "seamonkey": [ + "windows", + "linux", + "os/2", + "mac os", + "freebsd", + "openbsd", + "fedora", + "suse", + "mandriva", + "gentoo", + "beos", + "haiku", + "amigaos", + "centos", + "red hat", + "netbsd" + ], + "slim": ["windows", "android"], + "w3m": ["debian"], + "icedragon": ["windows"], + "waterfox": ["windows", "linux", "mac os"], + "gsa": ["ios"], + "whale": ["windows", "mac os", "linux"], + "coc coc": ["windows"], + "vivaldi": ["windows", "linux", "netbsd", "mac os"], + "facebook": ["ios", "android"], + "avast secure browser": ["windows"], + "chrome webview": ["android"], + "qqbrowser": ["windows", "ios"], + "iridium": ["windows"], + "avg secure browser": ["windows"], + "basilisk": ["windows"], + "chrome headless": ["linux", "xbox"], + "baiduboxapp": ["android"], + "silk": ["mac os", "android", "linux", "playstation"], + "opera touch": ["ios", "android"], + "tizenbrowser": ["tizen"], + "tesla": ["linux", "windows"], + "brave": [ + "android", + "mac os", + "windows", + "gentoo", + "mint", + "linux", + "openbsd", + "ios" + ], + "instagram": ["android"], + "wechat": ["ios", "android"], + "lbbrowser": ["windows"] + } +} diff --git a/v3/manifest.json b/v3/manifest.json index 367b8442..ec615144 100755 --- a/v3/manifest.json +++ b/v3/manifest.json @@ -1,7 +1,7 @@ { "manifest_version": 3, "name": "__MSG_extensionName__", - "version": "0.6.1.1", + "version": "0.6.1.2", "default_locale": "en", "description": "__MSG_extensionDescription__", "permissions": [