Skip to content
Snippets Groups Projects
Commit fd10a04b authored by RANWEZ Pierre's avatar RANWEZ Pierre :anchor:
Browse files

:bug: bug: pure css when off

parent 37cb3208
Branches
No related tags found
1 merge request!1✨ feat: CSSLSD V2
......@@ -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]);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment