Options Link issue

in
Subscribe to Options Link issue 1 post, 1 voice

Dark Prism User
FirefoxWindows

I noticed that at the top where the link "YouTube Auto Buffer Options" is placed, the width of the link's container is 200px, and it drops the link to a new line. I couldn't tell if it was just me (Firefox ver. 3.5.2), so I added a line in the js of my local copy that fixed the issue. See below.

if($("region-and-language-picker-links-wrapper")) {
GM_config.init('YouTube Auto Buffer Options', {
autoBuffer : {label:'Autoplay off & Autobuffer on?', type:'checkbox', default:true},
autoHD : {label:'Auto HD on?', type:'checkbox', default:true},
hideAds : {label:'Hide in-video ads?', type:'checkbox', default:true}
}, '#config_header {font-size:16pt !important;} .config_var {margin-left:20% !important;} #header {margin-bottom:30px !important;} .indent40 {margin-left:20% !important;}', {
open : function(){ var frame=GM_config.frame; frame.style.height='50%';frame.style.width='50%'; GM_config.center(); }
});
$("region-and-language-picker-links-wrapper").style.width = "300px";
$("region-and-language-picker-links-wrapper").appendChild(create('span', {className:'util-item',kids:new Array(
create('a', {href:'javascript:void(0);',className:'hLink',textContent:'YouTube Auto Buffer Options',onclick:GM_config.open})
)}));
}

The line I added appears just above placing the link.

This may not be relevant, but in case it was, I wanted to contribute.

Cross
Presentational HTML allowed.
Use <code> for inline code and <pre> for code blocks. Use &lt; and &gt; for literal < and >.
We help break paragraphs and link your links.
or cancel