Issues (1191)

Security Analysis    not enabled

This project does not seem to handle request data directly as such no vulnerable execution paths were found.

  Cross-Site Scripting
Cross-Site Scripting enables an attacker to inject code into the response of a web-request that is viewed by other users. It can for example be used to bypass access controls, or even to take over other users' accounts.
  File Exposure
File Exposure allows an attacker to gain access to local files that he should not be able to access. These files can for example include database credentials, or other configuration files.
  File Manipulation
File Manipulation enables an attacker to write custom data to files. This potentially leads to injection of arbitrary code on the server.
  Object Injection
Object Injection enables an attacker to inject an object into PHP code, and can lead to arbitrary code execution, file exposure, or file manipulation attacks.
  Code Injection
Code Injection enables an attacker to execute arbitrary code on the server.
  Response Splitting
Response Splitting can be used to send arbitrary responses.
  File Inclusion
File Inclusion enables an attacker to inject custom files into PHP's file loading mechanism, either explicitly passed to include, or for example via PHP's auto-loading mechanism.
  Command Injection
Command Injection enables an attacker to inject a shell command that is execute with the privileges of the web-server. This can be used to expose sensitive data, or gain access of your server.
  SQL Injection
SQL Injection enables an attacker to execute arbitrary SQL code on your database server gaining access to user data, or manipulating user data.
  XPath Injection
XPath Injection enables an attacker to modify the parts of XML document that are read. If that XML document is for example used for authentication, this can lead to further vulnerabilities similar to SQL Injection.
  LDAP Injection
LDAP Injection enables an attacker to inject LDAP statements potentially granting permission to run unauthorized queries, or modify content inside the LDAP tree.
  Header Injection
  Other Vulnerability
This category comprises other attack vectors such as manipulating the PHP runtime, loading custom extensions, freezing the runtime, or similar.
  Regex Injection
Regex Injection enables an attacker to execute arbitrary code in your PHP process.
  XML Injection
XML Injection enables an attacker to read files on your local filesystem including configuration files, or can be abused to freeze your web-server process.
  Variable Injection
Variable Injection enables an attacker to overwrite program variables with custom data, and can lead to further vulnerabilities.
Unfortunately, the security analysis is currently not available for your project. If you are a non-commercial open-source project, please contact support to gain access.

js/jQueryEmoji.js (7 issues)

Upgrade to new PHP Analysis Engine

These results are based on our legacy PHP analysis, consider migrating to our new PHP analysis engine instead. Learn more

1
/*
2
Copyright (c) by Rodrigo Polo - http://RodrigoPolo.com
3
Licensed under MIT
4
*/
5
(function($) {
0 ignored issues
show
This code seems to be duplicated in your project.
Loading history...
6
7
	// deleted *,#,0,1,2,3,4,5,6,7,8,9
8
	// check tauros und co mit kreis hinter
9
	//Flaggen wird wohl passen
10
	var emojis = '😀,😁,😂,🤣,😃,😄,😅,😆,😉,😊,😋,😎,😍,😘,😗,😙,😚,☺,🙂,🤗,🤔,😐,😑,😶,🙄,😏,😣,😥,😮,🤐,😯,😪,😫,😴,😌,🤓,😛,😜,😝,🤤,😒,😓,😔,😕,🙃,🤑,😲,☹,🙁,😖,😞,😟,😤,😢,😭,😦,😧,😨,😩,😬,😰,😱,😳,😵,😡,😠,😇,🤠,🤡,🤥,😷,🤒,🤕,🤢,🤧,😈,👿,👹,👺,💀,☠,👻,👽,👾,🤖,💩,😺,😸,😹,😻,😼,😽,🙀,😿,😾,🙈,🙉,🙊,👩‍❤️‍💋‍👨,👨‍❤️‍💋‍👨,👩‍❤️‍💋‍👩,💑,👩‍❤️‍👨,👨‍❤️‍👨,👩‍❤️‍👩,👪,👨‍👩‍👧‍👦,👨‍👩‍👦‍👦,👨‍👩‍👧‍👧,👨‍👨‍👧‍👦,👨‍👨‍👦‍👦,👨‍👨‍👧‍👧,👩‍👩‍👧‍👦,👩‍👩‍👦‍👦,👩‍👩‍👧‍👧,👨‍👨‍👦,👨‍👨‍👧,👩‍👧‍👦,👩‍👧‍👧,👨‍👩‍👦,👩‍👩‍👦,👨‍👩‍👧,👩‍👩‍👧,👨‍👧‍👦,👨‍👦‍👦,👨‍👧‍👧,👩‍👦‍👦,👩‍👧,👩‍👦,👨‍👧,👨‍👦,👦🏻,👦🏼,👦🏽,👦🏾,👦🏿,👦,👧🏻,👧🏼,👧🏽,👧🏾,👧🏿,👧,👴🏻,👴🏼,👴🏽,👴🏾,👴🏿,👴,👵🏻,👵🏼,👵🏽,👵🏾,👵🏿,👵,👶🏻,👶🏼,👶🏽,👶🏾,👶🏿,👶,👼🏻,👼🏼,👼🏽,👼🏾,👼🏿,👼,👨🏻‍⚕️,👨🏼‍⚕️,👨🏽‍⚕️,👨🏾‍⚕️,👨🏿‍⚕️,👨‍⚕️,👩🏻‍⚕️,👩🏼‍⚕️,👩🏽‍⚕️,👩🏾‍⚕️,👩🏿‍⚕️,👩‍⚕️,👨🏻‍🎓,👨🏼‍🎓,👨🏽‍🎓,👨🏾‍🎓,👨🏿‍🎓,👨‍🎓,👩🏻‍🎓,👩🏼‍🎓,👩🏽‍🎓,👩🏾‍🎓,👩🏿‍🎓,👩‍🎓,👨🏻‍🏫,👨🏼‍🏫,👨🏽‍🏫,👨🏾‍🏫,👨🏿‍🏫,👨‍🏫,👩🏻‍🏫,👩🏼‍🏫,👩🏽‍🏫,👩🏾‍🏫,👩🏿‍🏫,👩‍🏫,👨🏻‍⚖️,👨🏼‍⚖️,👨🏽‍⚖️,👨🏾‍⚖️,👨🏿‍⚖️,👨‍⚖️,👩🏻‍⚖️,👩🏼‍⚖️,👩🏽‍⚖️,👩🏾‍⚖️,👩🏿‍⚖️,👩‍⚖️,👨🏻‍🌾,👨🏼‍🌾,👨🏽‍🌾,👨🏾‍🌾,👨🏿‍🌾,👨‍🌾,👩🏻‍🌾,👩🏼‍🌾,👩🏽‍🌾,👩🏾‍🌾,👩🏿‍🌾,👩‍🌾,👨🏻‍🍳,👨🏼‍🍳,👨🏽‍🍳,👨🏾‍🍳,👨🏿‍🍳,👨‍🍳,👩🏻‍🍳,👩🏼‍🍳,👩🏽‍🍳,👩🏾‍🍳,👩🏿‍🍳,👩‍🍳,👨🏻‍🔧,👨🏼‍🔧,👨🏽‍🔧,👨🏾‍🔧,👨🏿‍🔧,👨‍🔧,👩🏻‍🔧,👩🏼‍🔧,👩🏽‍🔧,👩🏾‍🔧,👩🏿‍🔧,👩‍🔧,👨🏻‍🏭,👨🏼‍🏭,👨🏽‍🏭,👨🏾‍🏭,👨🏿‍🏭,👨‍🏭,👩🏻‍🏭,👩🏼‍🏭,👩🏽‍🏭,👩🏾‍🏭,👩🏿‍🏭,👩‍🏭,👨🏻‍💼,👨🏼‍💼,👨🏽‍💼,👨🏾‍💼,👨🏿‍💼,👨‍💼,👩🏻‍💼,👩🏼‍💼,👩🏽‍💼,👩🏾‍💼,👩🏿‍💼,👩‍💼,👨🏻‍🔬,👨🏼‍🔬,👨🏽‍🔬,👨🏾‍🔬,👨🏿‍🔬,👨‍🔬,👩🏻‍🔬,👩🏼‍🔬,👩🏽‍🔬,👩🏾‍🔬,👩🏿‍🔬,👩‍🔬,👨🏻‍💻,👨🏼‍💻,👨🏽‍💻,👨🏾‍💻,👨🏿‍💻,👨‍💻,👩🏻‍💻,👩🏼‍💻,👩🏽‍💻,👩🏾‍💻,👩🏿‍💻,👩‍💻,👨🏻‍🎤,👨🏼‍🎤,👨🏽‍🎤,👨🏾‍🎤,👨🏿‍🎤,👨‍🎤,👩🏻‍🎤,👩🏼‍🎤,👩🏽‍🎤,👩🏾‍🎤,👩🏿‍🎤,👩‍🎤,👨🏻‍🎨,👨🏼‍🎨,👨🏽‍🎨,👨🏾‍🎨,👨🏿‍🎨,👨‍🎨,👩🏻‍🎨,👩🏼‍🎨,👩🏽‍🎨,👩🏾‍🎨,👩🏿‍🎨,👩‍🎨,👨🏻‍✈️,👨🏼‍✈️,👨🏽‍✈️,👨🏾‍✈️,👨🏿‍✈️,👨‍✈️,👩🏻‍✈️,👩🏼‍✈️,👩🏽‍✈️,👩🏾‍✈️,👩🏿‍✈️,👩‍✈️,👨🏻‍🚀,👨🏼‍🚀,👨🏽‍🚀,👨🏾‍🚀,👨🏿‍🚀,👨‍🚀,👩🏻‍🚀,👩🏼‍🚀,👩🏽‍🚀,👩🏾‍🚀,👩🏿‍🚀,👩‍🚀,👨🏻‍🚒,👨🏼‍🚒,👨🏽‍🚒,👨🏾‍🚒,👨🏿‍🚒,👨‍🚒,👩🏻‍🚒,👩🏼‍🚒,👩🏽‍🚒,👩🏾‍🚒,👩🏿‍🚒,👩‍🚒,👨🏻,👨🏼,👨🏽,👨🏾,👨🏿,👨,👩🏻,👩🏼,👩🏽,👩🏾,👩🏿,👩,👮🏻‍♂️,👮🏼‍♂️,👮🏽‍♂️,👮🏾‍♂️,👮🏿‍♂️,👮‍♂️,👮🏻‍♀️,👮🏼‍♀️,👮🏽‍♀️,👮🏾‍♀️,👮🏿‍♀️,👮‍♀️,👮🏻,👮🏼,👮🏽,👮🏾,👮🏿,👮,🕵🏻‍♂️,🕵🏼‍♂️,🕵🏽‍♂️,🕵🏾‍♂️,🕵🏿‍♂️,🕵️‍♂️,🕵🏻‍♀️,🕵🏼‍♀️,🕵🏽‍♀️,🕵🏾‍♀️,🕵🏿‍♀️,🕵️‍♀️,🕵🏻,🕵🏼,🕵🏽,🕵🏾,🕵🏿,🕵,💂🏻‍♂️,💂🏼‍♂️,💂🏽‍♂️,💂🏾‍♂️,💂🏿‍♂️,💂‍♂️,💂🏻‍♀️,💂🏼‍♀️,💂🏽‍♀️,💂🏾‍♀️,💂🏿‍♀️,💂‍♀️,💂🏻,💂🏼,💂🏽,💂🏾,💂🏿,💂,👷🏻‍♂️,👷🏼‍♂️,👷🏽‍♂️,👷🏾‍♂️,👷🏿‍♂️,👷‍♂️,👷🏻‍♀️,👷🏼‍♀️,👷🏽‍♀️,👷🏾‍♀️,👷🏿‍♀️,👷‍♀️,👷🏻,👷🏼,👷🏽,👷🏾,👷🏿,👷,👳🏻‍♂️,👳🏼‍♂️,👳🏽‍♂️,👳🏾‍♂️,👳🏿‍♂️,👳‍♂️,👳🏻‍♀️,👳🏼‍♀️,👳🏽‍♀️,👳🏾‍♀️,👳🏿‍♀️,👳‍♀️,👳🏻,👳🏼,👳🏽,👳🏾,👳🏿,👳,👱🏻‍♂️,👱🏼‍♂️,👱🏽‍♂️,👱🏾‍♂️,👱🏿‍♂️,👱‍♂️,👱🏻‍♀️,👱🏼‍♀️,👱🏽‍♀️,👱🏾‍♀️,👱🏿‍♀️,👱‍♀️,👱🏻,👱🏼,👱🏽,👱🏾,👱🏿,👱,🎅🏻,🎅🏼,🎅🏽,🎅🏾,🎅🏿,🎅,🤶🏻,🤶🏼,🤶🏽,🤶🏾,🤶🏿,🤶,👸🏻,👸🏼,👸🏽,👸🏾,👸🏿,👸,🤴🏻,🤴🏼,🤴🏽,🤴🏾,🤴🏿,🤴,👰🏻,👰🏼,👰🏽,👰🏾,👰🏿,👰,🤵🏻,🤵🏼,🤵🏽,🤵🏾,🤵🏿,🤵,🤰🏻,🤰🏼,🤰🏽,🤰🏾,🤰🏿,🤰,👲🏻,👲🏼,👲🏽,👲🏾,👲🏿,👲,🙍🏻‍♂️,🙍🏼‍♂️,🙍🏽‍♂️,🙍🏾‍♂️,🙍🏿‍♂️,🙍‍♂️,🙍🏻‍♀️,🙍🏼‍♀️,🙍🏽‍♀️,🙍🏾‍♀️,🙍🏿‍♀️,🙍‍♀️,🙍🏻,🙍🏼,🙍🏽,🙍🏾,🙍🏿,🙍,🙎🏻‍♂️,🙎🏼‍♂️,🙎🏽‍♂️,🙎🏾‍♂️,🙎🏿‍♂️,🙎‍♂️,🙎🏻‍♀️,🙎🏼‍♀️,🙎🏽‍♀️,🙎🏾‍♀️,🙎🏿‍♀️,🙎‍♀️,🙎🏻,🙎🏼,🙎🏽,🙎🏾,🙎🏿,🙎,🙅🏻‍♂️,🙅🏼‍♂️,🙅🏽‍♂️,🙅🏾‍♂️,🙅🏿‍♂️,🙅‍♂️,🙅🏻‍♀️,🙅🏼‍♀️,🙅🏽‍♀️,🙅🏾‍♀️,🙅🏿‍♀️,🙅‍♀️,🙅🏻,🙅🏼,🙅🏽,🙅🏾,🙅🏿,🙅,🙆🏻‍♂️,🙆🏼‍♂️,🙆🏽‍♂️,🙆🏾‍♂️,🙆🏿‍♂️,🙆‍♂️,🙆🏻‍♀️,🙆🏼‍♀️,🙆🏽‍♀️,🙆🏾‍♀️,🙆🏿‍♀️,🙆‍♀️,🙆🏻,🙆🏼,🙆🏽,🙆🏾,🙆🏿,🙆,💁🏻‍♂️,💁🏼‍♂️,💁🏽‍♂️,💁🏾‍♂️,💁🏿‍♂️,💁‍♂️,💁🏻‍♀️,💁🏼‍♀️,💁🏽‍♀️,💁🏾‍♀️,💁🏿‍♀️,💁‍♀️,💁🏻,💁🏼,💁🏽,💁🏾,💁🏿,💁,🙋🏻‍♂️,🙋🏼‍♂️,🙋🏽‍♂️,🙋🏾‍♂️,🙋🏿‍♂️,🙋‍♂️,🙋🏻‍♀️,🙋🏼‍♀️,🙋🏽‍♀️,🙋🏾‍♀️,🙋🏿‍♀️,🙋‍♀️,🙋🏻,🙋🏼,🙋🏽,🙋🏾,🙋🏿,🙋,🙇🏻‍♂️,🙇🏼‍♂️,🙇🏽‍♂️,🙇🏾‍♂️,🙇🏿‍♂️,🙇‍♂️,🙇🏻‍♀️,🙇🏼‍♀️,🙇🏽‍♀️,🙇🏾‍♀️,🙇🏿‍♀️,🙇‍♀️,🙇🏻,🙇🏼,🙇🏽,🙇🏾,🙇🏿,🙇,🤦🏻‍♂️,🤦🏼‍♂️,🤦🏽‍♂️,🤦🏾‍♂️,🤦🏿‍♂️,🤦‍♂️,🤦🏻‍♀️,🤦🏼‍♀️,🤦🏽‍♀️,🤦🏾‍♀️,🤦🏿‍♀️,🤦‍♀️,🤷🏻‍♂️,🤷🏼‍♂️,🤷🏽‍♂️,🤷🏾‍♂️,🤷🏿‍♂️,🤷‍♂️,🤷🏻‍♀️,🤷🏼‍♀️,🤷🏽‍♀️,🤷🏾‍♀️,🤷🏿‍♀️,🤷‍♀️,🤦🏻,🤦🏼,🤦🏽,🤦🏾,🤦🏿,🤦,🤷🏻,🤷🏼,🤷🏽,🤷🏾,🤷🏿,🤷,💆🏻‍♂️,💆🏼‍♂️,💆🏽‍♂️,💆🏾‍♂️,💆🏿‍♂️,💆‍♂️,💆🏻‍♀️,💆🏼‍♀️,💆🏽‍♀️,💆🏾‍♀️,💆🏿‍♀️,💆‍♀️,💆🏻,💆🏼,💆🏽,💆🏾,💆🏿,💆,💇‍♂️,💇🏻‍♂️,💇🏼‍♂️,💇🏽‍♂️,💇🏾‍♂️,💇🏿‍♂️,💇‍♀️,💇🏻‍♀️,💇🏼‍♀️,💇🏽‍♀️,💇🏾‍♀️,💇🏿‍♀️,💇🏻,💇🏼,💇🏽,💇🏾,💇🏿,💇,🚶🏻‍♂️,🚶🏼‍♂️,🚶🏽‍♂️,🚶🏾‍♂️,🚶🏿‍♂️,🚶‍♂️,🚶🏻‍♀️,🚶🏼‍♀️,🚶🏽‍♀️,🚶🏾‍♀️,🚶🏿‍♀️,🚶‍♀️,🚶🏻,🚶🏼,🚶🏽,🚶🏾,🚶🏿,🚶,🏃🏻‍♂️,🏃🏼‍♂️,🏃🏽‍♂️,🏃🏾‍♂️,🏃🏿‍♂️,🏃🏻‍♀️,🏃‍♂️,🏃🏼‍♀️,🏃🏽‍♀️,🏃🏾‍♀️,🏃🏿‍♀️,🏃‍♀️,🏃🏻,🏃🏼,🏃🏽,🏃🏾,🏃🏿,🏃,💃🏻,💃🏼,💃🏽,💃🏾,💃🏿,💃,🕺🏻,🕺🏼,🕺🏽,🕺🏾,🕺🏿,🕺,👯‍♂️,👯‍♀️,👯,🕴🏻,🕴🏼,🕴🏽,🕴🏾,🕴🏿,🕴,🗣,👤,👥,🤺,🏇🏻,🏇🏼,🏇🏽,🏇🏾,🏇🏿,🏇,⛷,🏂🏻,🏂🏼,🏂🏽,🏂🏾,🏂🏿,🏂,🏌🏻‍♂️,🏌🏼‍♂️,🏌🏽‍♂️,🏌🏾‍♂️,🏌🏿‍♂️,🏌️‍♂️,🏌🏻‍♀️,🏌🏼‍♀️,🏌🏽‍♀️,🏌🏾‍♀️,🏌🏿‍♀️,🏌️‍♀️,🏌🏻,🏌🏼,🏌🏽,🏌🏾,🏌🏿,🏌,🏄🏻‍♂️,🏄🏼‍♂️,🏄🏽‍♂️,🏄🏾‍♂️,🏄🏿‍♂️,🏄‍♂️,🏄🏻‍♀️,🏄🏼‍♀️,🏄🏽‍♀️,🏄🏾‍♀️,🏄🏿‍♀️,🏄‍♀️,🏄🏻,🏄🏼,🏄🏽,🏄🏾,🏄🏿,🏄,🚣🏻‍♂️,🚣🏼‍♂️,🚣🏽‍♂️,🚣🏾‍♂️,🚣🏿‍♂️,🚣‍♂️,🚣🏻‍♀️,🚣🏼‍♀️,🚣🏽‍♀️,🚣🏾‍♀️,🚣🏿‍♀️,🚣‍♀️,🚣🏻,🚣🏼,🚣🏽,🚣🏾,🚣🏿,🚣,🏊🏻‍♂️,🏊🏼‍♂️,🏊🏽‍♂️,🏊🏾‍♂️,🏊🏿‍♂️,🏊‍♂️,🏊🏻‍♀️,🏊🏼‍♀️,🏊🏽‍♀️,🏊🏾‍♀️,🏊🏿‍♀️,🏊‍♀️,🏊🏻,🏊🏼,🏊🏽,🏊🏾,🏊🏿,🏊,⛹🏻‍♂️,⛹🏼‍♂️,⛹🏽‍♂️,⛹🏾‍♂️,⛹🏿‍♂️,⛹️‍♂️,⛹🏻‍♀️,⛹🏼‍♀️,⛹🏽‍♀️,⛹🏾‍♀️,⛹🏿‍♀️,⛹️‍♀️,⛹🏻,⛹🏼,⛹🏽,⛹🏾,⛹🏿,⛹,🏋🏻‍♂️,🏋🏼‍♂️,🏋🏽‍♂️,🏋🏾‍♂️,🏋🏿‍♂️,🏋️‍♂️,🏋🏻‍♀️,🏋🏼‍♀️,🏋🏽‍♀️,🏋🏾‍♀️,🏋🏿‍♀️,🏋️‍♀️,🏋🏻,🏋🏼,🏋🏽,🏋🏾,🏋🏿,🏋,🚴🏻‍♂️,🚴🏼‍♂️,🚴🏽‍♂️,🚴🏾‍♂️,🚴🏿‍♂️,🚴‍♂️,🚴🏻‍♀️,🚴🏼‍♀️,🚴🏽‍♀️,🚴🏾‍♀️,🚴🏿‍♀️,🚴‍♀️,🚴🏻,🚴🏼,🚴🏽,🚴🏾,🚴🏿,🚴,🚵🏻‍♂️,🚵🏼‍♂️,🚵🏽‍♂️,🚵🏾‍♂️,🚵🏿‍♂️,🚵‍♂️,🚵🏻‍♀️,🚵🏼‍♀️,🚵🏽‍♀️,🚵🏾‍♀️,🚵🏿‍♀️,🚵‍♀️,🚵🏻,🚵🏼,🚵🏽,🚵🏾,🚵🏿,🚵,🏎,🏍,🤸🏻‍♂️,🤸🏼‍♂️,🤸🏽‍♂️,🤸🏾‍♂️,🤸🏿‍♂️,🤸‍♂️,🤸🏻‍♀️,🤸🏼‍♀️,🤸🏽‍♀️,🤸🏾‍♀️,🤸🏿‍♀️,🤸‍♀️,🤸🏻,🤸🏼,🤸🏽,🤸🏾,🤸🏿,🤸,🤼‍♂️,🤼‍♀️,🤼,🤽🏻‍♂️,🤽🏼‍♂️,🤽🏽‍♂️,🤽🏾‍♂️,🤽🏿‍♂️,🤽‍♂️,🤽🏻‍♀️,🤽🏼‍♀️,🤽🏽‍♀️,🤽🏾‍♀️,🤽🏿‍♀️,🤽‍♀️,🤽🏻,🤽🏼,🤽🏽,🤽🏾,🤽🏿,🤽,🤾🏻‍♂️,🤾🏼‍♂️,🤾🏽‍♂️,🤾🏾‍♂️,🤾🏿‍♂️,🤾‍♂️,🤾🏻‍♀️,🤾🏼‍♀️,🤾🏽‍♀️,🤾🏾‍♀️,🤾🏿‍♀️,🤾‍♀️,🤾🏻,🤾🏼,🤾🏽,🤾🏾,🤾🏿,🤾,🤹🏻‍♂️,🤹🏼‍♂️,🤹🏽‍♂️,🤹🏾‍♂️,🤹🏿‍♂️,🤹‍♂️,🤹🏻‍♀️,🤹🏼‍♀️,🤹🏽‍♀️,🤹🏾‍♀️,🤹🏿‍♀️,🤹‍♀️,🤹🏻,🤹🏼,🤹🏽,🤹🏾,🤹🏿,🤹,👫,👬,👭,💏,🤳🏻,🤳🏼,🤳🏽,🤳🏾,🤳🏿,🤳,💪🏻,💪🏼,💪🏽,💪🏾,💪🏿,💪,👈🏻,👈🏼,👈🏽,👈🏾,👈🏿,👈,👉🏻,👉🏼,👉🏽,👉🏾,👉🏿,👉,☝🏻,☝🏼,☝🏽,☝🏾,☝🏿,☝,👆🏻,👆🏼,👆🏽,👆🏾,👆🏿,👆,🖕🏻,🖕🏼,🖕🏽,🖕🏾,🖕🏿,🖕,👇🏻,👇🏼,👇🏽,👇🏾,👇🏿,👇,✌🏻,✌🏼,✌🏽,✌🏾,✌🏿,✌,🤞🏻,🤞🏼,🤞🏽,🤞🏾,🤞🏿,🤞,🖖🏻,🖖🏼,🖖🏽,🖖🏾,🖖🏿,🖖,🤘🏻,🤘🏼,🤘🏽,🤘🏾,🤘🏿,🤘,🤙🏻,🤙🏼,🤙🏽,🤙🏾,🤙🏿,🤙,🖐🏻,🖐🏼,🖐🏽,🖐🏾,🖐🏿,🖐,✋🏻,✋🏼,✋🏽,✋🏾,✋🏿,✋,👌🏻,👌🏼,👌🏽,👌🏾,👌🏿,👌,👍🏻,👍🏼,👍🏽,👍🏾,👍🏿,👍,👎🏻,👎🏼,👎🏽,👎🏾,👎🏿,👎,✊🏻,✊🏼,✊🏽,✊🏾,✊🏿,✊,👊🏻,👊🏼,👊🏽,👊🏾,👊🏿,👊,🤛🏻,🤛🏼,🤛🏽,🤛🏾,🤛🏿,🤛,🤜🏻,🤜🏼,🤜🏽,🤜🏾,🤜🏿,🤜,🤚🏻,🤚🏼,🤚🏽,🤚🏾,🤚🏿,🤚,👋🏻,👋🏼,👋🏽,👋🏾,👋🏿,👋,👏🏻,👏🏼,👏🏽,👏🏾,👏🏿,👏,✍🏻,✍🏼,✍🏽,✍🏾,✍🏿,👐🏻,👐🏼,👐🏽,👐🏾,👐🏿,✍,👐,🙌🏻,🙌🏼,🙌🏽,🙌🏾,🙌🏿,🙌,🙏🏻,🙏🏼,🙏🏽,🙏🏾,🙏🏿,🙏,🤝,💅🏻,💅🏼,💅🏽,💅🏾,💅🏿,💅,👂🏻,👂🏼,👂🏽,👂🏾,👂🏿,👂,👃🏻,👃🏼,👃🏽,👃🏾,👃🏿,👃,👣,👀,👁,👁️‍🗨️,👅,👄,💋,💘,❤,💓,💔,💕,💖,💗,💙,💚,💛,💜,🖤,💝,💞,💟,❣,💌,💤,💢,💣,💥,💦,💨,💫,💬,🗨,🗯,💭,🕳,👓,🕶,👔,👕,👖,👗,👘,👙,👚,👛,👜,👝,🛍,🎒,👞,👟,👠,👡,👢,👑,👒,🎩,🎓,⛑,📿,💄,💍,💎,🐵,🐒,🦍,🐶,🐕,🐩,🐺,🦊,🐱,🐈,🦁,🐯,🐅,🐆,🐴,🐎,🦌,🦄,🐮,🐂,🐃,🐄,🐷,🐖,🐗,🐽,🐏,🐑,🐐,🐪,🐫,🐘,🦏,🐭,🐁,🐀,🐹,🐰,🐇,🐿,🦇,🐻,🐨,🐼,🐾,🦃,🐔,🐓,🐣,🐤,🐥,🐦,🐧,🕊,🦅,🦆,🦉,🐸,🐊,🐢,🦎,🐍,🐲,🐉,🐳,🐋,🐬,🐟,🐠,🐡,🦈,🐙,🐚,🦀,🦐,🦑,🦋,🐌,🐛,🐜,🐝,🐞,🕷,🕸,🦂,💐,🌸,💮,🏵,🌹,🥀,🌺,🌻,🌼,🌷,🌱,🌲,🌳,🌴,🌵,🌾,🌿,☘,🍀,🍁,🍂,🍃,🍇,🍈,🍉,🍊,🍋,🍌,🍍,🍎,🍏,🍐,🍑,🍒,🍓,🥝,🍅,🥑,🍆,🥔,🥕,🌽,🌶,🥒,🍄,🥜,🌰,🍞,🥐,🥖,🥞,🧀,🍖,🍗,🥓,🍔,🍟,🍕,🌭,🌮,🌯,🥙,🥚,🍳,🥘,🍲,🥗,🍿,🍱,🍘,🍙,🍚,🍛,🍜,🍝,🍠,🍢,🍣,🍤,🍥,🍡,🍦,🍧,🍨,🍩,🍪,🎂,🍰,🍫,🍬,🍭,🍮,🍯,🍼,🥛,☕,🍵,🍶,🍾,🍷,🍸,🍹,🍺,🍻,🥂,🥃,🍽,🍴,🥄,🔪,🏺,🌍,🌎,🌏,🌐,🗺,🗾,🏔,⛰,🌋,🗻,🏕,🏖,🏜,🏝,🏞,🏟,🏛,🏗,🏘,🏙,🏚,🏠,🏡,🏢,🏣,🏤,🏥,🏦,🏨,🏩,🏪,🏫,🏬,🏭,🏯,🏰,💒,🗼,🗽,⛪,🕌,🕍,⛩,🕋,⛲,⛺,🌁,🌃,🌄,🌅,🌆,🌇,🌉,♨,🌌,🎠,🎡,🎢,💈,🎪,🎭,🖼,🎨,🎰,🚂,🚃,🚄,🚅,🚆,🚇,🚈,🚉,🚊,🚝,🚞,🚋,🚌,🚍,🚎,🚐,🚑,🚒,🚓,🚔,🚕,🚖,🚗,🚘,🚙,🚚,🚛,🚜,🚲,🛴,🛵,🚏,🛣,🛤,⛽,🚨,🚥,🚦,🚧,🛑,⚓,⛵,🛶,🚤,🛳,⛴,🛥,🚢,✈,🛩,🛫,🛬,💺,🚁,🚟,🚠,🚡,🚀,🛰,🛎,🚪,🛌🏻,🛌🏼,🛌🏽,🛌🏾,🛌🏿,🛌,🛏,🛋,🚽,🚿,🛀🏻,🛀🏼,🛀🏽,🛀🏾,🛀🏿,🛀,🛁,⌛,⏳,⌚,⏰,⏱,⏲,🕰,🕛,🕧,🕐,🕜,🕑,🕝,🕒,🕞,🕓,🕟,🕔,🕠,🕕,🕡,🕖,🕢,🕗,🕣,🕘,🕤,🕙,🕥,🕚,🕦,🌑,🌒,🌓,🌔,🌕,🌖,🌗,🌘,🌙,🌚,🌛,🌜,🌡,☀,🌝,🌞,⭐,🌟,🌠,☁,⛅,⛈,🌤,🌥,🌦,🌧,🌨,🌩,🌪,🌫,🌬,🌀,🌈,🌂,☂,☔,⛱,⚡,❄,☃,⛄,☄,🔥,💧,🌊,🎃,🎄,🎆,🎇,✨,🎈,🎉,🎊,🎋,🎍,🎎,🎏,🎐,🎑,🎀,🎁,🎗,🎟,🎫,🎖,🏆,🏅,🥇,🥈,🥉,⚽,⚾,🏀,🏐,🏈,🏉,🎾,🎱,🎳,🏏,🏑,🏒,🏓,🏸,🥊,🥋,🥅,🎯,⛳,⛸,🎣,🎽,🎿,🎮,🕹,🎲,♠,♥,♦,♣,🃏,🀄,🎴,🔇,🔈,🔉,🔊,📢,📣,📯,🔔,🔕,🎼,🎵,🎶,🎙,🎚,🎛,🎤,🎧,📻,🎷,🎸,🎹,🎺,🎻,🥁,📱,📲,☎,📞,📟,📠,🔋,🔌,💻,🖥,🖨,⌨,🖱,🖲,💽,💾,💿,📀,🎥,🎞,📽,🎬,📺,📷,📸,📹,📼,🔍,🔎,🔬,🔭,📡,🕯,💡,🔦,🏮,📔,📕,📖,📗,📘,📙,📚,📓,📒,📃,📜,📄,📰,🗞,📑,🔖,🏷,💰,💴,💵,💶,💷,💸,💳,💹,💱,💲,✉,📧,📨,📩,📤,📥,📦,📫,📪,📬,📭,📮,🗳,✏,✒,🖋,🖊,🖌,🖍,📝,💼,📁,📂,🗂,📅,📆,🗒,🗓,📇,📈,📉,📊,📋,📌,📍,📎,🖇,📏,📐,✂,🗃,🗄,🗑,🔒,🔓,🔏,🔐,🔑,🗝,🔨,⛏,⚒,🛠,🗡,⚔,🔫,🏹,🛡,🔧,🔩,⚙,🗜,⚗,⚖,🔗,⛓,💉,💊,🚬,⚰,⚱,🗿,🛢,🔮,🛒,🏧,🚮,🚰,♿,🚹,🚺,🚻,🚼,🚾,🛂,🛃,🛄,🛅,⚠,🚸,⛔,🚫,🚳,🚭,🚯,🚱,🚷,📵,🔞,☢,☣,⬆,↗,➡,↘,⬇,↙,⬅,↖,↕,↔,↩,↪,⤴,⤵,🔃,🔄,🔙,🔚,🔛,🔜,🔝,🛐,⚛,🕉,✡,☸,☯,✝,☦,☪,☮,🕎,🔯,♈,♉,♊,♋,♌,♍,♎,♏,♐,♑,♒,♓,⛎,🔀,🔁,🔂,▶,⏩,⏭,⏯,◀,⏪,⏮,🔼,⏫,🔽,⏬,⏸,⏹,⏺,⏏,🎦,🔅,🔆,📶,📳,📴,♻,📛,⚜,🔰,🔱,⭕,✅,☑,✔,✖,❌,❎,➕,♀,♂,⚕,➖,➗,➰,➿,〽,✳,✴,❇,‼,⁉,❓,❔,❕,❗,〰,©,®,™,#️⃣,*️⃣,0️⃣,1️⃣,2️⃣,3️⃣,4️⃣,5️⃣,6️⃣,7️⃣,8️⃣,9️⃣,🔟,💯,🔠,🔡,🔢,🔣,🔤,🅰,🆎,🅱,🆑,🆒,🆓,ℹ,🆔,Ⓜ,🆕,🆖,🅾,🆗,🅿,🆘,🆙,🆚,🈁,🈂,🈷,🈶,🈯,🉐,🈹,🈚,🈲,🉑,🈸,🈴,🈳,㊗,㊙,🈺,🈵,▪,▫,◻,◼,◽,◾,⬛,⬜,🔶,🔷,🔸,🔹,🔺,🔻,💠,🔘,🔲,🔳,⚪,⚫,🔴,🔵,🏁,🚩,🎌,🏴,🏳️‍🌈,🏳,🏻,🏼,🏽,🏾,🏿,🇦🇨,🇦🇩,🇦🇪,🇦🇫,🇦🇬,🇦🇮,🇦🇱,🇦🇲,🇦🇴,🇦🇶,🇦🇷,🇦🇸,🇦🇹,🇦🇺,🇦🇼,🇦🇽,🇦🇿,🇧🇦,🇧🇧,🇧🇩,🇧🇪,🇧🇫,🇧🇬,🇧🇭,🇧🇮,🇧🇯,🇧🇱,🇧🇲,🇧🇳,🇧🇴,🇧🇶,🇧🇷,🇧🇸,🇧🇹,🇧🇻,🇧🇼,🇧🇾,🇧🇿,🇨🇦,🇨🇨,🇨🇩,🇨🇫,🇨🇬,🇨🇭,🇨🇮,🇨🇰,🇨🇱,🇨🇲,🇨🇳,🇨🇴,🇨🇵,🇨🇷,🇨🇺,🇨🇻,🇨🇼,🇨🇽,🇨🇾,🇨🇿,🇩🇪,🇩🇬,🇩🇯,🇩🇰,🇩🇲,🇩🇴,🇩🇿,🇪🇦,🇪🇨,🇪🇪,🇪🇬,🇪🇭,🇪🇷,🇪🇸,🇪🇹,🇪🇺,🇫🇮,🇫🇯,🇫🇰,🇫🇲,🇫🇴,🇫🇷,🇬🇦,🇬🇧,🇬🇩,🇬🇪,🇬🇫,🇬🇬,🇬🇭,🇬🇮,🇬🇱,🇬🇲,🇬🇳,🇬🇵,🇬🇶,🇬🇷,🇬🇸,🇬🇹,🇬🇺,🇬🇼,🇬🇾,🇭🇰,🇭🇲,🇭🇳,🇭🇷,🇭🇹,🇭🇺,🇮🇨,🇮🇩,🇮🇪,🇮🇱,🇮🇲,🇮🇳,🇮🇴,🇮🇶,🇮🇷,🇮🇸,🇮🇹,🇯🇪,🇯🇲,🇯🇴,🇯🇵,🇰🇪,🇰🇬,🇰🇭,🇰🇮,🇰🇲,🇰🇳,🇰🇵,🇰🇷,🇰🇼,🇰🇾,🇰🇿,🇱🇦,🇱🇧,🇱🇨,🇱🇮,🇱🇰,🇱🇷,🇱🇸,🇱🇹,🇱🇺,🇱🇻,🇱🇾,🇲🇦,🇲🇨,🇲🇩,🇲🇪,🇲🇫,🇲🇬,🇲🇭,🇲🇰,🇲🇱,🇲🇲,🇲🇳,🇲🇴,🇲🇵,🇲🇶,🇲🇷,🇲🇸,🇲🇹,🇲🇺,🇲🇻,🇲🇼,🇲🇽,🇲🇾,🇲🇿,🇳🇦,🇳🇨,🇳🇪,🇳🇫,🇳🇬,🇳🇮,🇳🇱,🇳🇴,🇳🇵,🇳🇷,🇳🇺,🇳🇿,🇴🇲,🇵🇦,🇵🇪,🇵🇫,🇵🇬,🇵🇭,🇵🇰,🇵🇱,🇵🇲,🇵🇳,🇵🇷,🇵🇸,🇵🇹,🇵🇼,🇵🇾,🇶🇦,🇷🇪,🇷🇴,🇷🇸,🇷🇺,🇷🇼,🇸🇦,🇸🇧,🇸🇨,🇸🇩,🇸🇪,🇸🇬,🇸🇭,🇸🇮,🇸🇯,🇸🇰,🇸🇱,🇸🇲,🇸🇳,🇸🇴,🇸🇷,🇸🇸,🇸🇹,🇸🇻,🇸🇽,🇸🇾,🇸🇿,🇹🇦,🇹🇨,🇹🇩,🇹🇫,🇹🇬,🇹🇭,🇹🇯,🇹🇰,🇹🇱,🇹🇲,🇹🇳,🇹🇴,🇹🇷,🇹🇹,🇹🇻,🇹🇼,🇹🇿,🇺🇦,🇺🇬,🇺🇲,🇺🇳,🇺🇸,🇺🇾,🇺🇿,🇻🇦,🇻🇨,🇻🇪,🇻🇬,🇻🇮,🇻🇳,🇻🇺,🇼🇫,🇼🇸,🇽🇰,🇾🇪,🇾🇹,🇿🇦,🇿🇲,🇿🇼'.split(',');
11
	var regx_arr=[];
12
	var noExtra = function(s){return s.replace(/\ufe0f/gm, '');}///\ufe0f|\u200d/gm, ''
13
	var toSurrogatePairs = function(r){for(var t="",n=0;n<r.length;n++)t+="\\u"+("000"+r[n].charCodeAt(0).toString(16)).substr(-4);return t}
0 ignored issues
show
Coding Style Best Practice introduced by
Curly braces around statements make for more readable code and help prevent bugs when you add further statements.

Consider adding curly braces around all statements when they are executed conditionally. This is optional if there is only one statement, but leaving them out can lead to unexpected behaviour if another statement is added later.

Consider:

if (a > 0)
    b = 42;

If you or someone else later decides to put another statement in, only the first statement will be executed.

if (a > 0)
    console.log("a > 0");
    b = 42;

In this case the statement b = 42 will always be executed, while the logging statement will be executed conditionally.

if (a > 0) {
    console.log("a > 0");
    b = 42;
}

ensures that the proper code will be executed conditionally no matter how many statements are added or removed.

Loading history...
14
	var toCodePoint = function(t){for(var n=[],r=0,o=0,h=0;h<t.length;)r=t.charCodeAt(h++),o?(n.push((65536+(o-55296<<10)+(r-56320)).toString(16)),o=0):r>=55296&&56319>=r?o=r:n.push(r.toString(16));return n.join("-")}
0 ignored issues
show
Comprehensibility introduced by
Usage of the sequence operator is discouraged, since it may lead to obfuscated code.

The sequence or comma operator allows the inclusion of multiple expressions where only is permitted. The result of the sequence is the value of the last expression.

This operator is most often used in for statements.

Used in another places it can make code hard to read, especially when people do not realize it even exists as a seperate operator.

This check looks for usage of the sequence operator in locations where it is not necessary and could be replaced by a series of expressions or statements.

var a,b,c;

a = 1, b = 1,  c= 3;

could just as well be written as:

var a,b,c;

a = 1;
b = 1;
c = 3;

To learn more about the sequence operator, please refer to the MDN.

Loading history...
Coding Style Best Practice introduced by
Curly braces around statements make for more readable code and help prevent bugs when you add further statements.

Consider adding curly braces around all statements when they are executed conditionally. This is optional if there is only one statement, but leaving them out can lead to unexpected behaviour if another statement is added later.

Consider:

if (a > 0)
    b = 42;

If you or someone else later decides to put another statement in, only the first statement will be executed.

if (a > 0)
    console.log("a > 0");
    b = 42;

In this case the statement b = 42 will always be executed, while the logging statement will be executed conditionally.

if (a > 0) {
    console.log("a > 0");
    b = 42;
}

ensures that the proper code will be executed conditionally no matter how many statements are added or removed.

Loading history...
15
	for (var i=0;i<emojis.length;i++){regx_arr.push(toSurrogatePairs(emojis[i]));};
16
	var re = new RegExp('(' + regx_arr.join('|') + ')', 'g');
17
	regx_arr = null;
0 ignored issues
show
The assignment to regx_arr seems to be never used. If you intend to free memory here, this is not necessary since the variable leaves the scope anyway.
Loading history...
18
	emojis = null;
0 ignored issues
show
The assignment to emojis seems to be never used. If you intend to free memory here, this is not necessary since the variable leaves the scope anyway.
Loading history...
19
20
	var parser = function (txt, path, alt, eclass, ext){
21
		return txt.replace(re, function (a, b) {
22
			var r = '<img draggable="false"';
23
			r += (eclass)?' class="'+eclass+'"':'';
24
			r += (alt)?' alt="'+b+'"':'';
25
			r += ' src="'+path+toCodePoint(noExtra(b))+'.'+ext+'">';
26
			return r;
27
		});
28
	}
29
30
	$.Emoji = function(element, options) {
31
32
		var plugin = this,
33
			$element = $(element),
34
			element = element,
0 ignored issues
show
The assignment to variable element seems to be never used. Consider removing it.
Loading history...
35
			defaults = {
36
				path:'img/apple72/',//edit this to your web folder
37
				class: 'emoji',
38
				alt: true,
39
				ext: 'png'
40
			};
41
		plugin.settings = {};
42
43
		plugin.init = function() {
44
			plugin.settings = $.extend({}, defaults, options);
45
			$element.html(parser($element.html(), plugin.settings.path, plugin.settings.alt, plugin.settings.class, plugin.settings.ext));
46
			
47
		}
48
		
49
		plugin.init();
50
51
	}
52
53
	$.fn.Emoji = function(options) {
54
		return this.each(function() {
55
			if (undefined == $(this).data('Emoji')) {
56
				var plugin = new $.Emoji(this, options);
57
				$(this).data('Emoji', plugin);
58
			}
59
		});
60
	}
61
62
})(jQuery);
63