- Tested on 2025-06-30
- from: https://github.com/wxt-dev/wxt/tree/0b1b677b3dd08aa6044e483db6b940969a195d16/templates
$ cd wxt-vanilla; pnpm zip; cd ..
$ cd wxt-vanilla; pnpm zip; cd ..
// ==UserScript== | |
// @name Mastodon: 投稿に添付する画像にGeminiで説明を付ける機能を追加 | |
// @namespace https://github.com/heguro | |
// @version 0.1.20250525 | |
// @description try to take over the world! | |
// @author heguro/あすらも | |
// @grant GM.xmlHttpRequest | |
// @connect generativelanguage.googleapis.com | |
// @match https://fedibird.com/* | |
// @match https://mstdn.jp/* |
原文: https://marketplace.visualstudio.com/items/ms-ossdata.vscode-pgsql/license (アーカイブ)
米国に居住している場合(または主たる事業所が米国にある企業の場合)は、以下の「拘束力のある仲裁およびクラスアクション放棄」の項をお読みください。紛争の解決方法に影響します。
// Licensed with CC0-1.0 | |
import { promises as fs } from "fs"; | |
import { CosmosClient } from "@azure/cosmos"; | |
// デフォルトSQL | |
const DEFAULT_SELECT_SQL = "SELECT TOP 100 * FROM c ORDER BY c._ts DESC"; | |
// 同時挿入件数 (max 100)。これ以上の件数は分割する | |
const BULK_UPSERT_COUNT = 20; |
javascript:(()=>{const e=document.createElement("button");Object.assign(e.style,{position:"fixed",top:"0",left:"0",width:"20rem",height:"2rem"}),e.innerText="<< click to copy all IDs! >>",e.onclick=()=>{const o=[],t=window.prompt,n=document.execCommand;window.prompt=(e,t)=>{o.push(t)},document.execCommand=void 0;const c=[...document.querySelectorAll("[aria-label='copy note id']")];for(const e of c)e.click();window.prompt=t,document.execCommand=n;const m=document.createElement("textarea");m.value=o.join("\n"),document.body.append(m),m.select(),document.execCommand("copy"),m.remove(),e.remove()},document.body.append(e)})(); |
I hereby claim:
To claim this, I am signing this object:
addEventListener("fetch", (event) => { | |
event.respondWith( | |
handleRequest(event.request).catch( | |
(err) => new Response(err.stack, { status: 500 }) | |
) | |
); | |
}); | |
/** | |
* @param {Request} request |
/* Windowsなら %appdata%\thedesk\custom.css に記述 */ | |
/* フォントサイズ 11px に合わせて設定 */ | |
/* 狭い画面でプロフィール表示したとき「もっと」が隠れて下に進めないのを回避する */ | |
/* アプデである程度の狭さなら隠れないようになったのでコメントアウト */ | |
/* #my-data-nav > a.btn { | |
width: 3rem; | |
} */ | |
/* 長文自動折り畳みを薄く */ |