曲名を?る

    @@ -1,17 +1,17 @@ /* * @title 曲名を?る - * @description 現在の deck と曲名が入力されたトゥート画面を開きます。 + * @description 現在のチャンネルと曲名が入力されたトゥート画面を開きます。 * @include https://music.pawoo.net/web/* * @license MIT License * @javascript_url */ (( - q = s => document.querySelector(s).innerText.trim() + q = s => document.querySelector(s) ) => void(open('https://music.pawoo.net/intent/statuses/new?text=' + encodeURIComponent( - q`.deck-selector__selector-body.active`.replace(/\D+/, '#ch') - + ' 『' + q`.queue-item__metadata-title` + '』\n' + '#ch' + q`.deck-selector__selector-body.active`.dataset.index + + ' 『' + q`.queue-item__metadata-title`.innerText + '』\n' ), 'PawooIntent', `width=450,height=300,left=${(screen.availWidth-450)/2|0},top=${(screen.availHeight-300)/2|0}` )))();
  • /*
     * @title 曲名を?る
     * @description 現在のチャンネルと曲名が入力されたトゥート画面を開きます。
     * @include https://music.pawoo.net/web/*
     * @license MIT License
     * @javascript_url
     */
    
    ((
     q = s => document.querySelector(s)
    ) => void(open('https://music.pawoo.net/intent/statuses/new?text='
     + encodeURIComponent(
      '#ch' + q`.deck-selector__selector-body.active`.dataset.index
       + ' 『' + q`.queue-item__metadata-title`.innerText + '』\n'
     ), 'PawooIntent',
     `width=450,height=300,left=${(screen.availWidth-450)/2|0},top=${(screen.availHeight-300)/2|0}`
    )))();
    
  • Permalink
    このページへの個別リンクです。
    RAW
    書かれたコードへの直接のリンクです。
    Packed
    文字列が圧縮された書かれたコードへのリンクです。
    Userscript
    Greasemonkey 等で利用する場合の .user.js へのリンクです。
    Loader
    @require やソースコードが長い場合に多段ロードする Loader コミのコードへのリンクです。
    Metadata
    コード中にコメントで @xxx と書かれたメタデータの JSON です。

History

  1. 2017/08/04 14:42:14 - 2017-08-04
  2. 2017/07/07 00:13:44 - 2017-07-07
  3. 2017/06/27 16:05:52 - 2017-06-27
  4. 2017/06/26 12:14:33 - 2017-06-26
  5. 2017/06/22 13:37:36 - 2017-06-22
  6. 2017/06/22 13:30:31 - 2017-06-22
  7. 2017/06/16 16:44:26 - 2017-06-16
  8. 2017/06/16 13:39:54 - 2017-06-16
  9. 2017/06/16 13:39:44 - 2017-06-16