Skip to content

Bookmarklet to instantly post a random emoji to a Github Pull Request.

Notifications You must be signed in to change notification settings

tommcc/emoji-shipit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Emoji Shipit Bookmarklet for Github

Using the bookmarklet

Go to http://tommcc.github.com/emoji-shipit and drag the "shipit" link to your bookmarks toolbar.

Updating emojis

This is a decidedly low-tech way to update the emojis in this list.

Run this in the console of http://emoji-cheat-sheet.com :

var emojiString = '';
$('ul[id^=emoji-] .name').each(function() {
  emojiString += "    '" + $(this).text() + "',\n";
});
copy(emojiString);

Then, copy into emoji_shipit.js file, sort, remove trailing comma.

Not working in Firefox?

GitHub recently enabled CSP on their pages, which limits the sources from which JavaScript can be executed on a page. In Firefox, the bookmarklet is prevented from running by this security policy.

A workaround is to disable this feature (but do this at your own risk!):

  1. Go to about:config
  2. Type security.csp.enable
  3. Double-click the row or set to false

About

Bookmarklet to instantly post a random emoji to a Github Pull Request.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published