d2jsp
Log InRegister
d2jsp Forums > d2jsp > Ladder Slasher > How To Adjust Door Placement 4 Chrome
Add Reply New Topic New Poll
Member
Posts: 40,183
Joined: Apr 29 2006
Gold: 20,826.51
Sep 29 2020 11:45am
First off, I have to thank rgc213 for showing me this. He also uses Firefox, so you may ask for his help there, but I think it is basically the same as Chrome.

Since I play the game on occasions while laying down and only using a mouse to navigate (arrows) use abilities (icons) switch from melee to heal (icons) etc, it has been very useful... and I know not everyone does this (using mouse only), it could help others that do... mind you it is also good when reaching for a bourbon or cig while playing the game.

Hope this helps players. This LighShot print screen will show you the coding (with the adjustments I have made which will be explained later)

https://prnt.sc/uq32uh

... Not permanent, basically you have to keep the log in window (page) open.
... If you log out completely and/or shutdown, you have to repeat the steps
... I believe this will not help with anyone playing on the phone, so if you switch from phone to PC, you will have to repeat steps.

  • Enter Catacomb
  • Right Click the Door
  • Click "Inspect" at the bottom

    These are the adjusted areas on the right hand side of the "Inspect" section:
  • Go to the second section of .cataDoor {
  • Change top; 32px to 2px (just click on 32px even though it is has a strikethrough line)
  • Change right; px to 650px (again, just click there and add the number and ensure a px is added)
  • Now you can just click the X at the top right side of the "Inspect" window to see the position of the door, adjust the right for personal preference


Note: Adjust the "right; px" to your OWN preference, the following LighShot images are based on Zoom in/out... I don't know your personal resolution or screen size etc.

150% Zoom: https://prnt.sc/uq3bcf
125% Zoom: https://prnt.sc/uq3c10
110% Zoom: https://prnt.sc/uq3csc

Remember, these images are based on my PC screen size and resolution.



This post was edited by izParagonzi on Sep 29 2020 12:04pm
Member
Posts: 4,622
Joined: Aug 3 2008
Gold: 525.25
Sep 29 2020 03:09pm
you could put it in a userscript with tampermonkey or violentmonkey



Code
// ==UserScript==
// @name ls visual changes
// @namespace User Script
// @match *://ladderslasher.d2jsp.org/*
// @grant none
// @version 1.0
// @author -
// @description 9/29/2020, 5:09:43 PM
// ==/UserScript==

function addGlobalStyle(css) {
var head;
var style;
head = document.getElementsByTagName('head') [0];
if (!head) {
return;
}
style = document.createElement('style');
style.type = 'text/css';
style.innerHTML = css;
head.appendChild(style);
}

addGlobalStyle('.cataDoor{position:fixed;top:25px;right:1235px}');


This post was edited by SilentXer0 on Sep 29 2020 03:11pm
Member
Posts: 40,183
Joined: Apr 29 2006
Gold: 20,826.51
Oct 1 2020 04:31pm
Quote (SilentXer0 @ Sep 30 2020 10:09am)
you could put it in a userscript with tampermonkey or violentmonkey



Code
// ==UserScript==
// @name ls visual changes
// @namespace User Script
// @match *://ladderslasher.d2jsp.org/*
// @grant none
// @version 1.0
// @author -
// @description 9/29/2020, 5:09:43 PM
// ==/UserScript==

function addGlobalStyle(css) {
var head;
var style;
head = document.getElementsByTagName('head') [0];
if (!head) {
return;
}
style = document.createElement('style');
style.type = 'text/css';
style.innerHTML = css;
head.appendChild(style);
}

addGlobalStyle('.cataDoor{position:fixed;top:25px;right:1235px}');


Ty... just bumping for others to see.
Member
Posts: 40,183
Joined: Apr 29 2006
Gold: 20,826.51
Nov 3 2020 10:03pm
:bouncy:

Using the "Inspect" method, the only time you have to repeat the process is when you log off completely & log back on, and when you use the F5 (refresh) method. The Disconnects 1001 / 1006 do NOT change the door placement.

This post was edited by izParagonzi on Nov 3 2020 10:07pm
Member
Posts: 12,359
Joined: Dec 25 2007
Gold: 0.65
Nov 3 2020 10:23pm
Now I just need a fix to always pass the doors and ill be in good shape
Go Back To Ladder Slasher Topic List
Add Reply New Topic New Poll