Untitled

mail@pastecode.io avatar
unknown
html
a year ago
696 B
2
Indexable
Never
<!doctype html>
<html class="no-js" lang="">

<head>
  <title>Test</title>
  <script>
    const params = new Proxy(new URLSearchParams(window.location.search), {
      get: (searchParams, prop) => searchParams.get(prop),
    });
    // Get the value of "some_key" in eg "https://example.com/?some_key=some_value"
    let value = params.scriptUrl; // "some_value"
    //document.write('<scr'+'ipt src="https://rsgde.adocean.pl/_'+(new Date()).getTime()+'/ad.js?id=xHYAMB2QN7oCXz0_egISCGFMo6WHD5JNZgxPREhm8Pn.m7/nc=0/gdpr=0/gdpr_consent=/redir=" language="javascript"></scr'+'ipt>');
    document.write('<scr'+'ipt src="' + value +'"></scr'+'ipt>');
  </script>
 
</head>

<body> 
</body>

</html>