Skip to content

Instantly share code, notes, and snippets.

@DavidAlejandro18
Created March 26, 2021 18:48
Show Gist options
  • Save DavidAlejandro18/5cbc65344a377033da9e5b8f62c7234d to your computer and use it in GitHub Desktop.
Save DavidAlejandro18/5cbc65344a377033da9e5b8f62c7234d to your computer and use it in GitHub Desktop.
Código para ocultar el modal de inicio de sesión de Quora cuando no tienes cuenta.
eval(function(p,a,c,k,e,d){while(c--){if(k[c]){p=p.replace(new RegExp('\\b'+c.toString(a)+'\\b','g'),k[c])}}return p}('g 9(){4.6("#2 .3-8").7[0].5="f: e;";4.6("#2 .3-8").7[1].5="d: c;";4.6("#2 .3-8").7[1].5="b: a;"}9();',17,17,'||root|q|document|style|querySelector|children|box|hackQuora|initial|position|unset|filter|none|display|function'.split('|')))
@DavidAlejandro18
Copy link
Author

El código esta ofuscado, lo unico que hace es esto:

function hackQuora() {
      document.querySelector("#root .q-box").children[0].style = "display: none;";
      document.querySelector("#root .q-box").children[1].style = "filter: unset;";
      document.querySelector("#root .q-box").children[1].style = "position: initial;";
}

hackQuora();

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment