javascript - Userscript not running on ajax loaded content. (waitForKeyElements not working) -
i have script scans page phone numbers , adds link place call via voip api. it's pretty simple, , works on every page. however doesn't work on 1 page really want run on (unfortunately, page behind paywall, link useless). my script (essentially copy of linkify ( http://userscripts-mirror.org/scripts/review/6111 ) updated fit needs): // ==userscript== // @include * // @require http://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js // @require https://gist.github.com/raw/2625891/waitforkeyelements.js // @grant gm_addstyle // ==/userscript== const defaultprefix= '+1'; // begin modify area const rcusername = ""; // account info temp removed const rcpassword = ""; const rcextension = ""; const rcringout = ""; const rccallerid = ""; const rcprompt = "0"; // end modify //close new window after starting call if (location.pathname == "/ringout.asp...