Socket
Socket
Sign inDemoInstall

js.mail.deobfuscate

Package Overview
Dependencies
0
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

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


Version published
Weekly downloads
8
decreased by-11.11%
Maintainers
1
Install size
1.13 MB
Created
Weekly downloads
 

Changelog

Source

2.2.0

Feature

  • add umd module to dist

Readme

Source

tests coverage maintainability

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[href="mailto:"]');
elements.forEach(function(element) {
  element.addEventListener('click', function(event) {
    mailDeobfuscate(event.target);
  });
});

Documentation

Keywords

FAQs

Last updated on 15 Mar 2019

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc