Welcome to HBH! If you have tried to register and didn't get a verification email, please using the following link to resend the verification email.

functions in javascript injections


ghost's Avatar
0 0

how to set and use a call a function using javascript injection? i have researched this topic, and have even tried it, but nothing comes up. this is an example of what i have been trying: markupjavascript:alert(function a(){alert('hi')} a();); when i type this into the url bar, i get a popup that shows the function code, but it doesnt seem to call the function. what am i doing wrong?