Skip to content

Instantly share code, notes, and snippets.

@octavioamu
Last active June 26, 2019 22:46
Show Gist options
  • Save octavioamu/f1a066c242ced114b47976eed41b2bde to your computer and use it in GitHub Desktop.
Save octavioamu/f1a066c242ced114b47976eed41b2bde to your computer and use it in GitHub Desktop.
Create bounty bookmarklet
<style>
body {
max-width: 500px;
margin: 1em auto;
padding: 2em;
font-family: monospace;
}
.btn {
color: white;
display: inline-block;
background-color: #4c64e6;
padding: 1rem;
text-decoration: none;
margin: 1em auto;
text-align: center;
}
p {
margin:1em 0;
}
</style>
<h1>Create bounty from GH issue</h1>
<ul>
<li>Drag and drop this link into your bookmarks bar</li>
<li>Navitate into a Github issue</li>
<li>Press the bookmarklet and you will be redirected to the bounty page with the url filled</li>
</ul>
<a href="javascript:void%20function(){window.open(`https://gitcoin.co/bounty/new%3Fsource=${document.location.href}`,%22_blank%22)}();" class="btn">Create Bounty</a>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment