Freshdesk Smoothening - Tampermonkey

I wrote a Tampermonkey script that:

  • Moves the SA sidebar to the top
  • Redirects from ownerrez.freshdesk.com to help.ownerrez.com
  • Expands the sidebar content to reduce whitespace
  • Autoclicks the "show more" button so the entire list is always showing
  • Allows defining text rules to colorize ticket grids

Current version is v2.5 as of 6 May 2024.

Options

You can access the following options by using the FD Slickify Config menu:

The following options are supported:

  • SA Sidebar: move to top – Move the SA sidebar to the top of the sidebar area (rather than the bottom as it is by default)
  • SA Sidebar: minimize whitespace – Minimize whitespace around the SA sidebar
  • SA Sidebar: larger width – Increase the width of the entire sidebar area to 400 pixels (from 300ish)
  • Detect and autoclick Show More button – By default, FD hides the middle conversation items behind a "Show More" button if there are a lot of comments. This option will detect and click the "Show More" button which will automatically load the hidden comments.
  • Colorize Row Rules – This option lets you define colorization rules for the ticket rows based on a semicolon separated list of keywords to match. For example:

    #ff0000: tickets__list--urgent
    #ffdee0: api;sms #b797f2: google vacation rentals #a4bff4: airbnb message;inquiry from

    The match is done based on the item HTML, so you can target text keywords or HTML elements. For example, you can target different priorities by using one of the following classes:

    tickets__list--low
    tickets__list--medium
    tickets__list--high
    tickets__list--urgent

    When a match is detected, the color rule will be applied to the background of the row, for example:

Setup

  1. Install https://www.tampermonkey.net/ (works on Chrome, FF, Edge etc.)
  2. Open Tampermonkey > Options and go to the Utilities tab:
  3. Paste in the following URL and install it:
    https://gist.githubusercontent.com/programcsharp/5ae18d70094afa8aff5f432df58dd9c6/raw/freshdesk.slickify.js

  4. Refresh your FreshDesk tab and make sure Tampermonkey has access -- you should see a highlight once the extension is enabled:

Updating

By default, Tampermonkey will check for updates every day. You can also trigger an update immediately with the Utilities > Check for userscript updates option: