Skip to content

Instantly share code, notes, and snippets.

@humayunahmed8
Created October 28, 2022 14:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save humayunahmed8/abe4249d35c10ae3cffc99767843d57e to your computer and use it in GitHub Desktop.
Save humayunahmed8/abe4249d35c10ae3cffc99767843d57e to your computer and use it in GitHub Desktop.
Remove Nitropack Powered by Label
document.addEventListener("DOMContentLoaded", function(){ let divc = document.querySelectorAll('div[style]'); for (let i = 0, len = divc.length; i < len; i++) { let actdisplay = window.getComputedStyle(divc[i], null).display; let actclear = window.getComputedStyle(divc[i], null).clear; if(actdisplay == 'block' && actclear == 'both') { divc[i].remove(); } } });
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment