[Script] Angband Live: Chat On Left

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • enop
    Rookie
    • Oct 2024
    • 1

    [Script] Angband Live: Chat On Left

    It's a script that puts the chat on the left.

    How-to:
    1. Get ViolentMonkey, Greasemonkey, Tampermonkey, or any similar add-on for your browser. (This was created in the first, and should be simple enough to work in any. First two are open-source.)
    2. "Add new script", then paste the below in.
    Code:
    // ==UserScript==
    // @name Angband Live: Chat On Left
    // @namespace Violentmonkey Scripts
    // @match https://angband.live/play#
    // @grant none
    // @version 1.0
    // @author enop, lunitin
    // @description 10/17/2024
    // ==/UserScript==
    
    var styles = `.flex { flex-direction: row-reverse !important; }`
    var styleSheet = document.createElement("style")
    styleSheet.textContent = styles
    document.head.appendChild(styleSheet)
    Also credit to lunitin from chat for code help.
    Last edited by enop; October 17, 2024, 22:07.
  • Nick
    Vanilla maintainer
    • Apr 2007
    • 9633

    #2
    I like the chat on the right, but it's nice to know I could have it on the left
    One for the Dark Lord on his dark throne
    In the Land of Mordor where the Shadows lie.

    Comment

    Working...
    😀
    😂
    🥰
    😘
    🤢
    😎
    😞
    😡
    👍
    👎