Skip to content

Instantly share code, notes, and snippets.

// ==UserScript==
// @name AIのべりすと 作品リストに絞り込みのためのタグリストを追加
// @namespace https://ai-novelist-share.geo.jp/
// @version 0.1.2
// @description 作品タイトルに含まれる"[...]"の部分をタグと見なして、作品リストページにタグ一覧を追加します。タグ名をクリックすると、そのタグを検索欄にセットして作品を絞り込み表示します。
// @author しらたま
// @match https://ai-novel.com/works.php
// @icon https://www.google.com/s2/favicons?sz=64&domain=ai-novel.com
// @updateURL https://gist.github.com/whiteball/5a936e89a40b07b625be27e534b8874c/raw/ai_novelist_tag_list_for_works.user.js
// @downloadURL https://gist.github.com/whiteball/5a936e89a40b07b625be27e534b8874c/raw/ai_novelist_tag_list_for_works.user.js
// ==UserScript==
// @name AIのべりすと サイドメニュー幅変更
// @namespace https://ai-novelist-share.geo.jp/
// @version 0.2.1
// @description サイドメニューの幅を変更できるようにします。
// @author しらたま
// @match https://ai-novel.com/novel.php
// @icon https://www.google.com/s2/favicons?sz=64&domain=ai-novel.com
// @updateURL https://gist.github.com/whiteball/ebe1f6f9b036d412e11f09cecbde9a80/raw/ai_novelist_adjust_side_menu.user.js
// @downloadURL https://gist.github.com/whiteball/ebe1f6f9b036d412e11f09cecbde9a80/raw/ai_novelist_adjust_side_menu.user.js
// ==UserScript==
// @name AIのべりすと ハイパーロングタームメモリから条件付きでコメント除外
// @namespace https://ai-novelist-share.geo.jp/
// @version 0.1.0
// @description @break、@startpoint、@endpoint、@/*の後ろに!!(エクスクラメーションマーク2つ)が書かれている場合、そのコメントの範囲をハイパーロングタームメモリの記憶対象に含めないようにします。
// @author しらたま
// @match https://ai-novel.com/novel.php
// @icon https://www.google.com/s2/favicons?sz=64&domain=ai-novel.com
// @updateURL https://gist.github.com/whiteball/367fd210f15b2e9e619eefb7f6f450ae/raw/ai_novelist_exluding_comments_from_hyper_ltm.user.js
// @downloadURL https://gist.github.com/whiteball/367fd210f15b2e9e619eefb7f6f450ae/raw/ai_novelist_exluding_comments_from_hyper_ltm.user.js
// ==UserScript==
// @name AIのべりすと 質問UI
// @namespace https://ai-novelist-share.geo.jp/
// @version 0.3.1
// @description 本文欄とスタイル選択の間に質問/答え入力用のインタフェースを追加します。初期状態では閉じているので「+」ボタンで展開します。いくつかの設定を編集ページの環境設定の下に追加しています。
// @author しらたま
// @match https://ai-novel.com/novel.php
// @icon https://www.google.com/s2/favicons?sz=64&domain=ai-novel.com
// @updateURL https://gist.github.com/whiteball/a42a045732802d645c87ba70f796ede0/raw/ai_novelist_qa_ui.user.js
// @downloadURL https://gist.github.com/whiteball/a42a045732802d645c87ba70f796ede0/raw/ai_novelist_qa_ui.user.js
// ==UserScript==
// @name AIのべりすと 本文欄にフォーカスが無いときは本文欄をスクロールしない
// @namespace https://ai-novelist-share.geo.jp/
// @version 0.1.4
// @description 本文欄にフォーカスが無いときはそのスクロールバーを無効にして、本文欄の上でマウスのホイールスクロールをしてもページ全体がスクロールされるようにします。逆に本文欄にフォーカスがあるときは、本文欄でホイールスクロールしたときに、上端または下端に達したときでもページ全体がスクロールされないようにします。注意:本文のテキスト内容によっては、フォーカスを失ったときにテキスト領域の横幅変わって、行の折り返しがずれる場合があります。
// @author しらたま
// @match https://ai-novel.com/novel.php
// @icon https://www.google.com/s2/favicons?sz=64&domain=ai-novel.com
// @updateURL https://gist.github.com/whiteball/17b85e1ed55542e94a4298ad9e1e8481/raw/ai_novelist_prevent_scroll.user.js
// @downloadURL https://gist.github.com/whiteball/17b85e1ed55542e94a4298ad9e1e8481/raw/ai_novelist_prevent_scroll.user.js
// ==UserScript==
// @name AIのべりすと 編集ページ下のメニューを強制サイドメニュー化
// @namespace https://ai-novelist-share.geo.jp/
// @version 0.4.2
// @description 編集ページの下にあるオプションメニューを、サイドメニューに押し込めます。ページ右上に追加した「≪」ボタンをクリックすることで、サイドメニューを開閉します。無理矢理押し込めているだけなので、ボタンや入力欄の位置がずれる可能性があります。
// @author しらたま
// @match https://ai-novel.com/novel.php
// @icon https://www.google.com/s2/favicons?sz=64&domain=ai-novel.com
// @updateURL https://gist.github.com/whiteball/45315af64ccc21ea0bbf83a9d38b6062/raw/ai_novelist_force_side_menu.user.js
// @downloadURL https://gist.github.com/whiteball/45315af64ccc21ea0bbf83a9d38b6062/raw/ai_novelist_force_side_menu.user.js
// ==UserScript==
// @name AIのべりすと ローカルに存在しないリモートデータにNEWと表示
// @namespace https://ai-novelist-share.geo.jp/
// @version 0.1.0
// @description AIのべりすと作品リスト(リモート)で、ローカルに存在しないIDを持った作品のタイトルの先頭に🆕を追加します。
// @author しらたま
// @match https://ai-novel.com/works.php
// @icon https://www.google.com/s2/favicons?sz=64&domain=ai-novel.com
// @updateURL https://gist.github.com/whiteball/c37e0f01884341bec6da77b054b9df22/raw/ai_novelist_mark_new_for_remote.user.js
// @downloadURL https://gist.github.com/whiteball/c37e0f01884341bec6da77b054b9df22/raw/ai_novelist_mark_new_for_remote.user.js
// ==UserScript==
// @name AIのべりすと 本文をクリップボードにコピー/クリップボードで本文を上書き
// @namespace https://ai-novelist-share.geo.jp/
// @version 0.1.1
// @description AIのべりすと編集ページにある環境設定(デスクスタンドのアイコン)の「インポート/エクスポート」の下に、「本文をクリップボードにコピー」ボタン(Chrome/Firefox)と「クリップボードで本文を完全に上書き」ボタン(Chromeのみ)を追加します。
// @author しらたま
// @match https://ai-novel.com/novel.php
// @icon https://www.google.com/s2/favicons?sz=64&domain=ai-novel.com
// @updateURL https://gist.github.com/whiteball/6ffbc2836cd42bd911aaae5eab127454/raw/ai_novelist_clipboard_import_export.user.js
// @downloadURL https://gist.github.com/whiteball/6ffbc2836cd42bd911aaae5eab127454/raw/ai_novelist_clipboard_import_export.user.js
// ==UserScript==
// @name AIのべりすと 自動でZIPですべてエクスポート
// @namespace https://ai-novelist-share.geo.jp/
// @version 0.1
// @description AIのべりすとの作品リストを開いたとき、前回自動ダウンロードから指定日数が経過していれば、自動でダウンロードを開始します。
// @author しらたま
// @match https://ai-novel.com/works.php
// @icon https://www.google.com/s2/favicons?sz=64&domain=ai-novel.com
// @updateURL https://gist.github.com/whiteball/f14ddfc89ed8781d5253314620b63679/raw/ai_novelist_undo_to_head.user.js
// @downloadURL https://gist.github.com/whiteball/f14ddfc89ed8781d5253314620b63679/raw/ai_novelist_undo_to_head.user.js
// ==UserScript==
// @name AIのべりすと 保存時にお知らせがにゅっと出る
// @namespace https://ai-novelist-share.geo.jp/
// @version 0.2.0
// @description ローカル、またはリモートに保存が実行されたとき、右下に時限で消えるポップアップを出します。なお、ストレージがいっぱいなどの理由で保存時にエラーが出た場合でも、「保存しました」と表示されますが、仕様です。
// @author しらたま
// @match https://ai-novel.com/novel*.php
// @icon https://www.google.com/s2/favicons?sz=64&domain=ai-novel.com
// @require https://cdnjs.cloudflare.com/ajax/libs/jquery-toast-plugin/1.3.2/jquery.toast.min.js
// @updateURL https://gist.github.com/whiteball/6250defee06ade23b8781bf96435ead3/raw/ai_novelist_toast_on_save.user.js