Script updated (02/02/2012)
![]() ![]() |
- Possible fix for the autoplay/autobuffer problem in some videos
|
![]() ![]() |
thank you for update. Autobuffering works fine for me now (opera) |
![]() ![]() |
Hi Mindeye!
|
![]() ![]() |
@Dave: I have no idea. Delete your local storage settings for YouTube and try configuring the script again, that may fix the problem. |
![]() ![]() |
Thanks Mindeye!
|
![]() ![]() |
Script works faster without GM compatibility layer under Opera (if script named not script.user.js but just script.js) and it seems buttons changed style a bit:
--- "a/36453.user.js"
+++ "b/36453fix.js"
@@ -60,7 +60,7 @@ var YT_MENU_CLASS = "yt-uix-button-menu";
var YT_MENU_ITEM_CLASS = "yt-uix-button-menu-item";
// Class names (and a source URL) of YouTube watch pages buttons, button contents and button arrows
-var YT_BUTTON_CLASS = "yt-uix-button";
+var YT_BUTTON_CLASS = "yt-uix-button yt-uix-button-default";
var YT_BUTTON_CONTENT_CLASS = "yt-uix-button-content";
var YT_BUTTON_ARROW_CLASS = "yt-uix-button-arrow";
var YT_BUTTON_ARROW_SRC = "//s.ytimg.com/yt/img/pixel-vfl3z5WfW.gif"; // Scheme relative URL
@@ -1815,6 +1815,7 @@ else {
///////////////////////////// START OF MAIN SCRIPT ////////////////////////////
+document.addEventListener('DOMContentLoaded', function(){
// Prevents the script from running in a frame/iframe
if (window.self !== window.top) return;
@@ -2312,7 +2313,8 @@ function scriptSearchMain() {
}
}
+}, false);
////////////////////////////// END OF MAIN SCRIPT /////////////////////////////
|
![]() ![]() |
"Configure YousableTubeFix" button being created incorrectly as |
![]() ![]() |
I will continue to use the GM compatibility layer because it's easier to the users (the script doesn't have to be renamed after downloading it). The buttons style and configure button structure will be fixed in next version, thanks. |


