6uv / Console-exploits

This is a list of new updated console scripts! These are all to change the look of discord or giving you cool stuff
76 stars 25 forks source link

Uncaught SyntexError: missing ) after argument list VM232:9 #7

Open Nit-nit opened 2 years ago

Nit-nit commented 2 years ago
const injectCss = (id, css) => {
    const style = document.createElement('style');
    style.id = id;
    style.innerText = css;
    document.head.appendChild(style);
    return style;
}
injectCss('Whatever', 
body{margin:0; padding:0;}
);

this is the snippet i tried to write in console and run it, hut it didnt work. Screenshot_2022-01-26-19-53-17-892_com.kiwibrowser.browser.jpg

Nit-nit commented 2 years ago

and the error says Uncaught SyntexError: missing ) after argument list VM232:9

ghost commented 2 years ago

if you wanna inject css, i'd suggest using discord's custom css injector.

try the below to enable a theme:

__SECRET_EMOTION__.injectGlobal(`YOUR THEME'S CSS AS A STRING`);

to disable a theme:

__SECRET_EMOTION__.flush();
Nit-nit commented 2 years ago

i forgot everything, what was i doing with this code? i dont remember anymore, anyways thanks

Nit-nit commented 2 years ago

if you wanna inject css, i'd suggest using discord's custom css injector.

try the below to enable a theme:

__SECRET_EMOTION__.injectGlobal(`YOUR THEME'S CSS AS A STRING`);

to disable a theme:

__SECRET_EMOTION__.flush();

man, we have interacted with each other in this thread, but i dont follow you right? but you are still in my explore feed dont know why bruh Screenshot_2022-07-08-18-37-31-927_com.github.android.jpg

ghost commented 2 years ago

nah you arent following me, weird that im in ur feed lol

Nit-nit commented 2 years ago

nah you arent following me, weird that im in ur feed lol

so does that mean your status is true? you are in my wifi? 😱

ghost commented 2 years ago

loll

Nit-nit commented 2 years ago

if you wanna inject css, i'd suggest using discord's custom css injector.

try the below to enable a theme:

__SECRET_EMOTION__.injectGlobal(`YOUR THEME'S CSS AS A STRING`);

to disable a theme:

__SECRET_EMOTION__.flush();

how am i supposed to implement it? i need an step by step tutorial :| but anyways i will br offline for next 2 months, my phone broke and i will prepare for exams