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.21 to 0.0.22

14

assets/lock.js

@@ -22,3 +22,3 @@ require(['gitbook', 'jQuery'], function(gitbook, $) {

html = html.concat(['</div>', '</div>']);
var cla = document.getElementsByClassName("page-wrapper");
var cla = document.getElementsByClassName("markdown-section");
console.log(cla,"看看cla是啥")

@@ -42,11 +42,11 @@

const newDiv = document.createElement("div");
newDiv.className = "mark"
// const newDiv = document.createElement("div");
// newDiv.className = "mark"
//
// const cla2 = document.getElementById("book-search-results");
// cla2.appendChild(newDiv)
const cla2 = document.getElementById("book-search-results");
cla2.appendChild(newDiv)
// const sss = '<div id="read-more-wrap" style="position: absolute; bottom: 0px; z-index: 9999; width: 100%; margin-top: -100px; font-family: PingFangSC-Regular, sans-serif;"><div id="read-more-mask" style="position: relative; height: 200px; background: -webkit-gradient(linear, 0 0%, 0 100%, from(rgba(255, 255, 255, 0)), to(rgb(255, 255, 255)));"></div><a id="read-more-btn" target="_self" style="position: absolute; left: 50%; top: 70%; bottom: 30px; transform: translate(-50%, -50%); width: 160px; height: 36px; line-height: 36px; font-size: 15px; text-align: center; border: 1px solid rgb(222, 104, 109); color: rgb(222, 104, 109); background: rgb(255, 255, 255); cursor: pointer; border-radius: 6px;">阅读全文</a></div>'
const sss = '<div id="read-more-wrap" style="position: absolute; bottom: 0px; z-index: 9999; width: 100%; margin-top: -100px; font-family: PingFangSC-Regular, sans-serif;"><div id="read-more-mask" style="position: relative; height: 200px; background: -webkit-gradient(linear, 0 0%, 0 100%, from(rgba(255, 255, 255, 0)), to(rgb(255, 255, 255)));"></div><a id="read-more-btn" target="_self" style="position: absolute; left: 50%; top: 70%; bottom: 30px; transform: translate(-50%, -50%); width: 160px; height: 36px; line-height: 36px; font-size: 15px; text-align: center; border: 1px solid rgb(222, 104, 109); color: rgb(222, 104, 109); background: rgb(255, 255, 255); cursor: pointer; border-radius: 6px;">阅读全文</a></div>'
const buttonA = document.createElement('a'); // is a node

@@ -53,0 +53,0 @@ buttonA.target = '_self'

{
"name": "gitbook-plugin-lock",
"version": "0.0.21",
"version": "0.0.22",
"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