You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

docsify-ethicalads

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

docsify-ethicalads

EthicalAds support for Docsify

1.0.4
latest
Source
npmnpm
Version published
Weekly downloads
5
150%
Maintainers
1
Weekly downloads
 
Created
Source

docsify-ethicalads

EthicalAds support for Docsify

Usage

<script src='https://unpkg.com/docsify-ethicalads@1.0.4/dist/docsify-ethicalads.js'></script>
<!-- or -->
<script src='https://unpkg.com/docsify-ethicalads@1.0.4/dist/docsify-ethicalads.min.js'></script>
window.$docsify = {
  name: 'Test',
  loadSidebar: true,
  plugins: [
    DocsifyEthicalAds.create('ethicalads-publisher-id', {
      type: 'image'
    })
  ]
}

Options

type - Either "image" or "text" (default: image)

horizontal - Boolean, allows the ad to be horizontal instead of vertical (default: false)

dark - Boolean, whether or not dark theme is on the advert or not (default: false)

theme - One of the themes here (default: see EthicalAds documentation)

keywords - "data-ea-keywords" (default: see EthicalAds documentation)

campaignTypes - "data-ea-campaign-types" (default: see EthicalAds documentation)

placementID - Placement ID for the ad element (default: none)

forceAd - Ad to force show for testing (default: none)

forceCampaign - Campaign to force show for testing (default: none)

manual - Require manual loading of ads at a certain time (default: false)

Credits

docsify-plugin-carbon - Reference

EthicalAds Documentation - Reference

Keywords

docsify

FAQs

Package last updated on 03 Dec 2021

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