Simple jQuery code snippet to get the src (ie the url) of an injected iframe by simply getting the value of it’s “src” parameter. From here you can access the params in the src.
//selector for injected iframe var iframeSrc = $('#iframe').attr('src');
Sam Deering has 15+ years of programming and website development experience. He was a website consultant at Console, ABC News, Flight Centre, Sapient Nitro, and the QLD Government and runs a tech blog with over 1 million views per month. Currently, Sam is the Founder of Crypto News, Australia.