This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* 简单版本:为 i18n-text 和 button 元素添加 ™ 符号 | |
*/ | |
(function() { | |
// 获取所有 i18n-text 和 button 元素 | |
const elements = document.querySelectorAll('i18n-text, button'); | |
// 遍历每个元素并添加 ™ 符号 | |
elements.forEach(element => { | |
// 获取当前文本 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"slate": { | |
"50": "rgba(248, 250, 252, 1)", | |
"100": "rgba(241, 245, 249, 1)", | |
"200": "rgba(226, 232, 240, 1)", | |
"300": "rgba(203, 213, 225, 1)", | |
"400": "rgba(148, 163, 184, 1)", | |
"500": "rgba(100, 116, 139, 1)", | |
"600": "rgba(71, 85, 105, 1)", | |
"700": "rgba(51, 65, 85, 1)", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- DOMAIN-SUFFIX,pocketcasts.com,Proxy | |
- DOMAIN-SUFFIX,blubrry.com,Proxy | |
- DOMAIN-SUFFIX,wp.com,Proxy | |
- DOMAIN-SUFFIX,alpinejs.dev,Proxy | |
- DOMAIN-SUFFIX,designtools.app,Proxy | |
- DOMAIN-SUFFIX,hallee.me,Proxy | |
- DOMAIN-SUFFIX,acast.com,Proxy | |
- DOMAIN-SUFFIX,spotify.com,Proxy | |
- DOMAIN-SUFFIX,substack.com,Proxy | |
- DOMAIN-SUFFIX,supabase.io,Proxy |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*! | |
* jScrollPane - v2.0.22 - 2015-04-25 | |
* http://jscrollpane.kelvinluck.com/ | |
* | |
* Copyright (c) 2014 Kelvin Luck | |
* Dual licensed under the MIT or GPL licenses. | |
*/ | |
// Script: jScrollPane - cross browser customisable scrollbars | |
// |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 首先定义一下,全局变量 | |
let lastTime = 0; // 此变量用来记录上次摇动的时间 | |
let x = 0, | |
y = 0, | |
z = 0, | |
lastX = 0, | |
lastY = 0, | |
lastZ = 0; // 此组变量分别记录对应x、y、z三轴的数值和上次的数值 | |
let shakeSpeed = 30; // 设置阈值 |