Skip to content

Instantly share code, notes, and snippets.

Waiting for cargo build to finish

Kornel kornelski

View GitHub Profile
View secure_bookmarklet.js
// prevent exceptions from escaping outside function (backtrace could be revealing)
try {
// this is ASCII 'Secret!' represented as integers
var secret = [1399153522,1702109440];
var secretlength = 7;
// function that contains secret must finish executing before anything untrusted is called,
View gist:296779
// original (
(function(){if(!/*@cc_on!@*/0)return;var e = "abbr,article,aside,audio,canvas,datalist,details,figure,figcaption,footer,header,hgroup,mark,menu,meter,nav,output,progress,section,summary,time,video".split(','),i=e.length;while(i--){document.createElement(e[i])}})()
You can’t perform that action at this time.