elhacker.net cabecera Bienvenido(a), Visitante. Por favor Ingresar o Registrarse
¿Perdiste tu email de activación?.

 

 


Tema destacado: Arreglado, de nuevo, el registro del warzone (wargame) de EHN


  Mostrar Mensajes
Páginas: 1 ... 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 [19] 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 ... 143
181  Programación / Ingeniería Inversa / Re: WinDbg en: 17 Septiembre 2013, 17:22 pm
Echa un vistazo al buscador de Ricardo Narvaja y escribe en él: WinDBG, te saldrán muchas opciones.

http://ricardonarvaja.info/WEB/buscador.php
182  Programación / Ingeniería Inversa / Re: [Aporte]IDA de cabo a rabo por Bigundill@ recopilación en: 12 Septiembre 2013, 21:28 pm
Muchas gracias por la aportación. Yo tampoco los tenía todos...
183  Programación / .NET (C#, VB.NET, ASP) / Re: PictureBox en DatagridView en: 8 Septiembre 2013, 18:18 pm
Normalmente para guardar imágenes en una base de datos lo que se suele hacer es guardar, por ejemplo, el nombre de la imagen. La imagen "real" se guarda en un directorio.

En C# o VB .NET puedes hacer lo mismo: creas un campo tipo <string> con el nombre de la imagen y la imagen la guardas en un directorio (C:\ por ejemplo si estás en local).

Guardar bytes de gráficos directamente en la base de datos, te la hará engordar muchísimo (la bdd ), no tiene sentido.

A la hora de guardar las imágenes te encontrarás con el problema de que no se repita el nombre. Pero para eso puedes utilizar, por ejemplo:

Código
  1. string NuevoNombreArchivo = Guid.NewGuid().ToString("N")
184  Programación / Desarrollo Web / Re: Problema con IE8 en: 3 Septiembre 2013, 22:25 pm
¿No será problema de caché? Bórrala...

Seguramente estés haciendo cambios en la web y uno de los dos no ha eliminado la caché.
185  Programación / Ingeniería Inversa / Re: Ingeniería inversa en aplicaciones de Android I & ll en: 3 Septiembre 2013, 22:09 pm
Gracias por compartir. Muy bueno...
186  Programación / Ingeniería Inversa / Re: Expliquenme bien lo que se hace aqui ! en: 10 Agosto 2013, 10:53 am
Muchas gracias por su respuesta hay alguna herramienta o de que forma puedo hacer divisiones con numeros hexadecimales donde me muestre el resultado y su resto....

Gracias

También podrías preparar un código en ensamblador y lo pegas en OllyDBG
187  Programación / Ingeniería Inversa / Re: Entry point en VB apps en: 10 Agosto 2013, 10:51 am
PUedes analizar también las subrutinas e intentar encontrar dónde se inicializa. Tienes programas como:

http://www.vb-decompiler.org/download.htm
http://www.woodmann.com/collaborative/tools/index.php/P32DASM

que te ayudarán...
¡Suerte! y nos cuentas qué tal te fue...
188  Sistemas Operativos / Windows / Re: Windows no arranca, solo reparación de inicio en: 4 Agosto 2013, 22:31 pm
Suelen ser también problemas de disco duro.
¿Por qué no ejecutas el DVD de Windows y haces un chequeo de disco duro e intentas repararlo (chkdsk /R)?

Después intenta desde el DVD reparar el arranque.

Edito: Me acabo de fijar que es lo que dice el enlace de topomanuel...
189  Foros Generales / Sugerencias y dudas sobre el Foro / Re: rel="nofollow" en firmas y enlaces web en foro.elhacker.net en: 4 Agosto 2013, 22:25 pm
Muchas gracias, yo creo que será beneficioso para todos los que enlazamos nuestros blogs y para el foro.

Sin embargo, yo creo que deberías dejar dofollow los enlaces de contenido, ya que esos enlaces (o la mayoría) sí son referentes al contenido.

Un saludo.
190  Programación / Ingeniería Inversa / Re: Necesito decodificas este JS. sospecho que tiene cod malicioso en: 29 Julio 2013, 20:55 pm
Otro descompresor que me gusta mucho es este:
http://herramientas-online.com/comprimir-descomprimir-javascript.html

Y si pegas el código, te saldrá lo siguiente:
Código
  1. function substr_(str, key) {
  2.    if (str == null) {
  3.        str = '';
  4.        return str
  5.    }
  6.    var index = str.indexOf(key);
  7.    if (index != -1) {
  8.        return str.substring(index + key.length)
  9.    }
  10.    return str
  11. }
  12. function bi_get_first_image(content) {
  13.    src = '';
  14.    key0 = '\u003cimg ';
  15.    key1 = 'src\u003d\"';
  16.    key2 = '\"';
  17.    index0 = content.indexOf(key0);
  18.    if (index0 != -1) {
  19.        index1 = content.indexOf(key1, index0);
  20.        if (index0 != -1) {
  21.            index2 = content.indexOf(key2, index1 + key1.length);
  22.            if (index0 != -1) {
  23.                src = content.substring(index1 + key1.length, index2)
  24.            }
  25.        }
  26.    }
  27.    if (src == '') {
  28.        key0 = 'data-thumbnail-src\u003d\"';
  29.        key1 = '\"';
  30.        index0 = content.indexOf(key0);
  31.        if (index0 != -1) {
  32.            index1 = content.indexOf(key1, index0 + key0.length);
  33.            if (index0 != -1) {
  34.                src = content.substring(index0 + key0.length, index1)
  35.            }
  36.        }
  37.    }
  38.    if (src == '') {
  39.        key0 = '\u003ciframe ';
  40.        key1 = 'src\u003d\"';
  41.        key2 = '\"';
  42.        index0 = content.indexOf(key0);
  43.        if (index0 != -1) {
  44.            index1 = content.indexOf(key1, index0);
  45.            if (index0 != -1) {
  46.                index2 = content.indexOf(key2, index1 + key1.length);
  47.                if (index0 != -1) {
  48.                    src = content.substring(index1 + key1.length, index2);
  49.                    src = src.replace('http://www.youtube.com/watch?v=', '');
  50.                    src = src.replace('http://www.youtube.com/embed/', '');
  51.                    src = src.replace('?rel=0', '');
  52.                    src = 'http://img.youtube.com/vi/' + src + '/mqdefault.jpg'
  53.                }
  54.            }
  55.        }
  56.    }
  57.    return src
  58. }
  59. function bi_date_format(pub_date, format) {
  60.    pub_date = pub_date.split('-');
  61.    date = new Date(pub_date[0], pub_date[1] - 1, pub_date[2].substring(0, 2));
  62.    dd = date.getDate() + 1;
  63.    mm = date.getMonth() + 1;
  64.    yyyy = date.getFullYear();
  65.    format = format.replace('dd', dd);
  66.    format = format.replace('mm', mm);
  67.    format = format.replace('yyyy', yyyy);
  68.    return format
  69. }
  70. function bi_script(url) {
  71.    document.write('<script type="text/javascript" src="' + url + '"><\/script>')
  72. }
  73. function bi_jshort(json) {
  74.    var blog = new Object();
  75.    var re = /<\S[^>]*>/g;
  76.    blog.id = json.feed.id.$t;
  77.    key = 'blog-';
  78.    index = blog.id.indexOf(key);
  79.    blog.id = blog.id.substring(index + key.length);
  80.    blog.id = blog.id.replace('.comments', '');
  81.    blog.cate = new Array();
  82.    if ('category' in json.feed) {
  83.        for (i = 0; i < json.feed.category.length; i++) {
  84.            blog.cate[i] = json.feed.category[i].term
  85.        }
  86.    }
  87.    blog.title = '';
  88.    if ('title' in json.feed) {
  89.        blog.title = json.feed.title.$t
  90.    }
  91.    blog.subtitle = '';
  92.    if ('subtitle' in json.feed) {
  93.        blog.subtitle = json.feed.subtitle.$t
  94.    }
  95.    blog.admin = new Object();
  96.    blog.admin.name = 'Anonymous';
  97.    blog.admin.uri = '';
  98.    blog.admin.avatar = 'http://img1.blogblog.com/img/anon36.png';
  99.    if ('name' in json.feed.author[0]) {
  100.        blog.admin.name = json.feed.author[0].name.$t
  101.    }
  102.    if ('uri' in json.feed.author[0]) {
  103.        blog.admin.uri = json.feed.author[0].uri.$t
  104.    }
  105.    if ('gd$image' in json.feed.author[0]) {
  106.        if (json.feed.author[0].gd$image.src != 'http://img1.blogblog.com/img/blank.gif') {
  107.            blog.admin.avatar = json.feed.author[0].gd$image.src
  108.        }
  109.    }
  110.    blog.total_entry = Number(json.feed.openSearch$totalResults.$t);
  111.    blog.start_index = Number(json.feed.openSearch$startIndex.$t);
  112.    blog.item_per_page = Number(json.feed.openSearch$itemsPerPage.$t);
  113.    blog.entry_number = 0;
  114.    if ('entry' in json.feed) {
  115.        blog.entry_number = json.feed.entry.length
  116.    }
  117.    blog.entry = new Array();
  118.    for (i = 0; i < blog.entry_number; i++) {
  119.        blog.entry[i] = new Object();
  120.        temp = new Object();
  121.        entry = json.feed.entry[i];
  122.        temp.id = entry.id.$t;
  123.        key = 'post-';
  124.        index = temp.id.indexOf(key);
  125.        temp.id = temp.id.substring(index + key.length);
  126.        temp.published = '';
  127.        if ('published' in entry) {
  128.            temp.published = entry.published.$t
  129.        }
  130.        temp.cate = new Array();
  131.        if ('category' in entry) {
  132.            for (j = 0; j < entry.category.length; j++) {
  133.                temp.cate[j] = entry.category[j].term
  134.            }
  135.        }
  136.        temp.title = '';
  137.        if ('title' in entry) {
  138.            temp.title = entry.title.$t
  139.        }
  140.        temp.content = '';
  141.        if ('content' in entry) {
  142.            temp.content = entry.content.$t
  143.        }
  144.        temp.summary = '';
  145.        if ('summary' in entry) {
  146.            temp.summary = entry.summary.$t
  147.        }
  148.        if (temp.summary == '') {
  149.            temp.summary = temp.content.replace(re, '')
  150.        }
  151.        if (temp.content == '') {
  152.            temp.content = temp.summary
  153.        }
  154.        temp.link = '';
  155.        temp.reply_label = 'comments';
  156.        if ('link' in entry) {
  157.            for (j = 0; j < entry.link.length; j++) {
  158.                if (entry.link[j].rel == 'alternate') {
  159.                    temp.link = entry.link[j].href
  160.                }
  161.                if (entry.link[j].rel == 'replies') {
  162.                    temp.reply_label = entry.link[j].title
  163.                }
  164.            }
  165.        }
  166.        temp.author = new Object();
  167.        temp.author.name = 'Anonymous';
  168.        temp.author.uri = '';
  169.        temp.author.avatar = 'http://img1.blogblog.com/img/anon36.png';
  170.        a0 = entry.author[0];
  171.        if ('name' in a0) {
  172.            temp.author.name = a0.name.$t
  173.        }
  174.        if ('uri' in a0) {
  175.            temp.author.uri = a0.uri.$t
  176.        }
  177.        if ('gd$image' in a0) {
  178.            if (a0.gd$image.src != 'http://img1.blogblog.com/img/blank.gif') {
  179.                temp.author.avatar = a0.gd$image.src
  180.            }
  181.        }
  182.        temp.thumbnail = '';
  183.        if ('media$thumbnail' in entry) {
  184.            temp.thumbnail = entry.media$thumbnail.url
  185.        }
  186.        temp.reply_number = 0;
  187.        if ('thr$total' in entry) {
  188.            temp.reply_number = Number(entry.thr$total.$t)
  189.        }
  190.        temp.reply_label = temp.reply_label.replace(temp.reply_number + ' ', '');
  191.        temp.reply_to = '';
  192.        temp.reply_json = '';
  193.        temp.reply_title = '';
  194.        if ('thr$in-reply-to' in entry) {
  195.            temp.reply_to = entry['thr$in-reply-to'].href;
  196.            temp.reply_json = entry['thr$in-reply-to'].source;
  197.            temp.reply_json = temp.reply_json.replace('/default/', '/summary/');
  198.            temp.reply_json = temp.reply_json + '?alt=json-in-script'
  199.        }
  200.        temp.pid = '';
  201.        if ('gd$extendedProperty' in entry) {
  202.            for (j = 0; j < entry.gd$extendedProperty.length; j++) {
  203.                if (entry.gd$extendedProperty[j].name == 'blogger.itemClass') {
  204.                    temp.pid = entry.gd$extendedProperty[j].value
  205.                }
  206.            }
  207.        }
  208.        temp.pid = temp.pid.replace('pid-', '');
  209.        blog.entry[i] = temp
  210.    }
  211.    return blog
  212. }
  213. function bi_jmerge(jshort1, jshort2) {
  214.    for (i = 0; i < jshort2.entry_number; i++) {
  215.        jshort1.entry[i + jshort1.entry_number] = jshort2.entry[i]
  216.    }
  217.    jshort1.entry_number += jshort2.entry_number;
  218.    return jshort1
  219. }
  220. $('#logo-ads .widget.Image:first-child').each(function() {
  221.    image = $(this).find('img').parent('*').html();
  222.    $(this).html('<a href="/">' + image + '</a>')
  223. });
  224. var dd_level = -1;
  225. var dd_html = '';
  226. $('#drop-menu .widget li').each(function() {
  227.    text = $(this).text();
  228.    href = $(this).find('a').attr('href');
  229.    index = 0;
  230.    for (var i = 0; i < text.length; i++) {
  231.        index = text.indexOf('_', index);
  232.        if (index == -1) break;
  233.        index++
  234.    }
  235.    level = i;
  236.    if (level > dd_level) {
  237.        dd_html += '<ul>'
  238.    }
  239.    if (level < dd_level) {
  240.        offset = dd_level - level;
  241.        for (var i = 0; i < offset; i++) {
  242.            dd_html += '</ul></li>'
  243.        }
  244.    }
  245.    text = text.replace(/_/gi, '');
  246.    dd_html += '<li><a href="' + href + '">' + text + '</a>';
  247.    dd_level = level
  248. });
  249. for (var i = 0; i <= dd_level; i++) {
  250.    dd_html += '</ul>';
  251.    if (i != 0) {
  252.        dd_html += '</li>'
  253.    }
  254. }
  255. $('#drop-menu').html(dd_html);
  256. $('#newsletter-follow .widget.LinkList a').each(function() {
  257.    href = $(this).attr('href');
  258.    if (href != null) {
  259.        if (href.indexOf('facebook.com') != -1) {
  260.            $(this).addClass('facebook')
  261.        } else if (href.indexOf('twitter.com') != -1) {
  262.            $(this).addClass('twitter')
  263.        } else if (href.indexOf('plus.google.com') != -1) {
  264.            $(this).addClass('plus')
  265.        } else {
  266.            $(this).addClass('other')
  267.        }
  268.    }
  269. });
  270. var Blog;
  271. var Excluded = '';
  272. var Label_List = [];
  273. var Label_List_Index = 0;
  274. var Home_Index_Html = '';
  275.  
  276. function home_index_optimize_image() {
  277.    var optimized_all = true;
  278.    $('.home-index .thumb img').each(function() {
  279.        src = $(this).attr('src');
  280.        if (src != null) {
  281.            if (src.indexOf('/s72-c/') != -1) {
  282.                src = src.replace('/s72-c/', '/s300-c/');
  283.                $(this).attr('src', src)
  284.            }
  285.        }
  286.        cl = $(this).attr('class');
  287.        var need = false;
  288.        if (cl != null) {
  289.            if (cl.indexOf('optimized') == -1) {
  290.                need = true
  291.            }
  292.        } else {
  293.            need = true
  294.        }
  295.        if (need) {
  296.            h = Number($(this).height());
  297.            w = Number($(this).width());
  298.            if (h == 0 || w == 0) {
  299.                optimized_all = false;
  300.                return
  301.            }
  302.            th = Number($(this).parents('.thumb').height());
  303.            tw = Number($(this).parents('.thumb').width());
  304.            if (h > w) {
  305.                $(this).css('width', tw + 'px');
  306.                h = (h / w) * tw;
  307.                margin_top = (th - h) / 2;
  308.                $(this).css('margin-top', margin_top + 'px')
  309.            } else {
  310.                $(this).css('height', th + 'px');
  311.                w = (w / h) * th;
  312.                margin_left = (tw - w) / 2;
  313.                $(this).css('margin-left', margin_left + 'px')
  314.            }
  315.            $(this).addClass('optimized')
  316.        }
  317.    });
  318.    if (!optimized_all) {
  319.        setTimeout(function() {
  320.            home_index_optimize_image()
  321.        }, 50)
  322.    }
  323. }
  324. function home_index_optimize_layout() {
  325.    $('.home-index .hot .item-0').each(function() {
  326.        $(this).css('height', 'auto')
  327.    });
  328.    $('.home-index .hot .item-0').each(function() {
  329.        height = $(this).parent('.hot').height();
  330.        $(this).css('height', height + 'px')
  331.    });
  332.    $('.home-index .wide .item-0').each(function() {
  333.        $(this).css('height', 'auto')
  334.    });
  335.    $('.home-index .wide .item-0').each(function() {
  336.        ph = Number($(this).parent('.wide').height());
  337.        lh = Number($(this).parent('.wide').find('.label-link').outerHeight());
  338.        padding = $(this).css('padding-top');
  339.        padding = padding.replace('px', '');
  340.        padding = Number(padding);
  341.        $(this).css('height', (ph - padding * 2 - lh) + 'px')
  342.    })
  343. }
  344. function home_index_show(json) {
  345.    Blog = bi_jshort(json);
  346.    for (var i = 0; i < Label_List_Index; i++) {
  347.        var total_add = 0;
  348.        var html_add = '';
  349.        for (var j = 0; j < Blog.entry_number; j++) {
  350.            entry = Blog.entry[j];
  351.            if (Excluded.indexOf(entry.id) != -1) continue;
  352.            for (var k = 0; k < entry.cate.length; k++) {
  353.                if (entry.cate[k] == Label_List[i].text) {
  354.                    Excluded += entry.id + ',';
  355.                    var image = bi_get_first_image(entry.content);
  356.                    if (image == '') image = entry.thumbnail;
  357.                    if (image == '') {
  358.                        image = no_thumb
  359.                    }
  360.                    html_add += '<div class="item item-' + total_add + '">';
  361.                    if (image != '') {
  362.                        image = '<img src="' + image + '"/>';
  363.                        html_add += '<div class="thumb"><a href="' + entry.link + '">' + image + '</a></div>'
  364.                    }
  365.                    html_add += '<h2 class="title"><a href="' + entry.link + '">' + entry.title + '</a></h2>';
  366.                    html_add += '<div class="meta">';
  367.                    html_add += entry.author.name + ', ' + bi_date_format(entry.published, date_format);
  368.                    if (entry.reply_number > 0) {
  369.                        html_add += ', ' + entry.reply_number + ' ' + entry.reply_label
  370.                    }
  371.                    html_add += '</div>';
  372.                    if (i == 0 && total_add == 0) {
  373.                        var snip = entry.summary;
  374.                        if (snip.length > snip_length) {
  375.                            snip = snip.substring(0, snip_length)
  376.                        }
  377.                        snip += '...';
  378.                        html_add += '<p class="snip">' + snip + '</p>'
  379.                    }
  380.                    html_add += '<div class="clear"></div></div>';
  381.                    total_add++;
  382.                    break
  383.                }
  384.            }
  385.            if (total_add == 6 || (i != 0 && total_add == 5)) {
  386.                break
  387.            }
  388.        }
  389.        if (i != 0) {
  390.            html_add = '<div class="label-link"><a href="' + Label_List[i].href + '">' + Label_List[i].text + '</a></div>' + html_add
  391.        }
  392.        html_add += '<div class="clear"></div>';
  393.        if (i == 0) {
  394.            html_add = '<div class="hot">' + html_add + '</div>'
  395.        } else {
  396.            var index = i - 1;
  397.            if (index % 3 == 0) {
  398.                html_add = '<div class="wide">' + html_add + '</div>'
  399.            } else if (index % 3 == 1) {
  400.                if (index + 2 == Label_List_Index) {
  401.                    html_add = '<div class="wide">' + html_add + '</div>'
  402.                } else {
  403.                    html_add = '<div class="small small-first">' + html_add + '</div>'
  404.                }
  405.            } else if (index % 3 == 2) {
  406.                html_add = '<div class="small small-last">' + html_add + '</div>'
  407.            }
  408.        }
  409.        Home_Index_Html += html_add
  410.    }
  411.    $('.home-index').html(Home_Index_Html);
  412.    home_index_optimize_image();
  413.    home_index_optimize_layout()
  414. }
  415. $('.home-index').each(function() {
  416.    Label_List[Label_List_Index] = new Object();
  417.    Label_List[Label_List_Index].href = '/search/label/Hot';
  418.    Label_List[Label_List_Index].text = 'Hot';
  419.    Label_List_Index++;
  420.    $('#main .widget.Label ul li a').each(function() {
  421.        href = $(this).attr('href');
  422.        text = $(this).text();
  423.        for (var i = 0; i < Label_List_Index; i++) {
  424.            if (Label_List[i].text == text) break
  425.        }
  426.        if (i >= Label_List_Index) {
  427.            Label_List[Label_List_Index] = new Object();
  428.            Label_List[Label_List_Index].href = href;
  429.            Label_List[Label_List_Index].text = text;
  430.            Label_List_Index++
  431.        }
  432.    });
  433.    bi_script('/feeds/posts/default?alt=json-in-script&max-results=500&callback=home_index_show')
  434. });
  435.  
  436. function post_index_optimize_image() {
  437.    var optimized_all = true;
  438.    $('.post-index .index-thumbnail img').each(function() {
  439.        src = $(this).attr('src');
  440.        if (src != null) {
  441.            if (src.indexOf('/s72-c/') != -1) {
  442.                src = src.replace('/s72-c/', '/s300-c/');
  443.                $(this).attr('src', src)
  444.            }
  445.        }
  446.        var cl = $(this).attr('class');
  447.        var src = $(this).attr('src');
  448.        if (src != null && src.indexOf('youtube.com') != -1) {
  449.            src = src.replace('/default.', '/mqdefault.');
  450.            $(this).attr('src', src)
  451.        }
  452.        var need = false;
  453.        if (cl != null) {
  454.            if (cl.indexOf('optimized') == -1) {
  455.                need = true
  456.            }
  457.        } else {
  458.            need = true
  459.        }
  460.        if (need) {
  461.            h = Number($(this).height());
  462.            w = Number($(this).width());
  463.            if (h == 0 || w == 0) {
  464.                optimized_all = false;
  465.                return
  466.            }
  467.            th = Number($(this).parents('.index-thumbnail').height());
  468.            tw = Number($(this).parents('.index-thumbnail').width());
  469.            if (h > w) {
  470.                $(this).css('width', tw + 'px');
  471.                h = (h / w) * tw;
  472.                margin_top = (th - h) / 2;
  473.                $(this).css('margin-top', margin_top + 'px')
  474.            } else {
  475.                $(this).css('height', th + 'px');
  476.                w = (w / h) * th;
  477.                margin_left = (tw - w) / 2;
  478.                $(this).css('margin-left', margin_left + 'px')
  479.            }
  480.            $(this).addClass('optimized')
  481.        }
  482.    });
  483.    if (!optimized_all) {
  484.        setTimeout(function() {
  485.            post_index_optimize_image()
  486.        }, 50)
  487.    }
  488. }
  489. post_index_optimize_image();
  490. var search_html = '<form method="get" id="search-form" action="' + search_engine + '" target="_blank" class="gsc-search-box" accept-charset="utf-8" ><table cellspacing="0" cellpadding="0" class="gsc-search-box"><tbody><tr><td class="gsc-input"><input id="search-query" placeholder="Type keywords" autocomplete="on" type="text" size="10" class="gsc-input" name="q" title="search"></td><td class="gsc-search-button"><input type="submit" value="Search" class="gsc-search-button" title="search"></td></tr></tbody></table></form>';
  491. $('#page-list-search .CustomSearch').html(search_html);
  492. $('#search-form').submit(function() {
  493.    val = $('#search-query').val();
  494.    hn = window.location.hostname;
  495.    hn = substr_(hn, '://');
  496.    hn = substr_(hn, 'www.');
  497.    val = val.replace(' site:' + hn, '');
  498.    val += (' site:' + hn);
  499.    $('#search-query').val(val);
  500.    return true
  501. });
  502. $('#search-query').focus(function() {
  503.    val = $(this).val();
  504.    hn = window.location.hostname;
  505.    hn = substr_(hn, '://');
  506.    hn = substr_(hn, 'www.');
  507.    val = val.replace(' site:' + hn, '');
  508.    $('#search-query').val(val)
  509. });
  510. $(window).resize(function() {
  511.    $('img').removeClass('optimized');
  512.    home_index_optimize_image();
  513.    post_index_optimize_image()
  514. });
  515. var main_color = $('#blog-copyright').css('color');
  516. var bi_license = false;
  517. $('#footer .meta a#bi-license').each(function() {
  518.    bi_license = true;
  519.    style = 'height:10px;background:none!important;color:' + main_color + '!important;display:inline!important;font-size:12px!important;position:initial!important;visibility:visible!important;margin:0!important;opacity:1!important;filter:alpha(opacity=100)!important';
  520.    $(this).attr('style', style);
  521.    $(this).attr('href', 'http://bloggeritems.com/templates/easy-news-responsive-magazine-blogger-template')
  522. });
  523. if (!bi_license) {
  524.    var html_copy = '<a style="background: none!important;color: #999!important;display: block!important;font-size: 10px!important;font-weight: bold!important;height: 16px!important;line-height: 16px!important;margin-bottom: 0px!important;margin-left: 0px!important;margin-right: 0px!important;margin-top: 0px!important;text-align: right!important;visibility:visible!important;opacity:1!important;filter:alpha(opacity=100)!important;" href="http://bloggeritems.com/templates/easy-news-responsive-magazine-blogger-template" target="_blank" rel="dofollow">Templated by Blogger Items</a>';
  525.    $('body').append(html_copy)
  526. }
Páginas: 1 ... 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 [19] 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 ... 143
WAP2 - Aviso Legal - Powered by SMF 1.1.21 | SMF © 2006-2008, Simple Machines