Coder Social home page Coder Social logo

locomojis / chromoji Goto Github PK

View Code? Open in Web Editor NEW
31.0 2.0 13.0 4.63 MB

Chromoji adds the Mac OS X style emoji font symbols to Google Chrome for Windows, Linux, and even older version of OS X.

Home Page: http://chromoji.blogspot.com/

Python 91.41% JavaScript 7.62% CSS 0.97%

chromoji's Introduction

chromoji's People

Contributors

robjdavey avatar ticky avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

chromoji's Issues

Error messages in web console

In my web console I see this error message:

Denying load of chrome-extension://cahedbegdkagmcjfolhdlechbkeaieki/jquery.min.map. Resources must be listed in the web_accessible_resources manifest key in order to be loaded by pages outside the extension. 

Can you fix that?

Please, add black-list of sites.

Please, create black list for sites, where this plugin will not replace smilies.
vk.com originally use emoji, and smiles displayed crooked with this plugin.

emoji

Chromoji Breaks Webflow.com

As the titles says.

I'm using webflow, and I've noticed that Chromoji doesn't allow webflow to load css.
You can try webflow, they have a free plan.

Gmail issues

Cannot click on anything at all. It's definitely because of the Chromoji plugin, as when disabled it works properly. Maybe related to the characters ๆœƒๅ“ก in the from address on some Ebay emails I have just received, other emails are old and I didn't have issues before.

Update en_GB locale with Emoji names

The local currently does not contain the names for the Emoji items we display. This needs adding before translations can take place. The message names should match the IDs specified in #13 and the names will be identical to #12.

Causes issues with Reddit Enhancement Suite

Much of the extra functionality ("view images" link, "hide child comments" link) added by the Reddit Enhancement Suite extension is, for some reason, randomly broken by Chromoji.

Not sure what else I might provide to help debug it, or if you'll bother, but thought I'd post it regardless.

Android Emoji

Hi ~ not really an issue (I love the extension!) ~
finally a good one

But I would love it all the more if it had android emoji like this extension:
http://u.pushka.co/1dTNRGL

<3 <3

`just_text` function replaces page content, causes reload of reload-sensitive resources

I've recently discovered that the Chromoji extension interferes with some local governments' CAPTCHA codes, which rely on forcing the cache to always be invalidated to deliver a new CAPTCHA on page load.

Chromoji's behaviour of duplicating the page contents and replacing the DOM with an entirely new one causes issues with this, as the browser immediately re-fetches the image for the new elements.

An example of a page where this is a problem is https://oevf.aec.gov.au/VerifyEnrolment.aspx - you need not actually enter any details, simply observe the CAPTCHA code, and listen to its audio equivalent with Chromoji enabled versus disabled.

Now, at a fundamental level, this may be an issue with the way their ASP .NET forms operate, or may be an issue with their caching system, in any case, it works without Chromoji, and should with Chromoji.

Chromoji disturbs Vine Audio

When running Chromoji while viewing a Vine video the audio will separate from the video. Sometimes causing the audio to echo. If you pause the Vine the audio continues playing.

Increased CPU / Freeze with large HTML Files

I went to look at a large file in Github and the tab froze and eventually asked me to kill it. I ran a profiler on the page and found that until I stopped the profiling 77% of the CPU was dedicated to the emoji.js script:

screen shot 2013-08-23 at 9 29 10 am

Maybe there is a way to break out of the workload so that the UI doesn't get blocked on large calculations.

Issue with Instagram web feed

When viewing my feed at instagram.com, I've found that recently the page has been breaking after a few seconds after load when Chromoji is enabled. Certain page elements are duplicated and/or misaligned, and looking at the console shows multiple "Uncaught Error: Invariant Violation" warnings. I'm using the latest stable version of Chrome on Win 7.

Cache found images in background

To improve performance image replacements should be cached in the background process at startup and then fetched via messaging calls.
This will reduce the time spent checking if images exist at page load.

The basic process should be:

  • background.js loads at startup
    • loop through all chars in known codepages (if user has them enabled)
    • create image string for char (e.g. "images/1f300.png")
    • convert the image string to a full extension path
    • test that the image exists and if so, add to a collection of images
  • emoji.js loads at page visit
    • scan page (technique for this not important for this issue)
    • when char in correct codepage range found send message to background containing char number "img-1f300"
    • background should reply with the replacement string
    • insert this into the document. We could also cache this locally in case multiple instances are found.

Pasting emojis

I have another app(show me emoji) I was using prior to this that allowed me to to copy the codex for an emoji and paste it and it would show up. Now with this when I paste the same codex in a text box it disappears i'm assuming because this converts the codex to images which are not rendered in a text box like on twitter. Such
I say this with the suggestion that You ignore rendering in text boxes. This way if I get an emoji and copy it from somewhere and paste it in a text box it doesn't disappear

Chromoji causes YouTube HTML5 videos to end abruptly

Chromoji causes YouTube videos (when a user is in the HTML5 Trial) to end within the first couple seconds.

Steps to reproduce:

What should happen:

  • Video plays fully through.

What does happen:

  • Video plays for a little bit and then skips to the end. Attempt to start the video by repositioning the buffer causes it to play, but the buffer fails to continue loading.

Allow use of native Emoji fonts

Windows 8 (and Windows 7 with a specific update) have an Emoji font (It's not coloured, but it does the job).

Despite this, Windows' font substitution does not work in such a way that when a character is missing, it seeks an appropriate font which supplies it.

It'd be nice if this had the option to replace characters not with an image, but with an element containing the character whose font stack is set to something like;

emoji {
    font-family:"Segoe UI Symbol","Symbola";
}

(Note that Symbola is another free alternative for other systems)

Allow disabling replacement of PUA characters

There are 2 types of Unicode characters which this extension replaces with emoji images:

  • standardized characters, which Unicode officially describes as representing a certain image, for example U+1F6B2 BICYCLE
  • private use characters, found in private use areas within Unicode, which happen to have been used by certain specific systems to represent certain symbols (I am guessing this is what iOS 4 and ealier used before Unicode standardized all the emoji in Unicode 6.0), for example U+E154 which renders as the ATM symbol, and is equivalent to the standardized character U+1F3E7 ATM

The problem is that PUA (Private Use Area) characters can be used by any application for any purpose. For example, MathJax, a Math Formula engine for websites, used by Wikipedia if the user enables it, uses PUA characters to represent certain parts of mathematical symbols.

I've explained the issue in an image here: http://i.imgur.com/bE5S7Ug.png

Therefore, I think the chardict.json file should be redesigned to specify for each character if it is a standardized symbol or a PUA character. For example you could have:

{
     "name":"AUTOMATED TELLER MACHINE",
     "id":"automated_teller_machine",
     "image":"1f3e7.png",
     "chars":[
        "\uD83C\uDFE7"
     ],
     "pua_chars":[
        "\uE154"
     ]
},

Alternatively, you could distinguish which ones are PUA chars based on the unicode ranges. All PUA chars are in U+E000..U+F8FF, U+F0000..U+FFFFD, U+100000..U+10FFFD.

Then you could include an option to disable the replacement of PUA characters with images so that users can replace just the standardized characters.

Yet another way to solve the problem would be simply to stop supporting the PUA chars altogether, as most (if not all) have a standardized equivalent which can be used instead, although this would break compatibility with very old messages.

Emojis don't display correctly in Disqus chats

Hi, love the idea behind Chromoji; it solves one of the main reasons I keep thinking about IE on my Surface Pro. However, there seems to be still a bit of rendering problem on a few websites. On my old laptop, running Vista x64-Bit (soon to Se7en x64-Bit), while reading some news, I came across this webpage: http://goo.gl/pVufi9

Notice "aidan harris" disqus comment; it displays a box in place of the emoji. Not sure if this is the same case on Windows 8 and can't check at the moment, but on my iPhone, it renders it correctly as the WINKING FACE emoji. Could it be some incompatibility with Disqus?

Changes website

when I try to login to cas.iu.edu for school it changes to the page to say "2013" that's it. I have already disabled it and confirmed it is the extension and nothing else.

Add support for multi-char images

After changing the rendering method multicharacter images such as the flags and the keycap numbers do not get converted. This support needs adding back in.

Emoji not shown in text box

One user has complained that emoji is not shown in a text box.
This is actually deliberate as usually user will not want the text box to get parsed while they are trying to write tweets, however I will need to investigate whether it is possible to enable this for users such as the one experiencing the issue.
In their situation the text box actually contains the output from a chat conversation, and is not an input for live text, in which case this may be a perfectly valid place for them to view emoji.
I will attempt to add an option in that will cause emoji in these areas to be rendered (however I am not sure this will ever work properly for emoji that is within a pure text box as we use images, not font items (as iOS and Mac OS X does).

CPU 101%

Since I installed this extension, a Chrome process that runs over 100% keeps appearing in Activity Monitor.

Disabled it and now I'm back to normal. I believe the extension is the issue.

I'm on Lion 10.7.5, and Chrome Version 25.0.1364.99.

How to get it on Facebook

Hi i have download chromoji for 2 days now. I am not seeing it on facebook. How do I get it on Facebook?

Add whitelist support

Could you add a whitelist support as well? That is, only allow Emoji rendering on specific domains. Cause I believe Chromoji takes up a lot of resources, I only want it to run on Facebook and Instagram.

Thank you for a great extension!

Emoji size issue

User left the following comment in a review:

Runs great! This is exactly what I've been looking for! However, it is hard to see the emojis because they are so small. This could be because of my HD screen, but it would be nice if each emoji was larger to make it easier to differentiate between like emojis.

Investigation needed into the display of emoji on HD screens.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.