Created
June 30, 2016 12:37
-
-
Save igorlukanin/87221714e8a9ab4e6ffeb78c0a173312 to your computer and use it in GitHub Desktop.
FalkeynScript
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==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