Skip to content

Instantly share code, notes, and snippets.



Last active Aug 29, 2015
What would you like to do?
Evil Unicode Kills JavaScript PopUp
<!DOCTYPE html>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" >
<TITLE>effective. Power لُلُصّبُلُلصّبُررً ॣ ॣh ॣ ॣ 冗</TITLE>
<p>Evil Unicode Wont Allow Popup:</p>
<button onclick="myFunction()">Try It</button>
function myFunction() {
alert("\u0065\u0066\u0066\u0065\u0063\u0074\u0069\u0076\u0065\u002e\u0050\u006f\u0077\u0065\u0072\u0644\u064f\u0644\u064f\u0635\u0651\u0628\u064f\u0644\u064f\u0644\u0635\u0651\u0628\u064f\u0631\u0631\u064b \u0963 \u0963\u0068 \u0963 \u0963\u5197");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment