Last active
August 29, 2015 14:09
-
-
Save noromanba/974bd5240d37fbc9a527 to your computer and use it in GitHub Desktop.
log main window and iframes for UserScript
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name log all frames | |
// @namespace http://noromanba.flavors.me | |
// @description log main Window and iframes for UserScript | |
// @include http://* | |
// @include https://* | |
// @grant none | |
// @run-at document-end | |
// @version 2014.11.13.3 | |
// @homepage https://gist.github.com/noromanba/974bd5240d37fbc9a527 | |
// @downloadURL https://gist.github.com/noromanba/974bd5240d37fbc9a527/raw/log-all-frames.user.js | |
// @license CC0 Univ. PD http://creativecommons.org/publicdomain/zero/1.0/ | |
// @author noromanba http://noromanba.flavors.me | |
// ==/UserScript== | |
// c.f. | |
// http://ptech.g.hatena.ne.jp/noromanba/20141112/1415819400 | |
// Devel | |
// https://gist.github.com/noromanba/974bd5240d37fbc9a527 | |
(function () { | |
/* | |
if (window.top !== window.self) return; // @noframes shim | |
//*/ | |
console && console.debug && console.debug(window); | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment