gitbook-plugin-adsense
Advanced tools
Comparing version 0.0.1 to 0.0.2
require(["gitbook"], function(gitbook) { | ||
gitbook.events.bind("start", function(e, config) { | ||
var config = config.ga | ||
var config = config.adsense | ||
, adsByGoogleScript | ||
@@ -22,3 +22,3 @@ , ad | ||
ad.setAttribute('data-ad-format', config.format); | ||
document.body.appendChild(ad); | ||
document.querySelector('.page-inner section').appendChild(ad); | ||
@@ -25,0 +25,0 @@ (adsbygoogle = window.adsbygoogle || []).push({}); |
@@ -5,3 +5,3 @@ { | ||
"main": "index.js", | ||
"version": "0.0.1", | ||
"version": "0.0.2", | ||
"engines": { | ||
@@ -8,0 +8,0 @@ "gitbook": ">=2.5.1" |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
14223