DXR is a code search and navigation tool aimed at making sense of large projects. It supports full-text and regex searches as well as structural queries.

Mercurial (5b81998bb7ab)

VCS Links

Line Code
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
<!-- test by moz_bug_r_a4@yahoo.com -->
<body onload="a()">
<script>
var targetUrl = "http://example.com/";
var l;

function a() {
        var o = {};
        o.toString = function() {
                l();
                return "a";
        };
        var f = Object.getOwnPropertyDescriptor(Document.prototype, "title").set;
        setTimeout(f.bind(document), 0, o);
}

function l() {
        var l = false;
        onunload = function() {
                l = true;
        };
        location = targetUrl;
        do {
                var r = new XMLHttpRequest();
                r.open("GET", location.href, false);
                r.overrideMimeType("text/plain");
                try { r.send(null); }
                catch (e) {}
        } while (!l);
}
</script>