Brought to you by Headoff Xen

Здравейте ( Вход | Регистрация )


Collapse

> subs.sab.bz - Информация

Сериал/Прогрес Daredevil: Born Again - 02x07 от The_Assassin new7.gif
Dark Winds (2026) - 04x08 от The_Assassin new7.gif
The Night Agent (2026) - Сезон 3 от mia_one new7.gif
Shef (2025) - Сезон 7 от Василиса
Spartacus: House of Ashur - 01x08 от Koen
Robin Hood - Сезон 1 от The_Assassin
Power Book II: Ghost - 03x01 от motleycrue
Man vs Baby - 01x04 от С.Славов
Outlander (2024) - Сезон 7 от Horatio
Maigret (2025) - Сезон 1 от С.Славов
УебРип субтитри Highest 2 Lowest (2025) - Субтитри от С. Славов new7.gif
Man on Fire (2026) - Сезон 1 от С. Славов new7.gif
Apex (2026) - Субтитри от С. Славов new7.gif
GOAT (2026) - Субтитри от С. Славов
From (2026) - 04x01 от JoroNikolov
Send Help (2026) - Субтитри от dimi123
Wuthering Heights (2026) - Субтитри от dimi123
The Bride! (2026) - Субтитри от dimi123
Crime 101 (2026) - Субтитри от dimi123
Avatar: Fire and Ash (2026) - Субтитри от dimi123
Филм/Прогрес They Will Kill You (2026) - Субтитри от С.Славов new7.gif
Undertone (2025) - Субтитри от С.Славов new7.gif
Golden Kamuy - Субтитри от С.Славов
Dolly (2025) - Субтитри от С.Славов
Hellfire (2026) - Субтитри от mia_one
Borderline (2025) - Субтитри от KikoDraka
Little Amelie (2025) - Субтитри от Gloripeace
War Machine (2026) - Субтитри от mia_one
Cold Storage (2026) - Субтитри от Слав Славов
Ballerina (2025) - Субтитри от Tigermaster
 Forum Rules ПРАВИЛА НА РАЗДЕЛА!
> Client-Side Javascripts and CSS
Оценка 5 V
freakazoid
коментар Dec 22 2011, 07:07 PM
Коментар #1




.: Outcast :.
***
Качени субтитри

Група: БАРД_
Коментари: 835
Регистриран: 30-January 07
Град: Upload Form / English Section
Потребител No.: 4 456
Статус: Офлайн



Викам да споделя някой друг скрипт, може да са полезни и на други освен на мен smiley.gif
  • IMDB Top 250 - добавя бг флагчета срещу всеки филм от топ 250 на страницата на IMDB. При кликване на флагчето, ще ви се отвори страница с резултатите от търсенето на субтитри на сайтот за съответния филм.
    CodeОтвори!

    Код
    // ==UserScript==
    // @name           searcher
    // @namespace      dsf
    // @include        http://www.imdb.com/chart/top
    // @include            http://www.imdb.com/chart/bottom
    // @include            http://www.imdb.com/chart/1910s
    // @include            http://www.imdb.com/chart/1920s
    // @include            http://www.imdb.com/chart/1930s
    // @include            http://www.imdb.com/chart/1940s
    // @include            http://www.imdb.com/chart/1950s
    // @include            http://www.imdb.com/chart/1960s
    // @include            http://www.imdb.com/chart/1970s
    // @include            http://www.imdb.com/chart/1980s
    // @include            http://www.imdb.com/chart/1990s
    // @include            http://www.imdb.com/chart/2000s
    // @include            http://www.imdb.com/chart/2010s
    // @include            http://www.imdb.com/chart/action
    // @include            http://www.imdb.com/chart/adventure
    // @include            http://www.imdb.com/chart/animation
    // @include            http://www.imdb.com/chart/biography
    // @include            http://www.imdb.com/chart/comedy
    // @include            http://www.imdb.com/chart/crime
    // @include            http://www.imdb.com/chart/documentary
    // @include            http://www.imdb.com/chart/drama
    // @include            http://www.imdb.com/chart/family
    // @include            http://www.imdb.com/chart/fantasy
    // @include            http://www.imdb.com/chart/filmnoir
    // @include            http://www.imdb.com/chart/history
    // @include            http://www.imdb.com/chart/horror
    // @include            http://www.imdb.com/chart/independent
    // @include            http://www.imdb.com/chart/music
    // @include            http://www.imdb.com/chart/musical
    // @include            http://www.imdb.com/chart/mystery
    // @include            http://www.imdb.com/chart/romance
    // @include            http://www.imdb.com/chart/scifi
    // @include            http://www.imdb.com/chart/short
    // @include            http://www.imdb.com/chart/sport
    // @include            http://www.imdb.com/chart/thriller
    // @include            http://www.imdb.com/chart/tvminiseries
    // @include            http://www.imdb.com/chart/war
    // @include            http://www.imdb.com/chart/western
    // @include            http://www.imdb.com/chart/male
    // @include            http://www.imdb.com/chart/female
    // by freakazoid@subs.sab.bz
    // ==/UserScript==

    var tableti = document.getElementsByTagName ("a");
    for(var shmek=0; shmek<tableti.length; shmek++)
    {
    if(tableti[shmek].href.match(/title\/tt/i))
    {
    var b=document.createElement('a');
    b.href="http://subs.sab.bz/index.php?act=search&movie="+tableti[shmek].innerHTML;
    b.target="_blank";
    b.innerHTML="<img src='http://subs.sab.bz/forum/style_emoticons/default/bg.gif' />";
    tableti[shmek].parentNode.appendChild(b);
    }
    }


  • Смяна на аватар във форума/Оразмеряване
    CodeОтвори!

    Код
    // ==UserScript==
    // @name           ChangeAvatar
    // @namespace      sab
    // @include        http://subs.sab.bz/forum/index.php?showtopic=*
    // by freakazoid@subs.sab.bz
    // ==/UserScript==

    var images = document.getElementsByTagName ("img");
    var x=0;
    while(x<images.length)
    {
    if(images[x].src.match('http://subs.sab.bz/forum/uploads/av-4456.jpg') != null)
    {
    images[x].src="/*или линк към аватара, или еквивалента му в Base64*/";
    images[x].height = "";/*по ваше усмотрение*/
    images[x].width = "150";/*тук също, 150 за мен е идеална стойност*/
    images[x].style.border = "2px solid #000000";//не е задължително
    }
    x=x+1;
    }


  • Оцветяване на ъплоудерите на сайта
    CodeОтвори!

    Код
    // ==UserScript==
    // @name           nick_coloring
    // @namespace      dsf
    // @include        http://subs.sab.bz/index.php?*
    // @include        http://subs.sab.bz/
    // by freakazoid@subs.sab.bz
    // ==/UserScript==

    var mihes=document.getElementsByTagName("img");
    for(var i=0; i<mihes.length; i++)
    {
      if(mihes[i].src=="http://st.subs.sab.bz/images/groups/group_vip.png")
      {
        var username=mihes[i].previousSibling.innerHTML;
        mihes[i].previousSibling.innerHTML="<span style='font-weight:bold; color: #990000;'>"+username+"</span>";
        mihes[i].parentNode.removeChild(mihes[i]);
      }
      
      else if(mihes[i].src=="http://st.subs.sab.bz/images/groups/group_gmoderators.png")
      {
        var username=mihes[i].previousSibling.innerHTML;
        mihes[i].previousSibling.innerHTML="<span style='font-weight:bold; color: orange;'>"+username+"</span>";
        mihes[i].parentNode.removeChild(mihes[i]);
      }
      
      else if(mihes[i].src=="http://st.subs.sab.bz/images/groups/group_maistori.png")
      {
        var username=mihes[i].previousSibling.innerHTML;
        mihes[i].previousSibling.innerHTML="<span style='font-weight:bold; color: #006400;'>"+username+"</span>";
        mihes[i].parentNode.removeChild(mihes[i]);
      }
      
      else if(mihes[i].src=="http://st.subs.sab.bz/images/groups/group_napredvashti.png")
      {
        var username=mihes[i].previousSibling.innerHTML;
        mihes[i].previousSibling.innerHTML="<span style='color: #006400;'>"+username+"</span>";
        mihes[i].parentNode.removeChild(mihes[i]);
      }
      
      else if(mihes[i].src=="http://st.subs.sab.bz/images/groups/group_nachinaeshti.png")
      {
        var username=mihes[i].previousSibling.innerHTML;
        mihes[i].previousSibling.innerHTML="<span style='color: #2e8b57;'>"+username+"</span>";
        mihes[i].parentNode.removeChild(mihes[i]);
      }
      
      else if(mihes[i].src=="http://st.subs.sab.bz/images/groups/group_editors.png")
      {
        var username=mihes[i].previousSibling.innerHTML;
        mihes[i].previousSibling.innerHTML="<span style='font-weight:bold; color: red;'>"+username+"</span>";
        mihes[i].parentNode.removeChild(mihes[i]);
      }
      
      else if(mihes[i].src=="http://st.subs.sab.bz/images/groups/group_bard.png")
      {
        var username=mihes[i].previousSibling.innerHTML;
        mihes[i].previousSibling.innerHTML="<span style='font-weight:bold; color: purple;'>"+username+"</span>";
        mihes[i].parentNode.removeChild(mihes[i]);
      }
      
      else if(mihes[i].src=="http://st.subs.sab.bz/images/groups/group_stelth.png")
      {
        var username=mihes[i].previousSibling.innerHTML;
        mihes[i].previousSibling.innerHTML="<span style='font-weight:bold; color: #00bfff;'>"+username+"</span>";
        mihes[i].parentNode.removeChild(mihes[i]);
      }
      
      else if(mihes[i].src=="http://st.subs.sab.bz/images/groups/group_admins.png")
      {
        var username=mihes[i].previousSibling.innerHTML;
        mihes[i].previousSibling.innerHTML="<span style='font-weight:bold; color: blue;'>"+username+"</span>";
        mihes[i].parentNode.removeChild(mihes[i]);
      }
    }


  • Премахване на пост на потребител a.k.a. ignore
    Code за безцветни потребителиОтвори!

    Код
    // ==UserScript==
    // @name           dddddd
    // @namespace      dsf
    // @include        http://subs.sab.bz/forum/index.php?showtopic=*
    // by freakazoid@subs.sab.bz
    // ==/UserScript==

    var b = document.getElementsByTagName("a");

    for(var s=0; s<b.length; s++)
    {
      if(b[s].innerHTML=='ника на потребителя' && b[s].parentNode.nodeName!="DIV")
      {
        b[s].parentNode.parentNode.parentNode.parentNode.parentNode.parentNode.parentNod
    e.removeChild(b[s].parentNode.parentNode.parentNode.parentNode.parentNode.parentNode);
      }
    }



    Code за цветни потребителиОтвори!

    Код
    // ==UserScript==
    // @name           dddddd
    // @namespace      dsf
    // @include        http://subs.sab.bz/forum/index.php?showtopic=*
    // by freakazoid@subs.sab.bz
    // ==/UserScript==

    var c = document.getElementsByTagName("span");

    for(var s=0; s<c.length; s++)
    {
      if(c[s].innerHTML=='ника на потребителя' && c[s].parentNode.parentNode.nodeName!="DIV")
      {
        c[s].parentNode.parentNode.parentNode.parentNode.parentNode.parentNode.parentNod
    e.parentNode.removeChild(c[s].parentNode.parentNode.parentNode.parentNode.parentNode.parentNode.parentNod
    e);
      }
    }



    Работят и ако са в един файл.
  • Тъмен вариант на IPB Default Skin-a - не е завършен!
  • Minimal Front Page - гласуванията са малко прецакани за момента
    CodeОтвори!

    Код
    @namespace url(http://www.w3.org/1999/xhtml);

    @-moz-document url-prefix("http://subs.sab.bz/index.php?"),
                   url("http://subs.sab.bz/"),
                   url-prefix("http://subs.sab.bz/?act=") {
    #upload-description {
    width: 381px !important;
    height: 200px !important;
    }
    #upload-name {
    width: 381px !important;
    }
    #upload-topic {
    width: 381px !important;
    }
    #caption, #menu, .tableHeader {
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAYCAIAAAC0rgCNAAAAGXRFWHRTb2Z0d2FyZQBBZ
    G9iZSBJbWFnZVJlYWR5ccllPAAAACVJREFUeNpiMjQ0ZGJgYIDj////gzEyGxn/+/cPqzg2DDQDIMAAvyA2i69qxYwAAAAASUVORK5CYII=) !important;
    height: 24px !important;}
    #header, #footer {
    display: none !important;}
    .c1trailer{
    visibility: collapse !important;}
    .c1field {
    width: 1% !important;}
    tr {
    background-color: #2a2a2a !important;}
    tr, a {color: #d2d2d2 !important;}
    #container {
    padding: 5px 0px 0px 0px !important;
    background-color: #434343 !important;}
    #pages ul li.active a, #pages ul li a:hover {
    background-color: #333333 !important;}
    #pages a span {
    display: none !important;}
    tr:hover {
    background-color: #444 !important;}
    }


  • Добавя ви поленце за търсене по IMDB при сърча. Работи както с пълен линк от IMDB, така и само с ID-то на филма/сериала.
    CodeОтвори!

    Код
    // ==UserScript==
    // @name        test_imdb
    // @namespace   dsf
    // @include     http://subs.sab.bz/index.php?act=search*
    // @include        http://subs.sab.bz/index.php?*
    // @include        http://subs.sab.bz/?act=search
    // @version     1
    // @author        frky@subs.sab.bz
    // ==/UserScript==

    var smyrc=document.querySelector(".wrappersearch-adv");
    var leb=document.createElement("label");
    leb.htmlFor="imdb";
    leb.size="18";
    leb.innerHTML="IMDB";
    smyrc.appendChild(leb);
    var inn=document.createElement("input");
    inn.setAttribute("class", "inputFields");
    inn.setAttribute("name", "imdb");
    inn.setAttribute("type", "text");
    inn.setAttribute("id", "imdb");
    inn.setAttribute("value", "");
    inn.setAttribute("size", "32");
    smyrc.appendChild(inn);


  • Скриване/показване на ПОПУЛЯРНИ СУБТИТРИ ДНЕС/ПОПУЛЯРНИ ТЕМИ В ПРОЦЕС НА ПРЕВОД чрез едно кликане върху хедърчето с надписите. Скриптът "помни" състоянието скрито/показано дори и като затворите таб, рефрешнете или затворите Лисика.
    CodeОтвори!

    Код
    // ==UserScript==
    // @name        teeeeeeeeeeeeeeeeest
    // @namespace   dsf
    // @include     http://subs.sab.bz/index.php?act=idx&lang_id=*
    // @include        http://subs.sab.bz/index.php?lang_id=*
    // @include        http://subs.sab.bz/index.php?act=idx
    // @include        http://subs.sab.bz/
    // @version     1
    // @author        frky@subs.sab.bz
    // ==/UserScript==

    function HideShowMe(){
    var mar = document.querySelector(".wrapper_last_header");
    if(mar.nextElementSibling.style.display!='none')
        {mar.nextElementSibling.style.display='none';
         GM_setValue("mar", "none");}
    else
        {mar.nextElementSibling.style.display='';
         GM_setValue("mar", "");}
    }
    var t=document.querySelector(".wrapper_last_header");
    var s=GM_getValue("mar", "");
    t.nextElementSibling.style.display=s;
    var match = document.querySelector(".wrapper_last");
    match.addEventListener("click", HideShowMe, false)


За джаваскриптовете ще ви трябва Greasemonkey, а за CSS-ите - Stylish.

Този коментар е бил редактиран от freakazoid на Apr 6 2013, 09:20 PM



------------------------------------
The Queue

Цитат(WizardBGR)
Таймингът е от субтитрите на Addic7ed, а те рядко имат проблеми.
Цитат
We don't understand the universe
They're just now starting to think that
Inside every black hole is another universe
Wrap your fucking head around that We have no fucking idea
Go to the top of the page PM
 
+Quote Post
 
Start new topic
Отговори
freakazoid
коментар Apr 6 2013, 11:46 PM
Коментар #2




.: Outcast :.
***
Качени субтитри

Група: БАРД_
Коментари: 835
Регистриран: 30-January 07
Град: Upload Form / English Section
Потребител No.: 4 456
Статус: Офлайн



Има. Аз лично не съм пробвал, понеже не ползвам Хром.
Пробвай това -> http://www.howtogeek.com/howto/24790/begin...-google-chrome/


Ако ми се появи желание, може малко да поекспериментирам и да видя какво е положението тези дни.



------------------------------------
The Queue

Цитат(WizardBGR)
Таймингът е от субтитрите на Addic7ed, а те рядко имат проблеми.
Цитат
We don't understand the universe
They're just now starting to think that
Inside every black hole is another universe
Wrap your fucking head around that We have no fucking idea
Go to the top of the page PM
 
+Quote Post

Пишете в тази тема


Reply to this topicStart new topic Thank You

 



- Олекотена версия Час: 1st May 2026 - 02:44 PM
Special for Translator's Heaven PHPTranslator's Converted By Translator's Heaven ©2006 InvisionCore
    Headoff Xen   Елате в .: BGtop.net :. Топ класацията на българските сайтове и гласувайте за този сайт!!!