Instantly share code, notes, and snippets.

View hack.js
var tags = ["a", "abbr", "address", "area", "article", "aside", "audio", "b", "base", "bdo", "bdi", "blockquote", "body", "br", "wbr", "button", "canvas", "caption", "cite", "code", "col", "colgroup", "comment", "doctype", "data", "datalist", "dd", "del", "dfn", "div", "dl", "dt", "em", "embed", "fieldset", "figure", "figcaption", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header", "hr", "html", "i", "s", "iframe", "img", "input", "ins", "kbd", "keygen", "label", "legend", "li", "link", "main", "map", "mark", "meta", "meter", "nav", "noscript", "object", "ol", "optgroup", "option", "output", "p", "param", "pre", "progress", "q", "rtc", "rb", "rp", "rt", "ruby", "samp", "script", "section", "select", "small", "source", "span", "strong", "style", "sub", "sup", "table", "tbody", "td", "textarea", "tfoot", "th", "thead", "time", "title", "tr", "track", "template", "u", "ul", "var", "video"];
function fillData(data) {
setTimeout(function() {
$("#html5tags_game input").val(data);

Keybase proof

I hereby claim:

  • I am acgotaku on github.
  • I am acgotaku311 ( on keybase.
  • I have a public key whose fingerprint is 2731 3ED2 4D97 D91C 34D4 CFB7 9E8A E5D3 6E7E 5F90

To claim this, I am signing this object:

View run in console
View convert.js
* 贪灵Gollum for Baiduyun, Ver.3.4.4
* 立即执行函数:百度云盘批量转存用户分享。
* 【特点】
* - 可保持或无视原分享者的目录结构。
* - 支持差分转存。
* - 自动分解转存,可突破单次转存总文件数5000的限制。
* - 可在分享主页下,进入某文件夹来转存其下级子文件夹。
* - 支持专辑转存。
#!/usr/bin/env python3
# -*- encoding: utf-8 -*-
# vim: set et sw=4 ts=4 sts=4 ff=unix fenc=utf8:
import os
import sys
from PIL import Image
import numpy as np
def read(imgPath):
img =
img = img.convert("L")
mkdir -p crx
if [ ! -d "unzipped/$id" ]; then
wget -q "$downloadUrl" -O crx/$id.crx -U "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/42.0.2311.152 Safari/537.36"
echo "download success"
View instagram
#!/usr/bin/env python2
# -*- encoding: utf-8 -*-
# vim: set et sw=4 ts=4 sts=4 ff=unix fenc=utf8:
import os.path
import sys
import json
import codecs
import httplib
from pyquery import PyQuery as pq
from urlparse import urlparse
View promise
chrome.tabs.onUpdated.addListener(function(tabId, changeInfo, tab) {
if (changeInfo.status === 'loading' && tab.url.indexOf("") != -1) {
var site1 = "";
var name1 = "BDUSS";
var site2 = "";
var name2 = "pcsett";
Promise.all([get_cookie(site1,name1), get_cookie(site2,name2)]).then(function(value){
View baidupan
// ==UserScript==
// @name 百度网盘aria2导出工具
// @author acgotaku311
// @description 一个方便吧百度网盘的Aria2rpc导出的脚本。
// @encoding utf-8
// @include http://**
// @include http://**
// @include http://**
// @include https://**
// @include https://**
View baidu
// ==UserScript==
// @name 百度网盘导出工具
// @author Mormts
// @description 一个方便吧百度网盘的文件导出的脚本。(Aria2rpc, Aria2, Wget, IDM)。
// @encoding utf-8
// @homepageURL
// @updateURL
// @downloadURL
// @include http://**
// @include http://**