Socket
Socket
Sign inDemoInstall

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.5.5 to 1.5.6

68

js/mrzefr.js

@@ -1,2 +0,1 @@

let mr = {};//初始化函数
//autumn_banner

@@ -148,37 +147,36 @@ var autumnBanner = document.querySelector('#autumnBanner')

}
//mr.log
mr.log = function({Subtitle: Subtitle, Style: Style}) { //创建事件
if (Style == 'Info') { //提示
console.log(
'%c' + Subtitle + '%c',
'background:#2196f3 ; padding: 1px; border-radius: 3px 0 0 3px; color: #fff',
'background:transparent'
)}
if (Style == 'Success') { //成功
console.log(
'%c' + '[Success] ' + Subtitle + '%c',
'background:green ; padding: 1px; border-radius: 3px 0 0 3px; color: #fff',
'background:transparent'
)}
if (Style == 'Error') { //错误
console.error(
'%c' + '[Error] ' + Subtitle + '%c',
'background:red ; padding: 1px; border-radius: 3px 0 0 3px; color: #fff',
'background:transparent'
)}
if (Style == 'Warning') { //警告
console.warn(
'%c' + '[Warning] ' + Subtitle + '%c',
'background:#f3dc0b ; padding: 1px; border-radius: 3px 0 0 3px; color: #fff',
'background:transparent'
)}
if (Style == 'Clean') { //清除
console.clear();
}
function log({Subtitle: Subtitle, Style: Style}) { //创建事件
if (Style == 'Info') { //提示
console.log(
'%c' + Subtitle + '%c',
'background:#2196f3 ; padding: 1px; border-radius: 3px 0 0 3px; color: #fff',
'background:transparent'
)}
if (Style == 'Success') { //成功
console.log(
'%c' + '[Success] ' + Subtitle + '%c',
'background:green ; padding: 1px; border-radius: 3px 0 0 3px; color: #fff',
'background:transparent'
)}
if (Style == 'Error') { //错误
console.error(
'%c' + '[Error] ' + Subtitle + '%c',
'background:red ; padding: 1px; border-radius: 3px 0 0 3px; color: #fff',
'background:transparent'
)}
if (Style == 'Warning') { //警告
console.warn(
'%c' + '[Warning] ' + Subtitle + '%c',
'background:#f3dc0b ; padding: 1px; border-radius: 3px 0 0 3px; color: #fff',
'background:transparent'
)}
if (Style == 'Clean') { //清除
console.clear();
}
}
//版权信息
mr.log({Style: 'Clean'});
mr.log({Subtitle: 'Powered By MrZeFr的小窝 || Copyright © 2021 - 2022 By MrZeFr',Style: 'Info'});
mr.log({Subtitle: '嗨!欢迎访问我的博客😀,你为啥又来扒我的代码了?😤',Style: 'Info'});
mr.log({Subtitle: '好吧,好吧,随便你扒我的代码,扒完之后考不考虑加个友联?😃',Style: 'Info'});
mr.log({Subtitle: '当前页面: ' + window.location.pathname + 'index.html',Style: 'Info'});
log({Style: 'Clean'});
log({Subtitle: 'Powered By MrZeFr的小窝 || Copyright © 2021 - 2022 By MrZeFr',Style: 'Info'});
log({Subtitle: '嗨!欢迎访问我的博客😀,你为啥又来扒我的代码了?😤',Style: 'Info'});
log({Subtitle: '好吧,好吧,随便你扒我的代码,扒完之后考不考虑加个友联?😃',Style: 'Info'});
log({Subtitle: '当前页面: ' + window.location.pathname + 'index.html',Style: 'Info'});

@@ -283,4 +283,4 @@ let mr = {}; //初始化函数

//提示log
mr.log({Subtitle: '右键菜单开启成功!',Style: 'Success'});
log({Subtitle: '右键菜单开启成功!',Style: 'Success'});
//console.log(' %c 右键菜单开启成功! ', 'color: #fff; background: rgb(224, 108, 30); padding:5px;')
{
"name": "hexo-mrzefr-filebed",
"version": "1.5.5",
"version": "1.5.6",
"description": "MrZeFr-Blog",

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