Skip to content

Instantly share code, notes, and snippets.

View elf_captcha.js
// ELF Auto CAPTCHA
// URL Pattern:
// - https://www.elf.com.tw/login.aspx
window.addEventListener('load', function () {
const formData = new FormData();
formData.append('p', 'ELF_Identify');
fetch('GetSession.ashx', {
method: 'POST',
body: formData
@x43x61x69
x43x61x69 / apple_dhl.html
Last active Dec 1, 2020
Apple Shipment Enumerator via DHL Express (SHANGHAI, CHINA)
View apple_dhl.html
<!--
// Copyright (C) 2020 Zhi-Wei Cai.
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
@x43x61x69
x43x61x69 / ups_tracker_expend.js
Created Dec 10, 2019
UPS Tracking Auto Expend & Percentage
View ups_tracker_expend.js
// UPS Tracking Auto Expend & Percentage
// URL Pattern: ups.com/track
addEventListener("load", function()
{
var observer = new MutationObserver(function(mutations, me)
{
var details = document.getElementById("stApp_lblShipProgressTableViewDetailed");
if (details)
{
@x43x61x69
x43x61x69 / amazon_tracker_progress.js
Created Dec 10, 2019
Amazon Progress Tracker in Percentage
View amazon_tracker_progress.js
// Amazon Progress Tracker in Percentage
// URL Pattern:
// amazon.com/progress-tracker/package/*
// *.amazon.com/progress-tracker/package/*
var items = document.getElementsByClassName("js-milestone-bar");
var labels = document.getElementsByClassName("milestone-primaryMessage");
for (var i = 0; i < items.length; i++)
{
View com.apple.private.health.heart-rhythm.plist
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>HKAtrialFibrillationDetectionOnboardingCompleted</key>
<integer>1</integer>
<key>HKElectrocardiogramOnboardingCompleted</key>
<integer>3</integer>
</dict>
</plist>
@x43x61x69
x43x61x69 / .bash_profile
Last active May 21, 2018
Check SSL Certificate Info via Linux/macOS Command Line
View .bash_profile
# You can place this into '.bash_profile' to make it more accessible.
# sslstatus google.com:443
sslstatus()
{
echo
a=(${1//:/ })
PORT=443
if [ "${#a[@]}" -ne 2 ]; then
View gogoro_coupon_inject.js
javascript:
{
function evtSim(e, idx)
{
sel.selectedIndex = idx;
var evt = document.createEvent("MouseEvents");
evt.initEvent("change", false, true);
e.dispatchEvent(evt);
}
function inj(plt)
@x43x61x69
x43x61x69 / README
Last active Mar 24, 2018
Starbucks (Taiwan) Email Validation RFC 2822 Compliant Fix
View README
// Copyright (C) 2017 Zhi-Wei Cai.
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.