Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

js.mail.deobfuscate

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

js.mail.deobfuscate

ES6 class, module and jQuery Plugin which deobfuscate rot13 caesar cipher encoded links

  • 2.1.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
6
increased by100%
Maintainers
1
Weekly downloads
 
Created
Source

tests

js.mail.deobfuscate

ES6 class, module and jQuery Plugin which deobfuscate rot13 caesar cipher encoded links.

npm

npm

npm install --save js.mail.deobfuscate

Example

jQuery plugin

<script src="../node_modules/jquery/dist/jquery.min.js"></script>
<script src="../node_modules/js.mail.deobfuscate/dist/jquery.mail.deobfuscate.min.js"></script>
<script>
  $('a[href^="mailto:"]').each(function (index, value) {
    $(value).on('click', function(event) {
      $(event.target).mailDeobfuscate()
    })
  })
</script>

ES6

import mailDeobfuscate from '../node_modules/js.mail.deobfuscate/dist/mail.deobfuscate.module';

const elements = document.querySelectorAll('a');
elements.forEach(function(element) {
  element.addEventListener('click', function(event) {
    mailDeobfuscate(event.target);
  });
});

Keywords

FAQs

Package last updated on 01 Apr 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc