This addition to the Starbase trade resource screen allows you to see the amount of ticks until each pylon drops (and the eventual downgrade to a Trade Outpost) as you are trading the Starbase.

The userscript uses the population of the Starbase (from the Starbase welcome screen) and the food/water (from the trade resource screen) so you need to visit the welcome page for the Starbase and then the trade screen for everything to make sense.

The userscript assumes you are visiting a Starbase with a max population set to 50,083.