Skip to content

Instantly share code, notes, and snippets.

@hypery11
hypery11 / fb.js
Last active August 29, 2015 14:04 — forked from Inndy/What the hell...js
/*
* 這是神人大大剛剛發的JS
* 我稍微分析了一下
* 請各位不要幹這種無腦的事情
* 還好他很 ______ 的只會讓你追蹤他,按他讚,Tag更多好友中標
* 如果今天神人大大是真正的Hacker....
* 他可以偷走你的個人資料,對你的帳號做各種奇怪的事情
* Ex:對你的好友發送詐騙訊息,把你加入奇怪的社團
* 在瀏覽器內執行來路不明的 JavaScript 是非常危險的...
*/
@hypery11
hypery11 / thu_fsis_job_resign.user.js
Last active January 3, 2019 12:37 — forked from anonymous/thu_fsis_job_resign.user.js
東海大學學生資訊系統自動補登
// ==UserScript==
// @name THU fsis job resign
// @namespace cph@thu.edu.tw
// @version 0.2
// @description 東海大學學生資訊系統自動補登
// @author CPH
// @match http*://fsiso.thu.edu.tw/wwwstud/STUD_V6/LABOR/jobRESign_detail.php
// @grant none
// ==/UserScript==
(function() {
const unirest = require('unirest')
headers = {
'Accept': 'application/x-thrift',
'Content-Type': 'application/x-thrift',
'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.86 Safari/537.36',
'X-Line-Application': 'ANDROIDLITE\t8.2.4\tAndroid\tOS\t6.0',
'X-LE': "18",
'X-LST': 1e3 * 1,
'X-LAL': "en",
'X-LHM': 'POST',