Skip to content

Instantly share code, notes, and snippets.

View ZE3kr's full-sized avatar
🎯
Focusing

James Guo ZE3kr

🎯
Focusing
View GitHub Profile
@ZE3kr
ZE3kr / youtube_premium_check.js
Created December 6, 2021 11:46 — forked from Hyseen/youtube_premium_check.js
YouTube Premium 解锁检测模块
/**
*
* [Panel]
* youtube_premium_check = script-name=youtube_premium_check, title="YouTube Premium 解锁检测", update-interval=1
*
* [Script]
* youtube_premium_check = type=generic, script-path=https://gist.githubusercontent.com/Hyseen/5ae36a6a5cb5690b1f2bff4aa19c766f/raw/youtube_premium_check.js?version=1633074636264, argument=title=YouTube 解锁检测
*
* 支持使用脚本使用 argument 参数自定义配置,如:argument=key1=URLEncode(value1)&key2=URLEncode(value2),具体参数如下所示,
* title: 面板标题
@ZE3kr
ZE3kr / theme.js
Last active November 13, 2016 00:53 — forked from jessor/theme.js
Track Wordpress Comments as Piwik Goals with jQuery
jQuery.noConflict();
jQuery(document).ready(function($) {
// ...
$('#commentform').submit(function() {
_paq.push(['trackGoal', '1']); // logs a conversion for goal 1
});
// ...
});