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

hexo-mrzefr-filebed

Package Overview
Dependencies
Maintainers
1
Versions
67
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hexo-mrzefr-filebed - npm Package Compare versions

Comparing version 1.1.0 to 1.1.1

6

js/live2d/live2d.js

@@ -27,3 +27,3 @@ (async function () {

#pio-container .pio-dialog {
right: 10%;
right: 20%;
line-height: 1.5;

@@ -45,3 +45,3 @@ background: rgba(255, 255, 255, 0.9);

width: 2em;
height: 2em;
height: 4em;
margin-bottom: 0.6em;

@@ -412,2 +412,4 @@ }

})();
//提示log
console.log(' %c Live2d开启成功! ', 'color: #fff; background: rgb(224, 108, 30); padding:5px;')

@@ -88,3 +88,2 @@ let mr = {}; //初始化函数

$('#menu-mirror').on('click',function(){mr.Mirror();});
$('#menu-theme').on('click',function(){mr.switchTheme();});
//copyurl

@@ -236,3 +235,3 @@ mr.copyUrl = function(id) {

window.location.href = '#post-comment';
$("#twikoo>.tk-comments>.tk-submit textarea.el-textarea__inner").val("> "+document.getSelection().toString()+"\n\n").focus().change();
$("#twikoo>.tk-comments>.tk-submit textarea.el-textarea__inner").val(document.getSelection().toString()+"\n\n").focus().change();
}

@@ -264,20 +263,2 @@ else{

}
// 切换主题
mr.switchTheme=function(load=false){
let themes = ['mrzefr.css','Switch-Theme.css'];
let vTheme = parseInt(localStorage.getItem('visitor-theme-mrzefr'));
if(!vTheme){
vTheme = load?0:1;
}else{
vTheme+=load?0:1;
vTheme%=themes.length;
}
localStorage.setItem('visitor-theme-mrzefr',vTheme)
let themesrc = ''
if(themes[vTheme]){
themesrc += window.location.origin+'/css/mrzefr/'+themes[vTheme];
}
$(document).find('[tag="theme"]')[0].href = themesrc;
}
window.addEventListener('load',function(){mr.switchTheme(true);});
//关闭右键菜单

@@ -284,0 +265,0 @@ function mrmenuOff(){

{
"name": "hexo-mrzefr-filebed",
"version": "1.1.0",
"version": "1.1.1",
"description": "Hello World",

@@ -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