diff --git a/README.md b/README.md index ea6609b..ad14ec0 100644 --- a/README.md +++ b/README.md @@ -68,6 +68,9 @@ himuro\_majika氏作のユーザースタイルシートも使ってみてくだ [futaba\_catalog\_mod(クラシックバージョン)](https://userstyles.org/styles/114130/futaba-catalog-mod-classic) ## 更新履歴 +* v1.6.6rev24 2019-07-02 + - リロードの監視を修正 + - 既読スレのマークの監視を修正 * v1.6.6rev23 2019-05-20 - KOSHIAN リロード拡張 改のページ更新せずに「多順」「勢順」などに切り替えする機能に対応 * v1.6.6rev22 2019-05-15 diff --git a/futaba_thread_highlighter.user.js b/futaba_thread_highlighter.user.js index 2a014a5..89dea4a 100644 --- a/futaba_thread_highlighter.user.js +++ b/futaba_thread_highlighter.user.js @@ -4,7 +4,7 @@ // @description スレ本文を検索してカタログでスレッド監視しちゃう // @include http://*.2chan.net/*/futaba.php?mode=cat* // @include https://*.2chan.net/*/futaba.php?mode=cat* -// @version 1.6.6rev23 +// @version 1.6.6rev24 // @require http://ajax.googleapis.com/ajax/libs/jquery/2.0.3/jquery.min.js // @grant GM_registerMenuCommand // @grant GM_getValue @@ -143,7 +143,7 @@ this.$ = this.jQuery = jQuery.noConflict(true); if ($("#GM_fcn_ng_menubar").length) { $pickup_thread_area = $("#GM_fcn_ng_menubar"); } else { - $("body > table[border]").before($pickup_thread_area); + $("#cattable").before($pickup_thread_area); } var $container_header = $("", { @@ -182,7 +182,9 @@ this.$ = this.jQuery = jQuery.noConflict(true); "background-color": "", } }); - if ($("body").attr("__fcn_catalog_visibility") == "hidden") $pickup_thread_container.css("visibility", "hidden"); + if ($("body").attr("__fcn_catalog_visibility") == "hidden") { + $pickup_thread_container.css("visibility", "hidden"); + } $pickup_thread_area.after($pickup_thread_container); } @@ -345,7 +347,9 @@ this.$ = this.jQuery = jQuery.noConflict(true); * ふたば@アプリ としあき(仮) 出張版のキーワード検索バーの表示制御 */ function futakuroSearchBarDispCtrl() { - if (!$("#inputSearch").length) return; + if (!$("#inputSearch").length) { + return; + } $("#inputSearch,#inputSearch+div").wrapAll("