gtmDebuggerMinimize

    @@ -1,5 +1,5 @@ /* - * @title bookmarklet + * @title gtmDebuggerMinimize * @description my bookmarklet * @include http://* * @license MIT License
  • /*
     * @title gtmDebuggerMinimize
     * @description my bookmarklet
     * @include http://*
     * @license MIT License
     * @require 
     */
    
    
    (function(){
      const iframes = document.getElementsByTagName("iframe");
      for(let i = 0; i<iframes.length; i++){
        let iframeTitle = iframes[i].contentWindow.document.title;
        console.log();
        if(iframeTitle.indexOf("GTM Debug Console")>=0){
          iframes[i].contentWindow._minimize();
          break;
        }
      }
    })();
  • Permalink
    このページへの個別リンクです。
    RAW
    書かれたコードへの直接のリンクです。
    Packed
    文字列が圧縮された書かれたコードへのリンクです。
    Userscript
    Greasemonkey 等で利用する場合の .user.js へのリンクです。
    Loader
    @require やソースコードが長い場合に多段ロードする Loader コミのコードへのリンクです。
    Metadata
    コード中にコメントで @xxx と書かれたメタデータの JSON です。

History

  1. 2020/04/10 17:35:06 - 2020-04-10
  2. 2020/04/10 17:34:25 - 2020-04-10