This Tampermonkey script customizes the Elden Ring Interactive Map on the Fextralife website. It moves the map element to the top of the body and applies specific styles to enhance its visibility and accessibility.
- Moves the map container (
div
withid="mapA"
) to the top of the body. - Applies the following styles to the map container:
position: absolute;
z-index: 10000;
top: 0;
left: 0;
width: 100vw;
height: 100vh;
- Ensures the map iframe (
iframe
with classinteractivemapcontainer
) has a height of100vh
.
- Install Tampermonkey if you haven't already.
- Click on the Tampermonkey icon in your browser and select
Create a new script...
. - Delete the default content and paste in the script from below.
- Save the script.
- Visit the Elden Ring Interactive Map to see the changes in effect.