Skip to content

Instantly share code, notes, and snippets.

@mizlan
Created March 19, 2022 04:29
Show Gist options
  • Save mizlan/96eba16762ce519180e08bf5f347cb4c to your computer and use it in GitHub Desktop.
Save mizlan/96eba16762ce519180e08bf5f347cb4c to your computer and use it in GitHub Desktop.
Remove blur on enotes (run in console)
(function() {
'use strict';
//remove class name starting with underscore
for(let i=0; i<10; i++){
document.querySelectorAll("[class^=_]")[0].className="";
}
document.getElementsByClassName('c-cta-section c-cta-section--with-border u-spacing u-align--center u-center-block')[0].style='display:none';
p = document.getElementsByClassName('c-cta-section c-cta-section--with-border u-spacing u-align--center u-center-block');
for(let i = 0; i<p.length; i++){
p[i].style="display:none";
}
//another way
var p = document.getElementsByClassName('c-answer__body')
var c = p[0].children;
c[c.length-1].className=""; })();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment