This opens a Zip code field. If I enter a Zip code manually a list of providers is shown. If I set the value with the script the list is not shown. So I am trying to simulate keypresses, but it is not working.
// ==UserScript==
// @name titantv
// @version 1
// @include https://www.titantv.com/*
// @grant none
// ==/UserScript==
var create = document.getElementById('ctl00_Main_TVL_ctl00_Nav_ctl00_AddLineup');
create.click();
setTimeout(function(){
var broadcast = document.getElementById('broadcast');
broadcast.click();
setTimeout(function(){
var zip = document.getElementById('zipEntryInput');
zip.dispatchEvent(new KeyboardEvent('keydown',{'key':'50'}));
}, 2000);
}, 2000);