本仕様定義書は、「ブック風マンガビューア」ユーザースクリプトの設計および実装に関する詳細を定義する。
「ブック風」とは、見開き形式のマンガビューアを指し、既存のウェブページから画像URLを収集し、見開き形式で表示する機能を提供する。
Tampermonkey上で動作し、特定のページに起動ボタンを挿入するか、Tampermonkeyメニューから起動可能。
主な構成要素は「データロードクラス」「UIビルドクラス」「UIマネジメントクラス」であり、使用技術はHTML5、CSS3、JavaScript、React、Tailwind CSSとする。
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name ブック風マンガビューア | |
// @namespace bookStyleMangaViewer | |
// @version 3.6 | |
// @description ウェブページの画像を見開き形式で表示するビューア(Xにも対応) | |
// @author roflsunriz | |
// @match https://nicomanga.com/read-* | |
// @match https://twitter.com/* | |
// @match https://x.com/* | |
// @grant GM_registerMenuCommand |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import subprocess | |
import time | |
import psutil | |
import sys | |
def kill_spotify(): | |
for proc in psutil.process_iter(['pid', 'name']): | |
try: | |
if 'Spotify.exe' in proc.info['name']: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import sys | |
import subprocess | |
import json | |
import tkinter as tk | |
from tkinter import simpledialog | |
import time | |
import pkg_resources | |
import threading | |
import pyperclip | |
import os |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Fanbox Pagination Helper | |
// @namespace fanboxPaginationHelper | |
// @version 1.3 | |
// @description Fanboxのページネーションを上部に追加 | |
// @author roflsunriz | |
// @match https://*.fanbox.cc/posts?* | |
// @grant GM_addStyle | |
// @updateURL https://gist.githubusercontent.com/roflsunriz/f89fad6e9923bd678ac92025486d2f2a/raw/fanbox-pagination-helper.user.js | |
// @downloadURL https://gist.githubusercontent.com/roflsunriz/f89fad6e9923bd678ac92025486d2f2a/raw/fanbox-pagination-helper.user.js |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import subprocess | |
import sys | |
import ctypes | |
# 必要なライブラリのリスト | |
REQUIRED_LIBRARIES = [ | |
'PyQt5', | |
'ctypes', | |
'pywinstyles' | |
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import tkinter as tk | |
from tkinter import ttk, filedialog, messagebox | |
import json | |
import os | |
import sys | |
import subprocess | |
import pkg_resources | |
import shutil | |
import py7zr | |
from typing import Dict, List |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import sys | |
import subprocess | |
import tkinter as tk | |
from tkinter import messagebox | |
import datetime | |
# フォルダパスの設定 | |
ASSETS_DIR = os.path.join("misc", "assets") | |
OUTPUT_DIR = os.path.join("misc", "output") |
NewerOlder