mirror of
https://github.com/ldxw/cdn.git
synced 2026-08-14 13:01:23 +08:00
添加js jpg修改scf.js内容
This commit is contained in:
File diff suppressed because one or more lines are too long
Binary file not shown.
|
After Width: | Height: | Size: 351 KiB |
@@ -36,7 +36,10 @@ const FONT_PINGYONG = HEREDOC(() => {/*
|
||||
// 雨伞背景
|
||||
const ADD_UMBRELLA_BACKGROUND = (callback) => {
|
||||
const SCRIPT = document.createElement('script');
|
||||
SCRIPT.src = '//s0.pstatp.com/cdn/expire-1-M/canvas-nest.js/2.0.4/canvas-nest.js';
|
||||
|
||||
// SCRIPT.src = '//s0.pstatp.com/cdn/expire-1-M/canvas-nest.js/2.0.4/canvas-nest.js';
|
||||
|
||||
SCRIPT.src = '//cdn.jsdelivr.net/gh/ldxw/CDN@v0.02.1/scfone-theme-js/canvas-nest/2.0.4/canvas-nest.js';
|
||||
SCRIPT.opacity = '0.1';
|
||||
SCRIPT.count = '10';
|
||||
LOADED(SCRIPT, callback);
|
||||
@@ -44,7 +47,10 @@ const ADD_UMBRELLA_BACKGROUND = (callback) => {
|
||||
};
|
||||
|
||||
const ADD_IMGAGE_BACKGROUND = () => {
|
||||
const IMAGE = 'url(//img12.360buyimg.com/img/jfs/t1/56992/25/15607/359235/5dc93624E8223dc25/41cac0ada12d3ad9.jpg)'
|
||||
|
||||
// const IMAGE = 'url(//img12.360buyimg.com/img/jfs/t1/56992/25/15607/359235/5dc93624E8223dc25/41cac0ada12d3ad9.jpg)'
|
||||
|
||||
const IMAGE = 'url(//cdn.jsdelivr.net/gh/ldxw/CDN@v0.02.1/scfone-theme-js/img/bg.jpg)'
|
||||
const DIV = document.createElement('div');
|
||||
DIV.style.background = IMAGE;
|
||||
DIV.style.pointerEvents = 'none';
|
||||
@@ -34,7 +34,8 @@ const FONT_PINGYONG = HEREDOC(() => {/*
|
||||
// 雨伞背景
|
||||
const ADD_UMBRELLA_BACKGROUND = (callback) => {
|
||||
const SCRIPT = document.createElement('script');
|
||||
SCRIPT.src = '//s0.pstatp.com/cdn/expire-1-M/canvas-nest.js/2.0.4/canvas-nest.js';
|
||||
//SCRIPT.src = '//s0.pstatp.com/cdn/expire-1-M/canvas-nest/2.0.4/canvas-nest.js';
|
||||
SCRIPT.src = '//cdn.jsdelivr.net/gh/ldxw/CDN@v0.02.1/scfone-theme-js/canvas-nest.js/2.0.4/canvas-nest.js';
|
||||
SCRIPT.opacity = '0.1';
|
||||
SCRIPT.zIndex = '-99';
|
||||
SCRIPT.count = '10';
|
||||
@@ -43,7 +44,8 @@ const ADD_UMBRELLA_BACKGROUND = (callback) => {
|
||||
};
|
||||
|
||||
const ADD_IMGAGE_BACKGROUND = () => {
|
||||
const IMAGE = 'url(https://img12.360buyimg.com/img/jfs/t1/56992/25/15607/359235/5dc93624E8223dc25/41cac0ada12d3ad9.jpg)'
|
||||
//const IMAGE = 'url(https://img12.360buyimg.com/img/jfs/t1/56992/25/15607/359235/5dc93624E8223dc25/41cac0ada12d3ad9.jpg)'
|
||||
const IMAGE = 'url(//cdn.jsdelivr.net/gh/ldxw/CDN@v0.02.1/scfone-theme-js/img/bg.jpg)'
|
||||
const DIV = document.createElement('div');
|
||||
DIV.style.background = IMAGE;
|
||||
DIV.style.pointerEvents = 'none';
|
||||
Reference in New Issue
Block a user