fixes #43
BIN
extension/data/icons/ignored/128.png
Normal file
After Width: | Height: | Size: 8.8 KiB |
BIN
extension/data/icons/ignored/16.png
Normal file
After Width: | Height: | Size: 1.5 KiB |
BIN
extension/data/icons/ignored/18.png
Normal file
After Width: | Height: | Size: 1.7 KiB |
BIN
extension/data/icons/ignored/19.png
Normal file
After Width: | Height: | Size: 1.7 KiB |
BIN
extension/data/icons/ignored/256.png
Normal file
After Width: | Height: | Size: 17 KiB |
BIN
extension/data/icons/ignored/32.png
Normal file
After Width: | Height: | Size: 2.7 KiB |
BIN
extension/data/icons/ignored/36.png
Normal file
After Width: | Height: | Size: 2.9 KiB |
BIN
extension/data/icons/ignored/38.png
Normal file
After Width: | Height: | Size: 3.1 KiB |
BIN
extension/data/icons/ignored/48.png
Normal file
After Width: | Height: | Size: 4.1 KiB |
BIN
extension/data/icons/ignored/512.png
Normal file
After Width: | Height: | Size: 22 KiB |
BIN
extension/data/icons/ignored/64.png
Normal file
After Width: | Height: | Size: 5 KiB |
|
@ -87,7 +87,9 @@ function update(ua) {
|
|||
document.addEventListener('change', ({target}) => {
|
||||
if (target.closest('#filter')) {
|
||||
localStorage.setItem(target.id, target.value);
|
||||
update();
|
||||
chrome.storage.local.get({
|
||||
ua: ''
|
||||
}, prefs => update(prefs.ua || navigator.userAgent));
|
||||
}
|
||||
if (target.type === 'radio') {
|
||||
document.getElementById('ua').value = target.closest('tr').querySelector('td:nth-child(4)').textContent;
|
||||
|
|