Skip to content

Instantly share code, notes, and snippets.

@shivam-tripathi
Created March 16, 2018 19:30
Show Gist options
  • Save shivam-tripathi/701c1d51626586f0a58a1a16cd9483c9 to your computer and use it in GitHub Desktop.
Save shivam-tripathi/701c1d51626586f0a58a1a16cd9483c9 to your computer and use it in GitHub Desktop.
// ==UserScript==
// @name New Userscript
// @namespace http://tampermonkey.net/
// @version 0.1
// @description try to take over the world!
// @author You
// @match https://www.google.co.in/
// @require https://fb.me/react-0.13.0.js
// @grant none
// ==/UserScript==
var App = React.createClass({
render: function(){
return(React.createElement("div", null, "It works!"));
}
});
React.render(React.createElement(App), document.body);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment