Skip to content

Instantly share code, notes, and snippets.

View x3388638's full-sized avatar
:octocat:

YY Chang x3388638

:octocat:
View GitHub Profile
// ==UserScript==
// @name Captured date tool
// @namespace https://PortalExplorer-rhcloud.com/
// @version 0.1
// @description show the captured date of portal
// @author Y.Y.
// @include https://www.ingress.com/intel*
// @include http://www.ingress.com/intel*
// @match https://www.ingress.com/intel*
// @match http://www.ingress.com/intel*
@x3388638
x3388638 / ingressTool.v3.user.js
Created April 10, 2016 14:52
Override the original function in ingress intel map to log the portal owner and get latest captured date of the portal
// ==UserScript==
// @name ingress tool
// @namespace IngressTool
// @version 0.1
// @description Log portals you own
// @author Y.Y.
// @match https://www.ingress.com/intel*
// @match http://www.ingress.com/intel*
// @include https://www.ingress.com/intel*
// @include http://www.ingress.com/intel*
@x3388638
x3388638 / NCNUCourseCrawler.js
Created June 4, 2016 15:47
NCNU Course Crawler
window.NCNUCourseCrawler = (_ => {
const recperpage = 600;
const COURSE_NUM = 1376;
const PAGES = Math.ceil(COURSE_NUM / recperpage);
const YEAR = 1042;
let courseList = [];
function start() {
_getCourseList();
courseList.forEach((val, i) => {
// ==UserScript==
// @name poke5566 crawler
// @namespace crawl5566
// @version 0.1
// @description Pokemon is over there.
// @author Y.Y.
// @match https://poke5566.com/*
// @include https://poke5566.com/*
// @grant none
// ==/UserScript==
// ==UserScript==
// @name pkget crawler
// @namespace crawlPKGET
// @version 2.1
// @description Pokemon is over there.
// @author Y.Y.
// @match https://pkget.com/*
// @include https://pkget.com/*
// @grant none
// ==/UserScript==
@x3388638
x3388638 / AirDataReformat.js
Last active June 5, 2017 18:46
行政院環境保護署 空氣品質監測資料 全年逐時資料 (http://taqm.epa.gov.tw/taqm/tw/YearlyDataDownload.aspx) 格式轉換
/**
* 行政院環境保護署 空氣品質監測資料 全年逐時資料 (http://taqm.epa.gov.tw/taqm/tw/YearlyDataDownload.aspx) 格式轉換
* keywords: 空污,空氣,品質,空氣品質,監測,逐年,逐時,資料,行政院,環保署,環境保護署
*
* 將原本以時間(小時)為欄,測項為列之資料轉換成
* 以測項為欄,時間(小時)為列
*
* Usage: $ node AirDataReformat.js < /PATH/TO/oriAirData.xml
*/
@x3388638
x3388638 / din.user.js
Created July 25, 2017 08:32
便當開團及時通知
// ==UserScript==
// @name din.user.js
// @namespace yy.dinLunch
// @version 0.1
// @description din ban don
// @author Y.Y.
// @match http://cxlsvr60/test_area/9003/90033/OrderSystem/dinbandon/LUNCH_HOME.ASP
// @grant none
// ==/UserScript==
@x3388638
x3388638 / ro.js
Last active December 10, 2017 17:16
仙境傳說 守護永的愛 RO 耶誕城揪伴裝飾你的聖誕樹 海豹 不求人,免帳號無限佈置 (demo: https://drive.google.com/file/d/1nTnqPMkR_mOAHlJqG8DEsqhs9GLc1lsg/view?usp=sharing)
$.ajax({
url: 'https://www.wegames.com.tw/Third/facebook',
type: 'post',
data: {
token_for_business: ((Math.random()*10e17).toString(16) + (Math.random()*10e17).toString(16)).substring(0,16),
name: Date.now().toString(16),
id: Math.random()*10e17,
YII_CSRF_TOKEN: $('input[name="YII_CSRF_TOKEN"]').val()
},
success: function () {
@x3388638
x3388638 / RO_Seal.user.js
Last active December 10, 2017 17:15
仙境傳說 守護永的愛 RO 耶誕城揪伴裝飾你的聖誕樹 海豹 不求人,免帳號無限佈置 (demo: https://drive.google.com/file/d/1iwh8chpGQxUXhS1tmDlIgyn9h8zadB2m/view?usp=sharing)
// ==UserScript==
// @name RO_Seal
// @namespace YY
// @version 1.0
// @description RO Seal
// @author Y.Y.
// @include /https:\/\/rom\.gnjoy\.com\.tw\/event_xmastree\/frienddecorate\?code=.+/
// @include /https:\/\/rom\.gnjoy\.com\.tw\/event_xmastree\/friendlogin\?code=.+/
// @match https://www.wegames.com.tw/site/login
// @grant none
@x3388638
x3388638 / RO_Seal_Auto.user.js
Last active December 20, 2017 18:46
仙境傳說 守護永的愛 RO 耶誕城揪伴裝飾你的聖誕樹 全自動拿序號 (Doc: https://hackmd.io/s/B1pB-7j-z)
// ==UserScript==
// @name RO_Seal_Auto.user.js
// @namespace YY
// @version 2.0
// @description RO Seal, auto get code
// @author Y.Y.
// @include /https:\/\/rom\.gnjoy\.com\.tw\/.*/
// @include /https://www.wegames.com.tw/site/login/
// @exclude https://rom.gnjoy.com.tw/fblike/getgift
// @grant none