YouTube - Button Container (@require)

Creates a button container, under the video, onto which buttons can be added

2014-06-04 기준 버전입니다. 최신 버전을 확인하세요.

이 스크립트는 직접 설치하는 용도가 아닙니다. 다른 스크립트에서 메타 지시문 // @require https://update.greatest.deepsurf.us/scripts/2104/5493/YouTube%20-%20Button%20Container%20%28%40require%29.js을(를) 사용하여 포함하는 라이브러리입니다.

작성자
JoeSimmons
버전
1.0.2
생성일
2014-06-04
갱신일
2014-06-04
크기
6.18KB
라이선스
LGPL version 3 or any later version

Syntax: addButtonToContainer( text, func [, ID] );



Arguments:

  • text [string]: The text for the button.
  • func [function]: The function to be called when the button is clicked upon.
  • ID (optional) [string]: The ID to be used for the button element.



Example: addButtonToContainer('A Test Button', function () { alert('Test.'); }, 'test-button');