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

nodebb-plugin-adsense

Package Overview
Dependencies
Maintainers
3
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nodebb-plugin-adsense - npm Package Compare versions

Comparing version 0.0.18 to 0.0.19

4

package.json
{
"name": "nodebb-plugin-adsense",
"version": "0.0.18",
"version": "0.0.19",
"description": "Plugin to easily place ads on your forum in different areas",

@@ -22,3 +22,3 @@ "main": "library.js",

"nbbpm": {
"compatibility": "^0.7.0 || ^0.8.0 || ^0.9.0"
"compatibility": "^0.7.0 || ^0.8.0 || ^0.9.0 || ^1.0.0"
},

@@ -25,0 +25,0 @@ "readmeFilename": "README.md",

@@ -9,3 +9,3 @@ var loaded = false;

if(data.header_id && loaded == false){
$(getInsCode(data.client_id, data.header_id, '', 'margin:15px auto;', 'auto')).insertBefore("#content");
$("<div class='text-center'>" + getInsCode(data.client_id, data.header_id, '', 'margin:15px auto;', 'auto') + "</div>").insertBefore("#content");
(adsbygoogle = window.adsbygoogle || []).push({});

@@ -16,3 +16,3 @@ }

if(data.footer_id && loaded == false){
$(getInsCode(data.client_id, data.footer_id, '', 'margin:15px auto;', 'auto')).insertAfter("#content");
$("<div class='text-center'>" + getInsCode(data.client_id, data.footer_id, '', 'margin:15px auto;', 'auto') + "</div>").insertAfter("#content");
(adsbygoogle = window.adsbygoogle || []).push({});

@@ -23,3 +23,3 @@ }

if(data.after_first_post_id){
$(".posts >li:first-child").after("<li style='height:100px;'>" + getInsCode(data.client_id, data.after_first_post_id, '', 'margin: 15px auto', 'auto') + "</li>");
$(".posts >li:first-child").after("<li>" + getInsCode(data.client_id, data.after_first_post_id, '', 'margin: 15px auto', 'auto') + "</li>");
(adsbygoogle = window.adsbygoogle || []).push({});

@@ -26,0 +26,0 @@ }

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