New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

ad-inflow-modal

Package Overview
Dependencies
Maintainers
0
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ad-inflow-modal

A simple modal inflow video ad.

latest
Source
npmnpm
Version
0.3.0
Version published
Maintainers
0
Created
Source

MIT license

Ad inflow modal

A simple modal inflow video ad.

Quick usage

<head>
  <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/ad-inflow-modal@latest/dist/ad-inflow-modal.min.css">
  <script type="text/javascript" src="https://cdn.jsdelivr.net/npm/ad-inflow-modal@latest/dist/ad-inflow-modal.min.js"></script>
</head>
var modal = new AdInflowModal({
  // closeButtonDelay: 3000,
  // skipAdIfNoAutoplay: true,
  // canAutoplayTimeout: 800,
  // logAdPlayerErrors: false,
  // openOnInteractionIfNoAutoplay: true,
  // requestAdIfNoAutoplay: true,
  imaAdPlayer: {
    tag: 'https://myadserver.com/path/to/vast/linear/tag.xml',
    vpaidMode: AdInflowModal.vpaidMode.INSECURE,
    locale: 'fr',
    maxDuration: 30000,
  },
});

modal.open();

Note: imaAdPlayer property is IMA Ad player configuration object.

License

The MIT License (MIT). Please see License File for more information.

FAQs

Package last updated on 17 Aug 2024

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