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 or Violentmonkey 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.

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

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!)

ئاپتورى
@Ginoa AI
بۈگۈن قاچىلانغىنى
0
جەمئىي قاچىلانغىنى
8
باھا نومۇرى
0 0 0
نەشرى
4.1
قۇرۇلغان ۋاقتى
2022-11-28
يېڭىلانغان ۋاقتى
2025-02-06
Size
2.5 KB
ئىجازەتنامىسى
يوق
قوللايدىغىنى

対魔忍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