Constantly reload Credit Karma Tax dashboard to prevent timeout

Constantly reloads the Credit Karma Tax dashboard to prevent the site from logging you out while you are entering data. Open https://tax.creditkarma.com/r/dashboard#income in another tab and it will refresh every minute.

// ==UserScript==
// @name     Constantly reload Credit Karma Tax dashboard to prevent timeout
// @description Constantly reloads the Credit Karma Tax dashboard to prevent the site from logging you out while you are entering data. Open https://tax.creditkarma.com/r/dashboard#income in another tab and it will refresh every minute.
// @version  1
// @grant    none
// @include https://tax.creditkarma.com/r/dashboard#income
// @namespace https://gf.qytechs.cn/users/22981
// ==/UserScript==

let TARGET_PAGE = "https://tax.creditkarma.com/r/dashboard#income"

if (window.location == "https://tax.creditkarma.com/r/dashboard#income") {
	// We are on the dashboard. No forms here; safe to periodically reload.
  console.log('Reloading in 60 seconds to keep session alive')
  window.setTimeout(() => {
    // Every 60 seconds, reload
    if (window.location == "https://tax.creditkarma.com/r/dashboard#income") {
      // But make sure we are on the right page; other pages are loaded into the dashboard page dynamically.
      console.log('Reloading now to keep session alive')
      window.location.reload()
    } else {
      console.log('Left dashboard. Not reloading.')
    }
  }, 60 * 1000)
}

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址