1/** 2 * This script passes URL parameters to iframes with specified ids 3 * 4 * @author Equalize Digital 5 * @link https://equalizedigital.com 6 * @package Pass_Parameters_iframe 7 * @version 1.1.0 8 * @license GPL-2.0+ 9 */ 10 11jQuery(function($){ 12 $(window).on('load', function() { 13 var iframe = $('#rwcGetParams'); 14 if (iframe.length) { 15 var loc = window.location.toString(), 16 params = loc.split('?')[1], 17 query, 18 newsrc; 19 if (params){ 20 if( iframe.attr('src').indexOf('?') >= 0){ 21 query = '&'; 22 }else{ 23 query = '?'; 24 } 25 newsrc = iframe.attr('src') + query + params; 26 iframe.attr('src', newsrc); 27 } 28 } 29 }); 30});
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.