Afk watcher custom times

Is it posible to set cutom afk times for diferent programs. For example, if you are on your browser you have an AFK time of 30 min (watching youtube) otherwise just 180s? Maybe it could even work with URL watcher but it isn’t necessary.