New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

gitbook-plugin-lock

Package Overview
Dependencies
Maintainers
1
Versions
84
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gitbook-plugin-lock - npm Package Compare versions

Comparing version 0.0.40 to 0.0.41

40

assets/lock.js

@@ -70,23 +70,2 @@ require(['gitbook', 'jQuery'], function(gitbook, $) {

// const rmm = document.createElement('div'); // is a node
// rmm.id = 'read-more-mask';
// rmm.style.position = 'relative'
// rmm.style.height = '500px'
// rmm.style.background = '-webkit-gradient(linear, 0 0%, 0 100%, from(rgba(255, 255, 255, 0)),to(rgb(255, 255, 255)))'
// // rmm.appendChild(html.join(''))
// rmm.innerHTML = html
// const rmw = document.createElement('div'); // is a node
// rmw.id = "read-more-wrap"
// rmw.style.position = 'absolute'
// rmw.style.bottom = '0px'
// rmw.style.zIndex = '9999'
// rmw.style.width = '100%'
// rmw.style.marginTop = '-100px'
// rmw.style.fontFamily = 'PingFangSC-Regular, sans-serif'
// rmw.appendChild(rmm)
//
const child = document.createElement('div')

@@ -97,2 +76,3 @@ child.innerHTML = html

buttonClick.onclick(function () {
alert(22223333+document.getElementById('btw-modal-input').value)
console.log(document.getElementById('btw-modal-input').value,"看看结果")

@@ -108,11 +88,11 @@ })

gitbook.events.bind('start', function(e, config) {
// wechatURL = config.donate.wechat || '';
// wechatText = config.donate.wechatText || '微信捐赠';
// alipayURL = config.donate.alipay || '';
// alipayText = config.donate.alipayText || '支付宝捐赠';
// titleText = config.donate.title || '';
// buttonText = config.donate.button || '赏';
insertPageLock();
});
// gitbook.events.bind('start', function(e, config) {
// // wechatURL = config.donate.wechat || '';
// // wechatText = config.donate.wechatText || '微信捐赠';
// // alipayURL = config.donate.alipay || '';
// // alipayText = config.donate.alipayText || '支付宝捐赠';
// // titleText = config.donate.title || '';
// // buttonText = config.donate.button || '赏';
// insertPageLock();
// });

@@ -119,0 +99,0 @@ gitbook.events.bind('page.change', function() {

{
"name": "gitbook-plugin-lock",
"version": "0.0.40",
"version": "0.0.41",
"description": "Gitbook 页面加锁",

@@ -5,0 +5,0 @@ "main": "index.js",

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