benjick / chrome-twemoji Goto Github PK
View Code? Open in Web Editor NEWSimple inject of twitter emojis in Chrome
Home Page: https://chrome.google.com/webstore/detail/twitter-emoji/cceblpicpdbjfeldpihbngbajlgbecpn
Simple inject of twitter emojis in Chrome
Home Page: https://chrome.google.com/webstore/detail/twitter-emoji/cceblpicpdbjfeldpihbngbajlgbecpn
I've not looked through the code too much, but presumably you simply need to update the regex used to identify which characters to replace.
Line 236, from this file seems to be the right one.
This picture shows the support provided by the plugin, and those that are missing.
Would really appreciate it if you would update the addon to fix this, I tried a bunch of the others (after my previous emoji addon got removed for ad injection) but most don't scale emojis to the font size correctly, leading me to yours. If I had any idea about chrome addon development, I'd probably fork this.
Hello,
I imported your script in my Angular app adding the following in angular.json
file:
"styles": [
"src/inject/inject.css",
"src/styles.scss"
],
"scripts": [
"src/inject/inject.js"
]
When I run my app I get the following error in Chrome console:
Uncaught TypeError: Cannot read property 'sendMessage' of undefined
So, chrome.extension
results to be undefined. How can I solve this?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.