Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

If requesting help, make sure to mention what game you are attempting to use ACT with.
For the best FFXIV support, join Ravahn's Discord Server. Also check out ngld's FFXIV FAQ for starter diagnostics. Lastly, Jojo's setup guide.

ACT Webserver Formatting

I'm using the FFXIV parsing plugin and the webserver - this is working great.

Is there a way to reformat the live page?  A base HTML template, or a built in way to inject a css file onto the page?  For our purposes, we don't need all the information provided, and I can make it a little more mobile friendly - so someone could just throw it onto their phone while they're raiding.


  • edited November 2018
    There's not a built-in way, per-se... but you can accomplish it with a plugin since these pages use "ACT.css".  The plugin would just need to intercept the request and serve its own CSS file.  Of course the tables aren't generated with many selectors to attach to... but they're simple pages and using nth constructs might be enough.

    using Advanced_Combat_Tracker;
    using System.Windows.Forms;

    namespace ActCssReplace
        public class ActCssPlugin : IActPluginV1
            Label pluginStatusText;
            public void InitPlugin(TabPage pluginScreenSpace, Label pluginStatusText)
                this.pluginStatusText = pluginStatusText;
                ActGlobals.oFormActMain.UrlRequest += OFormActMain_UrlRequest;
                pluginStatusText.Text = "Handling ACT.css";

            private void OFormActMain_UrlRequest(UrlRequestEventArgs urlInfo)
                if (urlInfo.url == "/ACT.css")
                    urlInfo.SetTextData(actCss, "text/css; charset=UTF-8");

            static readonly string actCss = @"
    /* Avoid using double-quotes here, or double them like ""quote"" */
    body { background-color: #000000; color: #ffffff; }
    a:active { text-decoration: none; color: #ff7777; background: none; }
    a:link { text-decoration: none; color: #bbbbff; background: none; }
    a:visited { text-decoration: none; color: #eebbff; background: none; }
    a:hover { text-decoration: underline; color: #9999ff; background: none; }
    .smallerText { font-size: smaller; }


            public void DeInitPlugin()
                ActGlobals.oFormActMain.UrlRequest -= OFormActMain_UrlRequest;
                pluginStatusText.Text = "Exited.";

    Save this as a *.cs file and load in ACT as a plugin.
  • Awesome, I should be able to work with that, thank you!
Sign In or Register to comment.