Keresés

Részletes keresés

Nem vagyok robot Creative Commons License 2021.10.07 0 0 55

.

Régi fórumos nicknév Creative Commons License 2020.06.10 0 0 53

locsemege Creative Commons License 2010.12.04 0 0 52
Teszt.
locsemege Creative Commons License 2010.11.27 0 0 51
locsemege Creative Commons License 2010.11.27 0 0 50
// ==UserScript==
// @name           Index szinezes
// @namespace      my
// @include        http://forum.index.hu/Article/showArticle*
// ==/UserScript==

 
var ezvagyoken = "e_laca";
var ezazenszinem = "#CCFFFF";
var ezavalaszolokszine = "#CCFF99";


var tables = document.getElementsByTagName("table");

for (var i = 0 ; i < tables.length; i++)
{
  var table = tables;

  if (table.getAttribute("class") != "art")
    continue;

  var userName = undefined;
  var bodyDiv = undefined;

  var rows = table.getElementsByTagName("tr");
  for (var k = 0; k < rows.length; k++)
  {
    var row = rowsk;

    if (row.getAttribute("class") == "art_h")
    {
    var fields = row.getElementsByTagName("td");

    for (var j = 0; j < fields.length; j++)
    {
      var field = fieldsj;

      if (field.getAttribute("class") && field.getAttribute("class") == "art_h_l")
        userName = field.getElementsByTagName("strong")0.innerHTML;
    }
    }
    else if (row.getAttribute("class") == "art_b")
    {
      bodyDiv = row.getElementsByTagName("td")0;
      if (userName == ezvagyoken)
    bodyDiv.bgColor = ezazenszinem;
    }
    else if (row.getAttribute("class") == "art_f")
    {
      var links = row.getElementsByTagName("a");
      if (links.length > 0)
      {
    var prevuser = links0.innerHTML.replace(/(.*) \(.*/,"$1");
    if (prevuser == ezvagyoken)
      bodyDiv.bgColor = ezavalaszolokszine;      
      }
    }
  }

}
locsemege Creative Commons License 2010.11.26 0 0 49
// ==UserScript==
// @name           Index szinezes
// @namespace      my
// @include        http://forum.index.hu/Article/showArticle*
// ==/UserScript==

 
var ezvagyoken = "e_laca";
var ezazenszinem = "#CCFFFF";
var ezavalaszolokszine = "#CCFF99";


var tables = document.getElementsByTagName("table");

for (var i = 0 ; i < tables.length; i++)
{
  var table = tables;

  if (table.getAttribute("class") != "art")
    continue;

  var userName = undefined;
  var bodyDiv = undefined;

  var rows = table.getElementsByTagName("tr");
  for (var k = 0; k < rows.length; k++)
  {
    var row = rowsk;

    if (row.getAttribute("class") == "art_h")
    {
    var fields = row.getElementsByTagName("td");

    for (var j = 0; j < fields.length; j++)
    {
      var field = fieldsj;

      if (field.getAttribute("class") && field.getAttribute("class") == "art_h_l")
        userName = field.getElementsByTagName("strong")0.innerHTML;
    }
    }
    else if (row.getAttribute("class") == "art_b")
    {
      bodyDiv = row.getElementsByTagName("td")0;
      if (userName == ezvagyoken)
    bodyDiv.bgColor = ezazenszinem;
    }
    else if (row.getAttribute("class") == "art_f")
    {
      var links = row.getElementsByTagName("a");
      if (links.length > 0)
      {
    var prevuser = links0.innerHTML.replace(/(.*) \(.*/,"$1");
    if (prevuser == ezvagyoken)
      bodyDiv.bgColor = ezavalaszolokszine;      
      }
    }
  }

}
locsemege Creative Commons License 2010.11.26 0 0 48

// ==UserScript==
// @name           Index szinezes
// @namespace      my
// @include        http://forum.index.hu/Article/showArticle*
// ==/UserScript==

 
var ezvagyoken = "e_laca";
var ezazenszinem = "#CCFFFF";
var ezavalaszolokszine = "#CCFF99";


var tables = document.getElementsByTagName("table");

for (var i = 0 ; i < tables.length; i++)
{
  var table = tables;

  if (table.getAttribute("class") != "art")
    continue;

  var userName = undefined;
  var bodyDiv = undefined;

  var rows = table.getElementsByTagName("tr");
  for (var k = 0; k < rows.length; k++)
  {
    var row = rowsk;

    if (row.getAttribute("class") == "art_h")
    {
    var fields = row.getElementsByTagName("td");

    for (var j = 0; j < fields.length; j++)
    {
      var field = fieldsj;

      if (field.getAttribute("class") && field.getAttribute("class") == "art_h_l")
        userName = field.getElementsByTagName("strong")0.innerHTML;
    }
    }
    else if (row.getAttribute("class") == "art_b")
    {
      bodyDiv = row.getElementsByTagName("td")0;
      if (userName == ezvagyoken)
    bodyDiv.bgColor = ezazenszinem;
    }
    else if (row.getAttribute("class") == "art_f")
    {
      var links = row.getElementsByTagName("a");
      if (links.length > 0)
      {
    var prevuser = links0.innerHTML.replace(/(.*) (.*/,"$1");
    if (prevuser == ezvagyoken)
      bodyDiv.bgColor = ezavalaszolokszine;      
      }
    }
  }

}
locsemege Creative Commons License 2010.11.26 0 0 47
code=javascript
// ==UserScript==
// @name           Index szinezes
// @namespace      my
// @include        http://forum.index.hu/Article/showArticle*
// ==/UserScript==

 
var ezvagyoken = "e_laca";
var ezazenszinem = "#CCFFFF";
var ezavalaszolokszine = "#CCFF99";


var tables = document.getElementsByTagName("table");

for (var i = 0 ; i < tables.length; i++)
{
  var table = tables;

  if (table.getAttribute("class") != "art")
    continue;

  var userName = undefined;
  var bodyDiv = undefined;

  var rows = table.getElementsByTagName("tr");
  for (var k = 0; k < rows.length; k++)
  {
    var row = rowsk;

    if (row.getAttribute("class") == "art_h")
    {
    var fields = row.getElementsByTagName("td");

    for (var j = 0; j < fields.length; j++)
    {
      var field = fieldsj;

      if (field.getAttribute("class") && field.getAttribute("class") == "art_h_l")
        userName = field.getElementsByTagName("strong")0.innerHTML;
    }
    }
    else if (row.getAttribute("class") == "art_b")
    {
      bodyDiv = row.getElementsByTagName("td")0;
      if (userName == ezvagyoken)
    bodyDiv.bgColor = ezazenszinem;
    }
    else if (row.getAttribute("class") == "art_f")
    {
      var links = row.getElementsByTagName("a");
      if (links.length > 0)
      {
    var prevuser = links0.innerHTML.replace(/(.*) \(.*/,"$1");
    if (prevuser == ezvagyoken)
      bodyDiv.bgColor = ezavalaszolokszine;      
      }
    }
  }

}
locsemege Creative Commons License 2010.11.25 0 0 46
Ez sima szöveg. Bold, italic, underlined, striked, subscript, superscript.

Ez code szöveg, amelyben az UBB literáliskén kellene megjelenjen. [b]Bold[/b], [i]italic[/i], [u]underlined[/u], [s]striked[/s], [sub] subscript[/sub], [sup]superscript[/sup].

Nem létező tag: *ubbvalami[/ubb]*

Hiba: rosszul átfedő tag[/b]-ek.

Beágyazott italiccode      [/i], innen nem code.

Üres: [].

Star: [*] csillag.

*
 *
  *
   *
    *
*
 *
  *
   *
    *


Csak befejező [/s] tag.

  • első
  • második
  • ordered list
    1. valami
    2. bármi
    3. akármi
  • ez itt a harmadik


  1. alpha
  2. beta vagy mi
  3. gamma


Fedora

Nagy szöveg

Csak elkezdődő tag.
locsemege Creative Commons License 2010.11.22 0 0 45
Öröklődik-e a szín, döltség, vastagság a code-ra?

Vajon aláhúzza a code-ot is?
locsemege Creative Commons License 2010.11.22 0 0 44
nem lesz jó
locsemege Creative Commons License 2010.11.22 0 0 43
  1. alma
locsemege Creative Commons License 2010.11.22 0 0 42
Ez sima szöveg. Bold, italic, underlined, striked, subscript, superscript.

Ez code szöveg, amelyben az UBB literáliskén kellene megjelenjen. [b]Bold[/b], [i]italic[/i], [u]underlined[/u], [s]striked[/s], [sub] subscript[/sub], [sup]superscript[/sup].

Nem létező tag: *ubbvalami[/ubb]*

Hiba: rosszul átfedő tag[/b]-ek.

Beágyazott italiccode      [/i], innen nem code.

Üres: [].

Star: [*] csillag.

*
 *
  *
   *
    *
*
 *
  *
   *
    *


Csak befejező [/s] tag.

  • első
  • második
  • ordered list
    1. valami
    2. bármi
    3. akármi
  • ez itt a harmadik


  • alpha
  • beta vagy mi
  • gamma


  • Fedora

    Nagy szöveg

    Csak elkezdődő tag.
    locsemege Creative Commons License 2010.11.21 0 0 41
    Műxik, ami jó.
    locsemege Creative Commons License 2010.11.17 0 0 40

    Ez sima szöveg. Bold, italic, underlined, striked, subscript, superscript.

    Ez code szöveg, amelyben az UBB literáliskén kellene megjelenjen. [b]Bold[/b], [i]italic[/i], [u]underlined[/u], [s]striked[/s], [sub] subscript[/sub], [sup]superscript[/sup].

    Nem létező tag: *ubbvalami[/ubb]*

    Hiba: rosszul átfedő tag[/b]-ek.

    italiccodeinnen hiba.[/i]

    Csak befejező [/s] tag.

    • első
    • második
    • ordered list
      1. valami
      2. bármi
      3. akármi
    • ez itt a harmadik


  • alpha
  • beta vagy mi
  • gamma


  • Megjavult a link: Fedora

    Nagy szöveg

    Csak elkezdődő tag.

    locsemege Creative Commons License 2010.11.17 0 0 39

    Ez sima szöveg. Bold, italic, underlined, striked, subscript, superscript.

    Ez code szöveg, amelyben az UBB literáliskén kellene megjelenjen. [b]Bold[/b], [i]italic[/i], [u]underlined[/u], [s]striked[/s], [sub] subscript[/sub], [sup]superscript[/sup].

    Nem létező tag: *ubbvalami[/ubb]*

    Hiba: rosszul átfedő tag[/b]-ek.

    italiccodeinnen hiba.[/i]

    Csak befejező [/s] tag.

    • első
    • második
    • ordered list
      1. valami
      2. bármi
      3. akármi
    • ez itt a harmadik


  • alpha
  • beta vagy mi
  • gamma


  • url=http://fedoraproject.org/Fedora[/url]

    Nagy szöveg

    Fedora

    Csak elkezdődő tag.

    locsemege Creative Commons License 2010.11.17 0 0 38

    1. ananász
    2. Anna-nász
    3. dehogy link

    locsemege Creative Commons License 2010.11.17 0 0 37

  • ananász
  • Anna-nász
  • dehogy link

  • locsemege Creative Commons License 2010.11.17 0 0 36
    [list=1] [*]ananász [*]Anna-nász [*]dehogy link [/list]
    locsemege Creative Commons License 2010.11.17 0 0 35
    [list=1] [*]ananász [*]Anna-nász [*]link [/list]
    locsemege Creative Commons License 2010.11.17 0 0 34

    Most jobbnak kell lennie.

  • kutya
  • tehén
  • légy
  • [/list]

    locsemege Creative Commons License 2010.11.17 0 0 33

    Debug színezés.

    locsemege Creative Commons License 2010.11.17 0 0 32

    Jaj, a színezést is elszúrtam?

    locsemege Creative Commons License 2010.11.17 0 0 31

    Érdekes ez.

    locsemege Creative Commons License 2010.11.17 0 0 30

  • aaa
  • bbb
  • ccc
  • [/list]

    locsemege Creative Commons License 2010.11.17 0 0 29

    Ez sima szöveg. Bold, italic, underlined, striked, subscript, superscript.

    Ez code szöveg, amelyben az UBB literáliskén kellene megjelenjen. [b]Bold[/b], [i]italic[/i], [u]underlined[/u], [s]striked[/s], [sub]
    subscript[/sub], [sup]superscript[/sup].


    Nem létező tag: *ubbvalami[/ubb]*

    Hiba: rosszul átfedő tag[/b]-ek.

    italiccodeinnen hiba.[/i]

    Csak befejező [/s] tag.

    • első
    • második
    • ez itt a harmadik


    url=http://fedoraproject.org/Fedora[/url]

    Nagy szöveg

    Csak elkezdődő tag.

    locsemege Creative Commons License 2010.11.17 0 0 28

    első
    [*]második
    [*]ez itt a [i]harmadik[/i]
    [/list]

    [url=http://fedoraproject.org/]Fedora[/url]

    [size=24]Nagy szöveg[/size]

    locsemege Creative Commons License 2010.11.17 0 0 27

    Az Index editora: 24 stb.

     

    • p1
    • p2
    • p3

     

    1. n1
    2. n2
    3. n3

     

    locsemege Creative Commons License 2010.11.17 0 0 26

    *
     *
      *
       *
        *

    *
     *
      *
       *
        *

    locsemege Creative Commons License 2010.11.17 0 0 25

    Ez sima szöveg. Bold, italic, underlined, striked, subscript, superscript.

    Ez code szöveg, amelyben az UBB literáliskén kellene megjelenjen. [b]Bold[/b], [i]italic[/i], [u]underlined[/u], [s]striked[/s], [sub]subscript[/sub], [sup]superscript[/sup].

    Nem létező tag: *ubbvalami[/ubb]*

    Hiba: rosszul átfedő tag[/b]-ek.

    italiccodeinnen hiba.[/i]

    Csak befejező [/s] tag.

    Ha nem hagytam volna ki egy helyen a "break"-et, működött volna. :)

    Piros, zöld, kék. Ha nem is teljesen.

    Csak elkezdődő tag.

    Ha kedveled azért, ha nem azért nyomj egy lájkot a Fórumért!