YouTube - Button Container (@require)

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

As of 04.06.2014. See ბოლო ვერსია.

ეს სკრიპტი არ უნდა იყოს პირდაპირ დაინსტალირებული. ეს ბიბლიოთეკაა, სხვა სკრიპტებისთვის უნდა ჩართეთ მეტა-დირექტივაში // @require https://update.greatest.deepsurf.us/scripts/2104/5493/YouTube%20-%20Button%20Container%20%28%40require%29.js.

ავტორი
JoeSimmons
ვერსია
1.0.2
შექმნილია
04.06.2014
განახლებულია
04.06.2014
Size
6,18 KB
ლიცენზია
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');