Duet3D Logo Duet3D
    • Tags
    • Documentation
    • Order
    • Register
    • Login

    Tamper Monkey script to change DWC color

    Scheduled Pinned Locked Moved
    Duet Web Control
    2
    7
    354
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • TurtlePrintundefined
      TurtlePrint
      last edited by TurtlePrint

      If you have multiple Duet printers and are looking for an easy way to tell them apart in DWC then you should check out this Tamper Monkey script. It lets you easily/automatically change the color of the title bars in DWC based on your printer IP address. It also works with both light and dark themes

      https://github.com/joshenders/userscript-duetwebcontrol-colors

      6dbdce94-b2f5-4885-8665-8718f5db7932-image.png

      d5d4e374-cd18-480a-892d-3558e6eb3b76-image.png

      1 Reply Last reply Reply Quote 1
      • fcwiltundefined
        fcwilt
        last edited by

        Nice idea but the link went nowhere.

        Frederick

        Printers: a E3D MS/TC setup and a RatRig Hybrid. Using Duet 3 hardware running 3.4.6

        TurtlePrintundefined 1 Reply Last reply Reply Quote 0
        • TurtlePrintundefined
          TurtlePrint @fcwilt
          last edited by

          @fcwilt Thanks, I've fixed the link

          1 Reply Last reply Reply Quote 1
          • fcwiltundefined
            fcwilt
            last edited by

            It says I need to install "Tamper Monkey" - that name does not inspire confidence that it is safe.

            What do you know about it?

            Thanks.

            Printers: a E3D MS/TC setup and a RatRig Hybrid. Using Duet 3 hardware running 3.4.6

            TurtlePrintundefined 1 Reply Last reply Reply Quote 0
            • TurtlePrintundefined
              TurtlePrint @fcwilt
              last edited by TurtlePrint

              @fcwilt It's an extremely popular browser plugin that's been around for over a decade.

              https://en.wikipedia.org/wiki/Tampermonkey

              1 Reply Last reply Reply Quote 2
              • fcwiltundefined
                fcwilt
                last edited by

                Well I got it to work - sort of.

                I couldn't get any combination of *.some_name in the match tag so I had to use just * which was not recommended.

                And I had to use IP addresses - which fortunately are reserved in the router.

                Any idea under Windows 10 how to determine what *.some_name should be?

                Frederick

                Printers: a E3D MS/TC setup and a RatRig Hybrid. Using Duet 3 hardware running 3.4.6

                1 Reply Last reply Reply Quote 0
                • TurtlePrintundefined
                  TurtlePrint
                  last edited by

                  Check your router setting to see if you can assign the IP or mac address a hostname. Then you can add a ".lan" or ".printer" extension to them

                  This is how the settings look in routers running dd-wrt firmware. But you should be able to google similar directions for your router
                  05e79689-4c91-4594-9689-c8ebc6bc3307-image.png

                  1 Reply Last reply Reply Quote 0
                  • First post
                    Last post
                  Unless otherwise noted, all forum content is licensed under CC-BY-SA