![]() |
Hello, as on my other post here http://userscripts.org/topics/85879
(see yourself Here) the code on this button is:
Can someone just shortly tell me what i have to put in my new userscript
Thank you |
![]() |
Hello,
for (i=0;i < document.getElementsByClassName('ddl-mirror-table').length;i++)
The general Code of the for-Block is working,
But for the classes to hide the div with the "Alle Mirrors anzeigen" Button (class show-me-all-links)
___________________________
// ==UserScript==
// @name iload.to "Alle Mirrors anzeigen"
// @namespace iload.to
// @description iload.to "Alle Mirrors anzeigen"
// @include http://*iload.to*
// @require http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.js
// ==/UserScript==
for (i=0;i < document.getElementsByClassName('ddl-mirror-table').length;i++)
{
document.getElementsByClassName('ddl-mirror-table')[i].style.display='table';
document.getElementsByClassName('ddl-mirror-table')[i].show();
};
ddl-mirror-table.show();
$('.ddl-mirror-table').show();
for (i=0;i < document.getElementsByClassName('show-me-all-links').length;i++)
{
document.getElementsByClassName('show-me-all-links')[i].style.display='none';
document.getElementsByClassName('show-me-all-links')[i].hide();
};
show-me-all-links.hide();
$('.show-me-all-links').hide();
// Alle Uploads auf einmal anzeigen
//for (i=0;i < document.getElementsByClassName('ddl-reupload-box').length;i++)
//{
//document.getElementsByClassName('ddl-reupload-box')[i].style.display='block';
//};
//Test
//document.getElementById('ttContent').style.display = 'none';
|
![]() |
You can do this only with some lines of pure jQuery :D Code wrote only for you by 'TeamVipers'.
$(document).ready(function(){
$('.ddl-mirror-table').show();
$('.show-me-all-links').hide();
});
|
![]() |
Working perfect, thanks a lot... I knew from start my main problem is my "language problems"
|
