Skip to content

Instantly share code, notes, and snippets.

@igorlukanin
Created June 30, 2016 12:37
Show Gist options
  • Save igorlukanin/87221714e8a9ab4e6ffeb78c0a173312 to your computer and use it in GitHub Desktop.
Save igorlukanin/87221714e8a9ab4e6ffeb78c0a173312 to your computer and use it in GitHub Desktop.
FalkeynScript
// ==UserScript==
// @name FalkeynScript
// @match *
// ==/UserScript==
/* jshint multistr: true */
(function() {
var css = '\
<style>\
.falkeyn { font-style: italic; margin: 1em; }\
</style>';
var html = '\
<div class="falkeyn">Hi, falkeyn :)</div>\
';
document.body.innerHTML = css + html + document.body.innerHTML;
console.log('Tampering works!');
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment