Taimanin Screen

対魔忍のゲーム画面以外を疎放的に非表示にするスクリプト。

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(Tôi đã có Trình quản lý tập lệnh người dùng, hãy cài đặt nó!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

Tác giả
@Ginoa AI
Cài đặt hàng ngày
0
Số lần cài đặt
8
Đánh giá
0 0 0
Phiên bản
4.1
Đã tạo
28-11-2022
Đã cập nhật
06-02-2025
Kích thước
2 KB
Giấy phép
N/A
Áp dụng cho

対魔忍RPGのゲームページで、ゲーム画面をウィンドウサイズに合わせるスクリプト。
以下の起動方法を用いることで最大限の効果を発揮します。

Chrome / Shortcut
"C:\Program Files\Google\Chrome\Application\chrome.exe" --app=https://pc-play.games.dmm.co.jp/play/taimanin_rpgx/
Chrome / Bookmarklet / 1280*720
javascript:(() => { window.open('https://pc-play.games.dmm.co.jp/play/taimanin_rpgx/','window','width=1280, height=721'); })();
Firefox / Bookmarklet / 1280*720
javascript:(() => { window.open('https://pc-play.games.dmm.co.jp/play/taimanin_rpgx/','window','width=1280, height=720'); })();

バックグラウンドでも動作させる方法としてchrome://flagsから設定を変更する
chrome://flags > Calculate window occlusion on Windows > Disabled
……といったものがありますが、ショートカットから起動させる場合、コマンドで賄えます。
--disable-backgrounding-occluded-windows
そこから起動時のウィンドウサイズを指定し、16:9の比率で起動させてやると見栄えが良いです。
--window-size=1296,759
※指定したwindow-sizeはなぜか16*39だけ小さくなります。(1280*720で起動させたい場合1296(1280+16)*759(720+39))

理想的なショートカット
Chrome / Shortcut / 1280*720 / background
"C:\Program Files\Google\Chrome\Application\chrome.exe" --disable-backgrounding-occluded-windows --app=https://pc-play.games.dmm.co.jp/play/taimanin_rpgx/ --window-size=1296,759