Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

<!doctype html>
<html>
<head>
<meta charset="utf-8">
<style media="screen" type="text/css">
body {
background: white;
font-family: Roboto,Helvetica,Arial,sans-serif;
font-size: 14px;
font-weight: 400;
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Requests Frame</title>
<script>
/**
* To receive analytics events in a third-party frame, you must
* implement window.onNewContextInstance, with this signature.
* @param context Call onAnalyticsEvent() on this, passing your
amzn_ads.js:1 A parser-blocking, cross site (i.e. different eTLD+1) script, http://aax.amazon-adsystem.com/e/dtb/bid?src=3128&u=http%3A%2F%2Fwww.chip.de%2Fnews%2FHandy-mit-faltbarem-Display-Ein-Hersteller-koennte-schneller-sein-als-Samsung-und-Apple_124959707.html%3Fadkeyword%3Ddemoads_videoads%26dfghsg&cb=7009268, is invoked via document.write. The network request for this script MAY be blocked by the browser in this or a future page load due to poor network connectivity. If blocked in this page load, it will be confirmed in a subsequent console message. See https://www.chromestatus.com/feature/5718547946799104 for more details.
aax_write @ amzn_ads.js:1
a.getAds @ amzn_ads.js:1
(anonymous) @ Handy-mit-faltbarem-Display-Ein-Hersteller-koennte-schneller-sein-als-Samsung-und-Apple_124959707.html?adkeyword=demoads_videoads&dfghsg:445
amzn_ads.js:1 A parser-blocking, cross site (i.e. different eTLD+1) script, http://aax.amazon-adsystem.com/e/dtb/bid?src=3128&u=http%3A%2F%2Fwww.chip.de%2Fnews%2FHandy-mit-faltbare
@bpletzer
bpletzer / urlobject.js
Last active December 18, 2015 08:38 — forked from aymanfarhat/urlobject.js
function urlObject(url, options)
{
if ("" === url) return null;
default_options = {'url':url,'unescape':true,'convert_num':true};
if(typeof options !== "object")
options = default_options;
else
{
@bpletzer
bpletzer / writeCapture problem with different domain 404.html
Created April 5, 2011 16:41
this example depends on writeCapture.js and jquery.writeCapture.js which can be found https://github.com/iamnoah/writeCapture it shows, that writeCapture stops working as soon one calls a js which cannot be found on another domain it works locally.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"
dir="ltr" id="html">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>404 different domain</title>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.js"></script>
<script src="writeCapture.js" type="text/javascript" charset="utf-8"></script>
<script src="jquery.writeCapture.js" type="text/javascript" charset="utf-8"></script>