Created
February 23, 2015 06:15
-
-
Save brad-jones/7ae35f9748f6a33d7221 to your computer and use it in GitHub Desktop.
Hackpad.com User Script
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 Hackpad.com User Script | |
// @version 0.1 | |
// @description Forces the New Hackpad Button to Open in Current Tab/Window | |
// @author Brad Jones | |
// @include https://hackpad.com/* | |
// ==/UserScript== | |
$(document).ready(function() | |
{ | |
$('#createpadform').submit(function(e) | |
{ | |
e.preventDefault(); | |
window.location = 'https://hackpad.com/ep/pad/newpad?title='; | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment