Skip to content

Instantly share code, notes, and snippets.

View eai04191's full-sized avatar
🦀

y.takahashi eai04191

🦀
View GitHub Profile
@eai04191
eai04191 / README.md
Last active September 7, 2023 18:41
Google Playの注文履歴ページをパースしてアプリごとの課金額を見るやつ

Google Playの注文履歴ページをパースしてアプリごとの課金額を見るやつ

image

使い方

  1. https://play.google.com/store/account/orderhistory?hl=ja&gl=US を開く
  2. すべて読み込む(一番下までスクロールする)
  3. スクリプトを修正する(わからない場合は使わないでください)
/* ==UserStyle==
@name mastodon big icon
@namespace mizle.net
@version 1.0.0
@author Eai
@license MIT
@preprocessor stylus
==/UserStyle== */
@-moz-document domain("mstdn.maud.io") {
.status__relative-time {
/**
* pixivのブックマークにタグつけるやつ
*
* 全てのブックマークを取得して、ブックマークタグがない作品に、現状の作品のタグを付けれるだけ付けます
* ブックマークページのコンソールに貼り付けて動かします
*
* このスクリプトはpixivのAPIを使用しています。
* このスクリプトを使用したことにより使用者になんらかの不都合が発生しても、開発者は一切の責任を負いません。
* 自己責任で使用してください。
*
function ArkWindowsSize() {
const units = ["B", "KiB", "MiB", "GiB", "TiB", "PiB", "EiB", "ZiB", "YiB"];
function toBytes(sizeStr) {
const [value, unit] = sizeStr.split(" ");
return Number(value) * Math.pow(1024, units.indexOf(unit));
}
function fromBytes(bytes) {
let unitIndex = 0;
while (bytes >= 1024 && unitIndex < units.length - 1) {

GitHubの2FAを有効にしていない人を一覧したいけどどのリポジトリにアクセスできるのか調べるのめんどくさいときに使うスニペット

https://github.com/orgs/YOUR_ORG_HERE/outside-collaborators?query=two-factor%3Adisabled

みたいなURLで2FAしてないOutside Collaboratorsの一覧が見れるのでJSを実行すると

[example-user-01](https://github.com/orgs/YOUR_ORG_HERE/people/example-user-01):
  [YOUR_ORG_HERE/example-repo-01](https://github.com/YOUR_ORG_HERE/example-repo-01)
 [YOUR_ORG_HERE/example-repo-02](https://github.com/YOUR_ORG_HERE/example-repo-02)
const classNames = {
"4b": [
"table_filter_1_column_12",
"table_filter_1_column_13",
"table_filter_1_column_14",
"table_filter_1_column_15",
],
"5b": [
"table_filter_1_column_16",
"table_filter_1_column_17",
[Message: Preloader] BepInEx 6.0.0-pre.1 - LastOrigin_N
[Info : BepInEx] System platform: Windows 10 64-bit
[Info : BepInEx] Process bitness: 64-bit (x64)
[Debug : Preloader] Game executable path: G:\DMMGP\lastorigin\LastOrigin_N.exe
[Debug : Preloader] Unhollowed assembly directory: G:\DMMGP\lastorigin\BepInEx\unhollowed
[Debug : Preloader] BepInEx root path: G:\DMMGP\lastorigin\BepInEx
[Info : Preloader] Running under Unity v2018.4.36
[Debug : Preloader] Unity version obtained from main application module.
[Info : Preloader] 0 patcher plugins loaded
[Debug :AssemblyPatcher] Assembly loaded: Assembly-CSharp-firstpass.dll
(async () => {
const wait = (ms) => new Promise((resolve) => setTimeout(resolve, ms));
const strings = {
subtitle: "字幕",
english: "英語",
targetLanguage: "日本語",
machineTranslation: "自動翻訳",
};
/* ==UserStyle==
@name developer.mozilla.org - 2022/1/9 12:12:47
@namespace mizle.net
@version 1.0.0
@description a
@author Eai
@license MIT
@preprocessor stylus
==/UserStyle== */
@-moz-document domain("developer.mozilla.org") {
const host = `https://stellaria.network`;
const token = `paste your token here`;
document.querySelectorAll(".note").forEach((n) => {
const el = document.createElement("button");
el.innerText = "DELETE";
el.onclick = async (e) => {
const id = e.target
.closest(".note")
.getAttribute("data-id")