diff --git a/content.js b/content.js index 95d2d7b35de927e8860a82bd7c2c91798067a270..829158ac531f16208f08d81a008c34e57ccc8945 100644 --- a/content.js +++ b/content.js @@ -481,8 +481,8 @@ function audioEvent() { } function pureCss() { - chrome.storage.local.get(['all'], function (result) { - if (result.all.length > 0) { + chrome.storage.local.get(['all', 'activate'], function (result) { + if (result.all.length > 0 && activate) { const elements = document.getElementsByClassName('CSSLSD'); while(elements.length > 0){ elements[0].parentNode.removeChild(elements[0]);