nailgg / eksi_ayar

// ==UserScript==
// @name          eksi_ayar
// @description	  çeşitli ayarlar
// @version       1.2.0
// @author        biz boylemi gorduk babamizdan
// @include       https://eksisozluk.com*
// @include       http://eksisozluk.com*
// @run-at		  document-start
// ==/UserScript==
(function() {
    function e() {
        if (typeof unsafeWindow.jQuery == "undefined") window.setTimeout(e, 0);
        else unsafeWindow.jQuery(function() {
            t(unsafeWindow.jQuery)
        })
    }

    function t(e) {
        e("#top-navigation ul:first-child").prepend("<li id='ayar_pan' ><span id='ayar_pan_span' style='cursor:pointer;color:#fff;'>##</span><div id='px' style='overflow-x: hidden;display:none;'><ul class='tabs'><li class='tab-link current' data-tab='tab-1'>Embed Ayarları</li><li class='tab-link' data-tab='tab-2'>Kanal Ayarları</li><li class='tab-link' data-tab='tab-3'>Sol Panel</li><li class='tab-link' data-tab='tab-4'>Filtre Ayarları</li><li class='tab-link' data-tab='tab-5'>Diğer Ayarlar</li><div style='float:right;margin: 9px 17px 0 0;'><button id='px_kapat' type='submit' class='primary'>kaydet</button></div></ul><div id='tab-1' class='tab-content current'><span class='aciklama'>bu sayfada aktifleştireceğiniz ayarlar sayfa içeriğine otomatik şekilde eklenecektir. sayfadaki aktif link tıklandığında içerik olduğu yerde otomatik embed edilecektir. </span> </div><div id='tab-2' class='tab-content'><span class='aciklama'>üst navigasyon bölümüne seçili kanalların kısayolunu ekler. <br><br>  <span style='-webkit-user-select: none;-moz-user-select: none;'>örn:  </span>bugün   popüler   badi   son   kenar   çaylaklar   #ilişkiler</span>  </div> <div id='tab-3' class='tab-content'><span class='aciklama'>Sol panel için çeşitli ayarlar</span> </div><div id='tab-4' class='tab-content'><span class='aciklama'>sözlükteki başlıklar için filtreleme ayarları. gizlenecek ve gösterilecek kelimeler arasında * işareti koyulmalıdır. <br><br> <span style='-webkit-user-select: none;-moz-user-select: none;'>örn:  </span>vücut gelişt*galatasar*basketb*ekşi itir*satranç</span> </div><div id='tab-5' class='tab-content'><span class='aciklama'>diğer ayarlar</span> </div></div></li>");
        e("body").prepend('<div style="display:none;" class="siyah-ekran"></div>');
        e("#ayar_pan_span").click(function(t) {
            e(this).attr("id", "yok_id");
            e("#px").show();
            e(".siyah-ekran").show()
        });
        e("#px_kapat").click(function(t) {
            e("#yok_id").attr("id", "ayar_pan_span");
            e("#px").hide();
            e(".siyah-ekran").hide();
            location.reload()
        });
        e(document).ready(function() {
            e("ul.tabs li").click(function() {
                var t = e(this).attr("data-tab");
                e("ul.tabs li").removeClass("current");
                e(".tab-content").removeClass("current");
                e(this).addClass("current");
                e("#" + t).addClass("current")
            })
        });
        jQuery("<input/>", {
            id: "spoiler_favorite",
            type: "checkbox",
            name: "spoiler_favorite",
            onchange: "localStorage.spoilerInput = checked ? 'true' : ''"
        }).appendTo("#ayar_pan #px #tab-1").after('<label for="spoiler_favorite" title="spoiler içeriği otomatik olarak gizler"><span>Spoiler</span></label>');
        e(function() {
            var t = localStorage.getItem("spoiler_favorite");
            if (t !== null) {
                e("input[name='spoiler_favorite']").attr("checked", "checked")
            }
        });
        e("input[name='spoiler_favorite']").click(function() {
            if (e(this).is(":checked")) {
                localStorage.setItem("spoiler_favorite", e(this).val())
            } else {
                localStorage.removeItem("spoiler_favorite")
            }
        });
        if (localStorage.spoilerInput) {
            e("a:contains('spoiler').b").hide();
            e("a:contains('spoiler').b:even").nextUntil("a:contains('spoiler').b:odd").parent(".content").contents(function() {
                return
            }).filter(function() {
                return this.nodeType === 3
            }).wrap("<span></span>").end().filter().remove();
            e("a:contains('spoiler').b:even").nextUntil("a:contains('spoiler').b:odd").wrap("<div class='spoiler-icerigi'></div>");
            e("a:contains('spoiler').b").before('<button class="spoiler-tikla">SPOILER</button>').nextUntil("a:contains('spoiler').b");
            e(".spoiler-tikla:even").click(function() {
                e(this).nextUntil(".spoiler-tikla").toggleClass("gizle , spoiler-icerigi");
                e("a:contains('spoiler').b").hide()
            });
            e(".spoiler-tikla:odd").click(function() {
                e(this).prevUntil(".spoiler-tikla").toggleClass("gizle , spoiler-icerigi");
                e("a:contains('spoiler').b").hide()
            })
        } else {}
        jQuery("<input/>", {
            id: "twitter_favorite",
            type: "checkbox",
            name: "twitter_favorite",
            onchange: "localStorage.tweetInput = checked ? 'true' : ''"
        }).appendTo("#ayar_pan #px #tab-1").after('<label for="twitter_favorite" title="twitter linklerini olduğu yerde açmaya imkan sunar"><span>Twitter</span></label>');
        e(function() {
            var t = localStorage.getItem("twitter_favorite");
            if (t !== null) {
                e("input[name='twitter_favorite']").attr("checked", "checked")
            }
        });
        e("input[name='twitter_favorite']").click(function() {
            if (e(this).is(":checked")) {
                localStorage.setItem("twitter_favorite", e(this).val())
            } else {
                localStorage.removeItem("twitter_favorite")
            }
        });
        if (localStorage.tweetInput) {
            e(function() {
                e(".content a[href*='twitter.com/'][href*='status']").each(function() {
                    var t = this.href;
                    var n = e(this).text();
                    var r = t.split("/")[5];
                    e(this).replaceWith(' <span class="youtube-box curs but2"  title="' + n + '" ><span class="yok-et">' + n + '</span></span><a target="_blank"  class="url pp" href="' + t + '">|</a>');
                    e("span.youtube-box").click(function() {
                        e(this).find(".yok-et").remove();
                        e(this).next(".pp").remove();
                        e(this).before('<span class="buyuk-span">  <span class="youtube-box-kapat curs but2" title="' + n + '">' + n + '</span><a target="_blank" class="url" href="' + t + '">|</a>');
                        var i = e(this);
                        e.getJSON("https://api.twitter.com/1/statuses/oembed.json?id=" + r + "&callback=?", function(e) {
                            i.replaceWith(e.html)
                        });
                        e("span.youtube-box-kapat").click(function() {
                            e(this).parent(".buyuk-span").next(".twitter-tweet").toggle();
                            return html.replace()
                        });
                        return html.replace()
                    })
                })
            })
        } else {}
        jQuery("<input/>", {
            type: "checkbox",
            id: "youtube_favorite",
            name: "youtube_favorite",
            onchange: "localStorage.youtubeInput = checked ? 'true' : ''"
        }).appendTo("#ayar_pan #px #tab-1").after('<label for="youtube_favorite" title="youtube linklerini olduğu yerde açmaya imkan sunar"><span>Youtube</span></label>');
        e(function() {
            var t = localStorage.getItem("youtube_favorite");
            if (t !== null) {
                e("input[name='youtube_favorite']").attr("checked", "checked")
            }
        });
        e("input[name='youtube_favorite']").click(function() {
            if (e(this).is(":checked")) {
                localStorage.setItem("youtube_favorite", e(this).val())
            } else {
                localStorage.removeItem("youtube_favorite")
            }
        });
        if (localStorage.youtubeInput) {
            e(function() {
                e(" a[href*='youtube.com/watch?'] , a[href*='youtu.be/'] ").each(function() {
                    var t = this.href;
                    var n = t.split(/^(?:https?:\/\/)?(?:www\.)?(?:youtu\.be\/|youtube\.com\/(?:embed\/|v\/|watch\?v=|watch\?.+&v=))((\w|-){11})(?:\S+)?$/)[1];
                    var r = e(this).text();
                    var i = t.split("t=")[1];
                    e(this).replaceWith(' <span class="youtube-box curs but2" title="' + r + '" >' + r + '</span><a target="_blank"  class="url pp" href="' + t + '">|</a>');
                    e("span.youtube-box").click(function() {
                        e(this).next(".pp").hide();
                        e(this).replaceWith(' <span class="buyuk-span">  <span class="youtube-box-kapat curs but2" title="' + r + '">' + r + '</span><a target="_blank" class="url" href="' + t + '">|</a><span class="resim-span"><br><object width="560" height="315"><param name="movie" value="//www.youtube.com/v/' + n + "?version=3&hl=tr_TR&start=" + i + '"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="//www.youtube.com/v/' + n + "?version=3&hl=tr_TR&start=" + i + '" type="application/x-shockwave-flash" width="560" height="315" allowscriptaccess="always" allowfullscreen="true"></embed></object><br></span></span>');
                        e("span.youtube-box-kapat").click(function(t) {
                            e(this).parent(".buyuk-span").find(".resim-span").toggle();
                            return html.replace()
                        })
                    })
                })
            })
        } else {}
        jQuery("<input/>", {
            type: "checkbox",
            id: "ozel_arama_favorite",
            name: "ozel_arama_favorite",
            onchange: "localStorage.ozelAramaInput = checked ? 'true' : ''"
        }).appendTo("#ayar_pan #px #tab-5").after('<label for="ozel_arama_favorite" title="araştır butonuna yeni linkler ekler" ><span>Arama butonları</span></label>');
        e(function() {
            var t = localStorage.getItem("ozel_arama_favorite");
            if (t !== null) {
                e("input[name='ozel_arama_favorite']").attr("checked", "checked")
            }
        });
        e("input[name='ozel_arama_favorite']").click(function() {
            if (e(this).is(":checked")) {
                localStorage.setItem("ozel_arama_favorite", e(this).val())
            } else {
                localStorage.removeItem("ozel_arama_favorite")
            }
        });
        if (localStorage.ozelAramaInput) {
            e(function() {
                var t = e("#title a span").text();
                e("#in-topic-search-options").prepend("<li style='overflow: auto;border-bottom: solid 1px #ddd;' ><a class='ico-n' href='https://www.google.com/search?q=" + t + "&source=lnms&tbm=isch' title='Görsellerde Ara' target='_blank'><img src='https://www.google.com.tr/favicon.ico'></a><a class='ico-n' href='http://www.youtube.com/results?search_query=" + t + "' title='Youtube&#39;da Ara' target='_blank' ><img src='http://www.youtube.com/favicon.ico'></a><a class='ico-n' href='http://tr.wikipedia.org/w/index.php?title=Özel%3AAra&profile=default&search=" + t + "&fulltext=Search' title='Wikipedia&#39;da Ara' target='_blank'><img src='http://en.wikipedia.org/favicon.ico'></a><a class='ico-n' href='http://tureng.com/search/" + t + "' title='Tureng&#39;de Ara' target='_blank' ><img src='http://tureng.com/favicon.ico'></a><a class='ico-n' href='http://www.tdk.gov.tr/index.php?option=com_gts&kelime=" + t + "' title='TDK&#39;da Ara' target='_blank' ><img src='https://fbcdn-profile-a.akamaihd.net/hprofile-ak-xfa1/v/t1.0-1/p160x160/1620647_645075145552112_262776879_n.png?oh=dcafee8aef8ddd3392e317bd20a227ea&oe=547F451E&__gda__=1417237633_166618ef7ace380bb047713681d85336'></a><a class='ico-n' href='http://us.imdb.com/find?q=" + t + "' title='IMDB&#39;de Ara' target='_blank' ><img src='http://www.imdb.com/favicon.ico'></a><a class='ico-n' href='http://kickass.to/usearch/" + t + "' title='Kat.ph&#39;de Ara' target='_blank' ><img src='http://kastatic.com/images/favicon.ico'></a><a class='ico-n' href='https://twitter.com/search?src=typd&q=" + t + "' title='Twitter&#39;da Ara' target='_blank' ><img src='https://twitter.com/favicon.ico'></a></li><div style='clear:both;'></div>")
            })
        } else {}

        /*jQuery("<input/>", {
            type: "checkbox",
            id: "footer_goster",
            name: "footer_goster",
            onchange: "localStorage.footerGoster = checked ? 'true' : ''"
        }).appendTo("#ayar_pan #px #tab-5").after('<label for="footer_goster" title="footer gosterir" ><span>Footer Goster</span></label>');
        if (localStorage.footerGoster) {
            e(function() {
                $("div.feedback").each(function() {
					this.style.visibility = "visible";
				});
            })
        } else {}
        e(function() {
            var t = localStorage.getItem("footerGoster");
            if (t !== null) {
                e("input[name='footer_goster']").attr("checked", "checked")
            }
        });
       e("input[name='footer_goster']").click(function() {
            if (e(this).is(":checked")) {
                localStorage.setItem("footerGoster", e(this).val())
            } else {
                localStorage.removeItem("footerGoster")
            }
        });*/

        jQuery("<input/>", {
            type: "checkbox",
            id: "entryno_goster",
            name: "entryno_goster",
            onchange: "localStorage.entryNoGoster = checked ? 'true' : ''"
        }).appendTo("#ayar_pan #px #tab-5").after('<label for="entryno_goster" title="entry no gosterir"><span>Entry No Goster</span><br /><select id="entryperpage" style="width:75px;"><option value="10">10</option><option value="25">25</option><option value="50">50</option><option value="75">75</option><option value="100">100</option></select></label>');
        
        e(document).ready(function() {
            $("#entryperpage").change(function () {
                localStorage.setItem("entryPerPage", this.value);
            });
            
            var epp = localStorage.getItem("entryPerPage");
            if (epp===null) epp=25;
            
            $("select>option[value=" + epp + "]").attr("selected", "");
        });
        
        if (localStorage.entryNoGoster) {
            e(document).ready(function() {
                var startNum;
                
                function tp() {
                    var epp = localStorage.getItem("entryPerPage");
                    if (epp===null) epp=25;
                    
                        if (document.getElementsByClassName("pager")[0] !== undefined) {
                            startNum = (parseInt($(".pager>select")[0].value)-1)*epp+1;
                        } else {
                            startNum = 1;
                        }
                    return parseInt(startNum);
                }
                
                function t() {
                    var liList = document.getElementsByTagName("li");
                    if (document.getElementsByClassName("showall more-data")[0] !== undefined) {
                        if (document.getElementsByClassName("showall more-data")[0].compareDocumentPosition(document.getElementById("entry-list")) == 4)
                            startNum = parseInt(document.getElementsByClassName("showall more-data")[0].innerHTML) + 1;
                        else {
                            startNum = tp();
                        }
                    } else {
                        startNum = tp();
                    }
                    
                    for(var i in liList) {
                        if (typeof liList[i] !== "object") continue;
                        if (liList[i].getAttribute("itemprop")=="comment" && liList[i].getAttribute("id").indexOf("li")>-1) {
                            var d = document.createElement("span");
                            d.setAttribute("style", "color:grey; font-size:10px;");
                            d.innerHTML = startNum++;
                            if (liList[i].previousSibling.tagName == "SPAN") continue;
                            
                            liList[i].parentNode.insertBefore(d, liList[i]);
                            liList[i].setAttribute("style", "border-top:1px solid #d2d2d2; border-bottom:0px;");
                            
                        }
                    }
                }
                if (document.URL.indexOf("a=nice")<0 && document.URL.indexOf("a=find")<0) t()
            });
        } else {}
        e(function() {
            var t = localStorage.getItem("entryNoGoster");
            if (t !== null) {
                e("input[name='entryno_goster']").attr("checked", "checked")
            }
        });
       e("input[name='entryno_goster']").click(function() {
            if (e(this).is(":checked")) {
                localStorage.setItem("entryNoGoster", e(this).val())
            } else {
                localStorage.removeItem("entryNoGoster")
            }
        });
        e("select[id='entryperpage']").click(function() {
            localStorage.setItem("entryPerPage", e(this).val())
        });
        
        jQuery("<input/>", {
            type: "checkbox",
            id: "resim_favorite",
            name: "resim_favorite",
            onchange: "localStorage.resimInput = checked ? 'true' : ''"
        }).appendTo("#ayar_pan #px #tab-1").after('<label for="resim_favorite" title="resim linklerini olduğu yerde açmaya imkan sunar"><span>Resim</span></label>');
        e(function() {
            var t = localStorage.getItem("resim_favorite");
            if (t !== null) {
                e("input[name='resim_favorite']").attr("checked", "checked")
            }
        });
        e("input[name='resim_favorite']").click(function() {
            if (e(this).is(":checked")) {
                localStorage.setItem("resim_favorite", e(this).val())
            } else {
                localStorage.removeItem("resim_favorite")
            }
        });
        if (localStorage.resimInput) {
            e(function() {
                e(" .content a[href$='.JPG'] , .content a[href$='.Jpg'] , .content a[href$='.jpg'] , .content a[href$='.JPEG'] , .content a[href$='.Jpeg'] , .content a[href$='.jpeg'] , .content a[href$='.PNG'] , .content a[href$='.Png'] , .content a[href$='.png'] , .content a[href$='.GIF'] , .content a[href$='.Gif'] , .content a[href$='.gif'] , .content a[href$='.BMP'] , .content a[href$='.Bmp'] , .content a[href$='.bmp'] ").each(function() {
                    var t = e(this).attr("href");
                    var n = e(this).html();
                    e(this).replaceWith(' <span class="youtube-box curs but2" title="' + n + '"  >' + n + '</span><a target="_blank"  class="url pp" href="' + t + '">|</a>');
                    e("span.youtube-box").click(function() {
                        e(this).next(".pp").hide();
                        e(this).replaceWith(' <span class="buyuk-span">  <span class="youtube-box-kapat curs but2">' + n + '</span><a target="_blank" class="url" href="' + t + '">|</a><span class="resim-span" style="position:relative"><br><button class="zoomIn" style="margin: 5px 0px 0px 5px;position: absolute;opacity: 0.5;font-weight: bold;width: 24px;height: 24px;padding: 0px !important;">+</button> <button class="zoomOut" style="position: absolute;margin: 5px 32px;opacity: 0.5;font-weight: bold;width: 24px;height: 24px;padding: 0px !important;">-</button><img id="oImage" class="kapali" src="' + t + '"><br></span></span>');
                        e(".resim-span").hover(function() {
                            e(this).find("button").css("opacity", "1")
                        }, function() {
                            e(this).find("button").css("opacity", "0.5")
                        });
                        e(".zoomIn").click(function() {
                            e(this).next().next(".kapali").css("width", "+=25%")
                        });
                        e(".zoomOut").click(function() {
                            e(this).next(".kapali").css("width", "-=25%")
                        });
                        e("span.youtube-box-kapat").click(function(t) {
                            e(this).parent(".buyuk-span").find(".resim-span").toggle();
                            return html.replace()
                        })
                    })
                })
            });
            var t = 10;

            function n() {
                if (event.wheelDelta >= 120) r(++t);
                else if (event.wheelDelta <= -120) r(--t);
                return false
            }

            function r(e) {
                oImage.style.zoom = e + "0%";
                oCounter.innerHTML = e + "0%"
            }
        } else {}
        jQuery("<input/>", {
            type: "checkbox",
            id: "entry_favorite",
            name: "entry_favorite",
            onchange: "localStorage.entryInput = checked ? 'true' : ''"
        }).appendTo("#ayar_pan #px #tab-1").after('<label for="entry_favorite" title="bkz verilmiş entryler için olduğu yerde açmaya imkan sunar" ><span>Entry</span></label>');
        e(function() {
            var t = localStorage.getItem("entry_favorite");
            if (t !== null) {
                e("input[name='entry_favorite']").attr("checked", "checked")
            }
        });
        e("input[name='entry_favorite']").click(function() {
            if (e(this).is(":checked")) {
                localStorage.setItem("entry_favorite", e(this).val())
            } else {
                localStorage.removeItem("entry_favorite")
            }
        });
        if (localStorage.entryInput) {
            e(function() {
                e(".content a[href^='/entry/']").filter(function() {
                    return e(this).text().match(/#/)
                }).each(function() {
                    var t = e(this).attr("href");
                    var n = e(this).text();
                    var r = t.split("/entry/")[1];
                    e(this).replaceWith(' <span class=" entry-yukle youtube-box curs but2"  title="' + n + '"  >' + n + '</span><a target="_blank"  class="url pp" href="' + t + '">|</a>');
                    e(".entry-yukle").click(function() {
                        e(this).next(".pp").hide();
                        e(this).replaceWith(' <span class="buyuk-span">  <span class="youtube-box-kapat curs but2" title="' + n + '" >' + n + '</span><a target="_blank" class="url" href="' + t + '">|</a><span class="resim-span"><br><div id=ent-' + r + " class=bkz-embed></div></span></span>");
                        e("#ent-" + r + "").load("" + t + " #topic ", function() {});
                        e("span.youtube-box-kapat").click(function(t) {
                            e(this).parent(".buyuk-span").find(".resim-span").toggle();
                            return html.replace()
                        })
                    })
                })
            })
        } else {}
        jQuery("<input/>", {
            type: "checkbox",
            id: "vine_favorite",
            name: "vine_favorite",
            onchange: "localStorage.vineInput = checked ? 'true' : ''"
        }).appendTo("#ayar_pan #px #tab-1").after('<label for="vine_favorite" title="vine linklerini olduğu yerde açmaya imkan sunar"><span>Vine</span></label>');
        e(function() {
            var t = localStorage.getItem("vine_favorite");
            if (t !== null) {
                e("input[name='vine_favorite']").attr("checked", "checked")
            }
        });
        e("input[name='vine_favorite']").click(function() {
            if (e(this).is(":checked")) {
                localStorage.setItem("vine_favorite", e(this).val())
            } else {
                localStorage.removeItem("vine_favorite")
            }
        });
        if (localStorage.vineInput) {
            e(function() {
                e(" a[href*='/vine.co/v/']").each(function() {
                    var t = this.href;
                    var n = e(this).text();
                    e(this).replaceWith(' <span class="youtube-box curs but2" title="' + n + '" >' + n + '</span><a target="_blank" class="url pp" href="' + t + '">|</a>');
                    e("span.youtube-box").click(function() {
                        e(this).next(".pp").hide();
                        e(this).replaceWith('<span class="buyuk-span"> <span class="youtube-box-kapat curs but2" title="' + n + '"  >' + n + '</span><a target="_blank" class="url" href="' + t + '">|</a><span class="resim-span"><br/><iframe class="vine-embed" src="' + t + '/embed/postcard" width="320" height="320" frameborder="0"></iframe><script async src="//platform.vine.co/static/scripts/embed.js" charset="utf-8"></script><br/></span></span>');
                        e("span.youtube-box-kapat").click(function(t) {
                            e(this).parent(".buyuk-span").find(".resim-span").toggle();
                            return html.replace()
                        })
                    })
                })
            })
        } else {}
        jQuery("<input/>", {
            type: "checkbox",
            id: "instagram_favorite",
            name: "instagram_favorite",
            onchange: "localStorage.instagramInput = checked ? 'true' : ''"
        }).appendTo("#ayar_pan #px #tab-1").after('<label for="instagram_favorite"title="instagram linklerini olduğu yerde açmaya imkan sunar"  ><span>Instagram</span></label>');
        e(function() {
            var t = localStorage.getItem("instagram_favorite");
            if (t !== null) {
                e("input[name='instagram_favorite']").attr("checked", "checked")
            }
        });
        e("input[name='instagram_favorite']").click(function() {
            if (e(this).is(":checked")) {
                localStorage.setItem("instagram_favorite", e(this).val())
            } else {
                localStorage.removeItem("instagram_favorite")
            }
        });
        if (localStorage.instagramInput) {
            e(function() {
                e(" a[href*='/instagram.com/p/']").each(function() {
                    var t = this.href;
                    var n = e(this).text();
                    e(this).replaceWith(' <span class="youtube-box curs but2"  title="' + n + '" >' + n + '</span><a target="_blank" class="url pp" href="' + t + '">|</a>');
                    e("span.youtube-box").click(function() {
                        e(this).next(".pp").hide();
                        e(this).replaceWith('  <span class="buyuk-span"><span class="youtube-box-kapat curs but2"  title="' + n + '" >' + n + '</span><a target="_blank" class="url" href="' + t + '">|</a><span class="resim-span"><br><iframe style="border:solid 5px #333;" src="' + t + 'embed/" width="340" height="440" frameborder="0" scrolling="no" allowtransparency="true"></iframe></span></span>');
                        e("span.youtube-box-kapat").click(function(t) {
                            e(this).parent(".buyuk-span").find(".resim-span").toggle();
                            return html.replace()
                        })
                    })
                })
            })
        } else {}
        jQuery("<input/>", {
            type: "checkbox",
            id: "swf_favorite",
            name: "swf_favorite",
            onchange: "localStorage.swfInput = checked ? 'true' : ''"
        }).appendTo("#ayar_pan #px #tab-1").after('<label for="swf_favorite" title="swf linklerini olduğu yerde açmaya imkan sunar" ><span>Swf</span></label>');
        e(function() {
            var t = localStorage.getItem("swf_favorite");
            if (t !== null) {
                e("input[name='swf_favorite']").attr("checked", "checked")
            }
        });
        e("input[name='swf_favorite']").click(function() {
            if (e(this).is(":checked")) {
                localStorage.setItem("swf_favorite", e(this).val())
            } else {
                localStorage.removeItem("swf_favorite")
            }
        });
        if (localStorage.swfInput) {
            e(function() {
                e("a[href$='.swf']").each(function() {
                    var t = this.href;
                    var n = e(this).text();
                    e(this).replaceWith(' <span class="youtube-box curs but2"  title="' + n + '"   >' + n + '</span><a target="_blank"  class="url pp" href="' + t + '">|</a>');
                    e("span.youtube-box").click(function() {
                        e(this).next(".pp").hide();
                        e(this).replaceWith(' <span class="buyuk-span">  <span class="youtube-box-kapat curs but2"  title="' + n + '"  >' + n + '</span><a target="_blank" class="url" href="' + t + '">|</a><span class="resim-span"><br><embed src="' + t + '" width="200" height="200"><br></span></span>');
                        e("span.youtube-box-kapat").click(function(t) {
                            e(this).parent(".buyuk-span").find(".resim-span").toggle();
                            return html.replace()
                        })
                    })
                })
            })
        } else {}
        jQuery("<input/>", {
            type: "checkbox",
            id: "genis_favorite",
            name: "genis_favorite",
            onchange: "localStorage.genisInput = checked ? 'true' : ''"
        }).appendTo("#ayar_pan #px #tab-5").after('<label for="genis_favorite" title="site görünümü geniş ekran moduna geçer" ><span>Geniş Ekran</span></label>');
        e(function() {
            var t = localStorage.getItem("genis_favorite");
            if (t !== null) {
                e("input[name='genis_favorite']").attr("checked", "checked")
            }
        });
        e("input[name='genis_favorite']").click(function() {
            if (e(this).is(":checked")) {
                localStorage.setItem("genis_favorite", e(this).val())
            } else {
                localStorage.removeItem("genis_favorite")
            }
        });
        if (localStorage.genisInput) {
            e(function() {
                GM_addStyle("div#profile-intro, ul#profile-cards, ul#threads li, #container ul.tabs {width: 70%;} #aside {z-index : 2;position: absolute;right: 0;}#content-body {width: 97% !important;padding-top: 10px;}#videos {display: none;}")
            })
        } else {}
        e("#in-topic-search-options li a:contains('şükela modu')").each(function() {
            e(this).appendTo(e("#in-topic-search-menu")).before("&nbsp;&nbsp;").html("şükela modu")
        });
        var i = e("body").css("backgroundColor");
        var s = e("header").css("backgroundColor");
        var o = e("body a").css("color");
        GM_addStyle(".but2 {font-weight:bold;}#message-thread .incoming, #message-thread .outgoing, #entry-list .hidden, #entry-list .deleted {}.ads {display:none !important;}.bkz-embed html.no-touch > body {padding: 0 !important;}.bkz-embed #content-body {width: 100% !important;margin: 0 !important;}.bkz-embed header, .bkz-embed  #index-section, .bkz-embed #main #content #aside, .bkz-embed #site-footer, .bkz-embed  fieldset.vertical, .bkz-embed  .showall.more-data, .bkz-embed  .sub-title-menu {display: none !important;}.bkz-embed #container {max-width: 100% !important;width: 100% !important;}.bkz-embed #main {margin: 0 !important;} #tema_fieldset {float: right;width: 60%;padding: 10px;clear: right;}#filter {float:left;margin-right:10px;}.pager {margin-top: -4px !important;z-index:3;}#entry-list {margin-top: 20px !important;}.bkz-embed {display: block;background: f5f5f5;border: solid 12px #333;padding: 8px;z-index: 999;}.gizle a  {}.gizle {display:inline;}.spoiler-icerigi {display:none;}.youtube-frame {border:solid 1px #fff;padding:1px;width:450px !important;height:300px !important;}img.kapali {border:solid 1px #fff;display:inline;width:250px;}.curs, .resim-box, .resim-box-kapat, .temizle, .k-twit {cursor:pointer;}ul#ozel-arama-options.toggles-menu {display: none;}.ico-n img {box-shadow: inset 0 0 5px #ddd;width: 26px;height: 26px;border: solid 1px #ccc;padding: 3px;background: #f5f5f5;}.ico-n img:hover {box-shadow: none;background: #fff;}a.ico-n:first-child {margin-left: 8px;}a.ico-n {padding: 0 !important;display: block;float: left;margin: 8px 4px 4px 2px;}a#nxolmus:hover {background-color: #ddd;color: #111 !important;}#y-panel {width: 96%;display: block;background: " + i + ";border: solid 1px #555;padding: 3px;text-align: center;overflow: hidden;position: absolute;bottom: -1px;z-index: 2;color: #333 !important;font-weight: bold;box-shadow: 0 0 8px 3px " + i + ";text-decoration: none;}			div#px {box-shadow: 0 0 10px #111;display: block;width: 70%;position: absolute;background: #f5f5f5;left: 17%;top:75px;}		#px label {} .siyah-ekran  {background-color: black;filter: alpha(opacity=50);-khtml-opacity: .5;-moz-opacity: .5;opacity: .5;position: fixed;top: 0;right: 0;bottom: 0;left: 0;z-index: 9991;}	");
        GM_addStyle("#px li.tab-link {font-weight: bold;} #px li.tab-link:not(:last-child) {border-right: solid 1px #aaa;}#px  ul.tabs{border-bottom: 1px solid #aaa; background: #ccc;margin: 0px;padding: 0px;list-style: none;}#px ul.tabs li{border-radius: 0;background: none;color: #476898;display: inline-block;padding: 10px 15px;cursor: pointer;}#px ul.tabs li.current{background:#f5f5f5;}#px .tab-content{display: none;overflow: auto;padding-bottom: 10px;}#px .tab-content.current{display: inherit;}#px label {font-weight:bold;float: left;border:solid 2px #476898;display:block;width:23%;text-align:center;line-height:300%;border-radius:3px;cursor:pointer;-webkit-user-select: none;-moz-user-select: none;margin:1%;color: #476898;opacity: 0.3;} #px label:hover {opacity: 1;} #px input[type=checkbox] {display:none;} #px input[type=checkbox]:checked + label {border-color: #476898;color:#fff;background:#476898;opacity: 1;}div#px_kapat {border: solid 1px blue;display: block;width: 30px;text-align: center;font-weight: bold;color: blue;background: #fff;line-height: 30px;}span.aciklama {color: #333;width: 96%;display: block;margin: 1% 2% ;padding: 1% 2% ;font-style: italic;line-height: normal;border-bottom: solid 1px #ccc;border-radius: 2px;}")
    }
    e()
})();
(function() {
    function e() {
        if (typeof unsafeWindow.jQuery == "undefined") window.setTimeout(e, 0);
        else unsafeWindow.jQuery(function() {
            t(unsafeWindow.jQuery)
        })
    }

    function t(e) {
        jQuery("<input/>", {
            type: "checkbox",
            id: "sinema_kanali",
            name: "sinema_kanali",
            onchange: "localStorage.sinema_kanali_Input = checked ? 'true' : ''"
        }).appendTo("#ayar_pan #px #tab-2").after('<label for="sinema_kanali" title="filmler, yönetmenler, teknikler, yarıda salonu terk etmeler"><span>#sinema</span></label>');
        jQuery("<input/>", {
            type: "checkbox",
            id: "muzik_kanali",
            name: "muzik_kanali",
            onchange: "localStorage.muzik_kanali_Input = checked ? 'true' : ''"
        }).appendTo("#ayar_pan #px #tab-2").after('<label for="muzik_kanali" title="gruplar, parçalar, müzik teorileri, enstrümanlar, pena"><span>#müzik</span></label>');
        jQuery("<input/>", {
            type: "checkbox",
            id: "siyaset_kanali",
            name: "siyaset_kanali",
            onchange: "localStorage.siyaset_kanali_Input = checked ? 'true' : ''"
        }).appendTo("#ayar_pan #px #tab-2").after('<label for="siyaset_kanali" title="partiler, politikacılar, terör, savaş kan ve korku"><span>#siyaset</span></label>');
        jQuery("<input/>", {
            type: "checkbox",
            id: "bilim_kanali",
            name: "bilim_kanali",
            onchange: "localStorage.bilim_kanali_Input = checked ? 'true' : ''"
        }).appendTo("#ayar_pan #px #tab-2").after('<label for="bilim_kanali" title="atom mühendisliğine giden yolda her konu"><span>#bilim</span></label>');
        jQuery("<input/>", {
            type: "checkbox",
            id: "edebiyat_kanali",
            name: "edebiyat_kanali",
            onchange: "localStorage.edebiyat_kanali_Input = checked ? 'true' : ''"
        }).appendTo("#ayar_pan #px #tab-2").after('<label for="edebiyat_kanali" title="kitaplar, yazarlar, ekoller, yayıncılar, ödüller ve niceleri"><span>#edebiyat</span></label>');
        jQuery("<input/>", {
            type: "checkbox",
            id: "spor_kanali",
            name: "spor_kanali",
            onchange: "localStorage.spor_kanali_Input = checked ? 'true' : ''"
        }).appendTo("#ayar_pan #px #tab-2").after('<label for="spor_kanali" title="futbol, basketbol, tenis ve curling gibi ata sporları"><span>#spor</span></label>');
        jQuery("<input/>", {
            type: "checkbox",
            id: "iliskiler_kanali",
            name: "iliskiler_kanali",
            onchange: "localStorage.iliskiler_kanali_Input = checked ? 'true' : ''"
        }).appendTo("#ayar_pan #px #tab-2").after('<label for="iliskiler_kanali"  title="sevgili, eski sevgili ve hoşlanılan kız"><span>#ilişkiler</span></label>');
        jQuery("<input/>", {
            type: "checkbox",
            id: "tarih_kanali",
            name: "tarih_kanali",
            onchange: "localStorage.tarih_kanali_Input = checked ? 'true' : ''"
        }).appendTo("#ayar_pan #px #tab-2").after('<label for="tarih_kanali"  title="geçmişten günümüze hayatlar, insanlar" ><span>#tarih</span></label>');
        jQuery("<input/>", {
            type: "checkbox",
            id: "teknoloji_kanali",
            name: "teknoloji_kanali",
            onchange: "localStorage.teknoloji_kanali_Input = checked ? 'true' : ''"
        }).appendTo("#ayar_pan #px #tab-2").after('<label for="teknoloji_kanali" title="cihazlar, yazılımlar, standartlar, mavi ekran"><span>#teknoloji</span></label>');
        jQuery("<input/>", {
            type: "checkbox",
            id: "sanat_kanali",
            name: "sanat_kanali",
            onchange: "localStorage.sanat_kanali_Input = checked ? 'true' : ''"
        }).appendTo("#ayar_pan #px #tab-2").after('<label for="sanat_kanali" title="teoriler, sanatçılar, sanat tarihi, ucubeler"><span>#sanat</span></label>');
        jQuery("<input/>", {
            type: "checkbox",
            id: "tv_kanali",
            name: "tv_kanali",
            onchange: "localStorage.tv_kanali_Input = checked ? 'true' : ''"
        }).appendTo("#ayar_pan #px #tab-2").after('<label for="tv_kanali"  title="tv kanalları, diziler, yarışmalar"><span>#tv</span></label>');
        jQuery("<input/>", {
            type: "checkbox",
            id: "oyun_kanali",
            name: "oyun_kanali",
            onchange: "localStorage.oyun_kanali_Input = checked ? 'true' : ''"
        }).appendTo("#ayar_pan #px #tab-2").after('<label for="oyun_kanali"  title="video oyunları, konsollar, oyuncular, efsaneler, atari"><span>#oyun</span></label>');
        jQuery("<input/>", {
            type: "checkbox",
            id: "anket_kanali",
            name: "anket_kanali",
            onchange: "localStorage.anket_kanali_Input = checked ? 'true' : ''"
        }).appendTo("#ayar_pan #px #tab-2").after('<label for="anket_kanali"  title="subjektif cevap yığınları"><span>#anket</span></label>');
        jQuery("<input/>", {
            type: "checkbox",
            id: "programlama_kanali",
            name: "programlama_kanali",
            onchange: "localStorage.programlama_kanali_Input = checked ? 'true' : ''"
        }).appendTo("#ayar_pan #px #tab-2").after('<label for="programlama_kanali"  title="yazılım geliştirme jargonu, araçları, teknikler, atasözleri"><span>#programlama</span></label>');
        jQuery("<input/>", {
            type: "checkbox",
            id: "meta_kanali",
            name: "meta_kanali",
            onchange: "localStorage.meta_kanali_Input = checked ? 'true' : ''"
        }).appendTo("#ayar_pan #px #tab-2").after('<label for="meta_kanali" title="bizzat ekşi sözlük hakkında"><span>#meta</span></label>');
        jQuery("<input/>", {
            type: "checkbox",
            id: "saglik_kanali",
            name: "saglik_kanali",
            onchange: "localStorage.saglik_kanali_Input = checked ? 'true' : ''"
        }).appendTo("#ayar_pan #px #tab-2").after('<label for="saglik_kanali" title="rahatsızlıklar, hastalıklar, ilaçlar, tedaviler, anatomi, hurafeler"><span>#sağlık</span></label>');
        e(function() {
            var t = localStorage.getItem("sinema_kanali");
            if (t !== null) {
                e("input[name='sinema_kanali']").attr("checked", "checked")
            }
        });
        e("input[name='sinema_kanali']").click(function() {
            if (e(this).is(":checked")) {
                localStorage.setItem("sinema_kanali", e(this).val())
            } else {
                localStorage.removeItem("sinema_kanali")
            }
        });
        if (localStorage.sinema_kanali_Input) {
            e(function() {
                e("#quick-index-nav").append('<li><a class="index-link kanal-z" href="/basliklar/channel?channelname=sinema" title="filmler, yönetmenler, teknikler, yarıda salonu terk etmeler">#sinema</a></li>')
            })
        } else {}
        e(function() {
            var t = localStorage.getItem("muzik_kanali");
            if (t !== null) {
                e("input[name='muzik_kanali']").attr("checked", "checked")
            }
        });
        e("input[name='muzik_kanali']").click(function() {
            if (e(this).is(":checked")) {
                localStorage.setItem("muzik_kanali", e(this).val())
            } else {
                localStorage.removeItem("muzik_kanali")
            }
        });
        if (localStorage.muzik_kanali_Input) {
            e(function() {
                e("#quick-index-nav").append('<li><a class="index-link" href="/basliklar/channel?channelname=m%c3%bczik" title="gruplar, parçalar, müzik teorileri, enstrümanlar, pena">#müzik</a></li>')
            })
        } else {}
        e(function() {
            var t = localStorage.getItem("siyaset_kanali");
            if (t !== null) {
                e("input[name='siyaset_kanali']").attr("checked", "checked")
            }
        });
        e("input[name='siyaset_kanali']").click(function() {
            if (e(this).is(":checked")) {
                localStorage.setItem("siyaset_kanali", e(this).val())
            } else {
                localStorage.removeItem("siyaset_kanali")
            }
        });
        if (localStorage.siyaset_kanali_Input) {
            e(function() {
                e("#quick-index-nav").append('<li><a class="index-link" href="/basliklar/channel?channelname=siyaset" title="partiler, politikacılar, terör, savaş kan ve korku">#siyaset</a></li>')
            })
        } else {}
        e(function() {
            var t = localStorage.getItem("bilim_kanali");
            if (t !== null) {
                e("input[name='bilim_kanali']").attr("checked", "checked")
            }
        });
        e("input[name='bilim_kanali']").click(function() {
            if (e(this).is(":checked")) {
                localStorage.setItem("bilim_kanali", e(this).val())
            } else {
                localStorage.removeItem("bilim_kanali")
            }
        });
        if (localStorage.bilim_kanali_Input) {
            e(function() {
                e("#quick-index-nav").append('<li><a class="index-link" href="/basliklar/channel?channelname=bilim" title="atom mühendisliğine giden yolda her konu">#bilim</a></li>')
            })
        } else {}
        e(function() {
            var t = localStorage.getItem("edebiyat_kanali");
            if (t !== null) {
                e("input[name='edebiyat_kanali']").attr("checked", "checked")
            }
        });
        e("input[name='edebiyat_kanali']").click(function() {
            if (e(this).is(":checked")) {
                localStorage.setItem("edebiyat_kanali", e(this).val())
            } else {
                localStorage.removeItem("edebiyat_kanali")
            }
        });
        if (localStorage.edebiyat_kanali_Input) {
            e(function() {
                e("#quick-index-nav").append('<li><a class="index-link" href="/basliklar/channel?channelname=edebiyat" title="kitaplar, yazarlar, ekoller, yayıncılar, ödüller ve niceleri">#edebiyat</a></li>')
            })
        } else {}
        e(function() {
            var t = localStorage.getItem("spor_kanali");
            if (t !== null) {
                e("input[name='spor_kanali']").attr("checked", "checked")
            }
        });
        e("input[name='spor_kanali']").click(function() {
            if (e(this).is(":checked")) {
                localStorage.setItem("spor_kanali", e(this).val())
            } else {
                localStorage.removeItem("spor_kanali")
            }
        });
        if (localStorage.spor_kanali_Input) {
            e(function() {
                e("#quick-index-nav").append('<li><a class="index-link" href="/basliklar/channel?channelname=spor" title="futbol, basketbol, tenis ve curling gibi ata sporları">#spor</a></li>')
            })
        } else {}
        e(function() {
            var t = localStorage.getItem("iliskiler_kanali");
            if (t !== null) {
                e("input[name='iliskiler_kanali']").attr("checked", "checked")
            }
        });
        e("input[name='iliskiler_kanali']").click(function() {
            if (e(this).is(":checked")) {
                localStorage.setItem("iliskiler_kanali", e(this).val())
            } else {
                localStorage.removeItem("iliskiler_kanali")
            }
        });
        if (localStorage.iliskiler_kanali_Input) {
            e(function() {
                e("#quick-index-nav").append('<li><a class="index-link" href="/basliklar/channel?channelname=ili%c5%9fkiler" title="sevgili, eski sevgili ve hoşlanılan kız">#ilişkiler</a></li>')
            })
        } else {}
        e(function() {
            var t = localStorage.getItem("tarih_kanali");
            if (t !== null) {
                e("input[name='tarih_kanali']").attr("checked", "checked")
            }
        });
        e("input[name='tarih_kanali']").click(function() {
            if (e(this).is(":checked")) {
                localStorage.setItem("tarih_kanali", e(this).val())
            } else {
                localStorage.removeItem("tarih_kanali")
            }
        });
        if (localStorage.tarih_kanali_Input) {
            e(function() {
                e("#quick-index-nav").append('<li><a class="index-link" href="/basliklar/channel?channelname=tarih" title="geçmişten günümüze hayatlar, insanlar">#tarih</a></li>')
            })
        } else {}
        e(function() {
            var t = localStorage.getItem("teknoloji_kanali");
            if (t !== null) {
                e("input[name='teknoloji_kanali']").attr("checked", "checked")
            }
        });
        e("input[name='teknoloji_kanali']").click(function() {
            if (e(this).is(":checked")) {
                localStorage.setItem("teknoloji_kanali", e(this).val())
            } else {
                localStorage.removeItem("teknoloji_kanali")
            }
        });
        if (localStorage.teknoloji_kanali_Input) {
            e(function() {
                e("#quick-index-nav").append('<li><a class="index-link" href="/basliklar/channel?channelname=teknoloji" title="cihazlar, yazılımlar, standartlar, mavi ekran">#teknoloji</a></li>')
            })
        } else {}
        e(function() {
            var t = localStorage.getItem("sanat_kanali");
            if (t !== null) {
                e("input[name='sanat_kanali']").attr("checked", "checked")
            }
        });
        e("input[name='sanat_kanali']").click(function() {
            if (e(this).is(":checked")) {
                localStorage.setItem("sanat_kanali", e(this).val())
            } else {
                localStorage.removeItem("sanat_kanali")
            }
        });
        if (localStorage.sanat_kanali_Input) {
            e(function() {
                e("#quick-index-nav").append('<li><a class="index-link" href="/basliklar/channel?channelname=sanat" title="teoriler, sanatçılar, sanat tarihi, ucubeler">#sanat</a></li>')
            })
        } else {}
        e(function() {
            var t = localStorage.getItem("tv_kanali");
            if (t !== null) {
                e("input[name='tv_kanali']").attr("checked", "checked")
            }
        });
        e("input[name='tv_kanali']").click(function() {
            if (e(this).is(":checked")) {
                localStorage.setItem("tv_kanali", e(this).val())
            } else {
                localStorage.removeItem("tv_kanali")
            }
        });
        if (localStorage.tv_kanali_Input) {
            e(function() {
                e("#quick-index-nav").append('<li><a class="index-link" href="/basliklar/channel?channelname=tv" title="tv kanalları, diziler, yarışmalar">#tv</a></li>')
            })
        } else {}
        e(function() {
            var t = localStorage.getItem("oyun_kanali");
            if (t !== null) {
                e("input[name='oyun_kanali']").attr("checked", "checked")
            }
        });
        e("input[name='oyun_kanali']").click(function() {
            if (e(this).is(":checked")) {
                localStorage.setItem("oyun_kanali", e(this).val())
            } else {
                localStorage.removeItem("oyun_kanali")
            }
        });
        if (localStorage.oyun_kanali_Input) {
            e(function() {
                e("#quick-index-nav").append('<li><a class="index-link" href="/basliklar/channel?channelname=oyun" title="video oyunları, konsollar, oyuncular, efsaneler, atari">#oyun</a></li>')
            })
        } else {}
        e(function() {
            var t = localStorage.getItem("anket_kanali");
            if (t !== null) {
                e("input[name='anket_kanali']").attr("checked", "checked")
            }
        });
        e("input[name='anket_kanali']").click(function() {
            if (e(this).is(":checked")) {
                localStorage.setItem("anket_kanali", e(this).val())
            } else {
                localStorage.removeItem("anket_kanali")
            }
        });
        if (localStorage.anket_kanali_Input) {
            e(function() {
                e("#quick-index-nav").append('<li><a class="index-link" href="/basliklar/channel?channelname=anket" title="subjektif cevap yığınları">#anket</a></li>')
            })
        } else {}
        e(function() {
            var t = localStorage.getItem("programlama_kanali");
            if (t !== null) {
                e("input[name='programlama_kanali']").attr("checked", "checked")
            }
        });
        e("input[name='programlama_kanali']").click(function() {
            if (e(this).is(":checked")) {
                localStorage.setItem("programlama_kanali", e(this).val())
            } else {
                localStorage.removeItem("programlama_kanali")
            }
        });
        if (localStorage.programlama_kanali_Input) {
            e(function() {
                e("#quick-index-nav").append('<li><a class="index-link" href="/basliklar/channel?channelname=programlama" title="yazılım geliştirme jargonu, araçları, teknikler, atasözleri">#programlama</a></li>')
            })
        } else {}
        e(function() {
            var t = localStorage.getItem("meta_kanali");
            if (t !== null) {
                e("input[name='meta_kanali']").attr("checked", "checked")
            }
        });
        e("input[name='meta_kanali']").click(function() {
            if (e(this).is(":checked")) {
                localStorage.setItem("meta_kanali", e(this).val())
            } else {
                localStorage.removeItem("meta_kanali")
            }
        });
        if (localStorage.meta_kanali_Input) {
            e(function() {
                e("#quick-index-nav").append('<li><a class="index-link" href="/basliklar/channel?channelname=meta" title="bizzat ekşi sözlük hakkında">#meta</a></li>')
            })
        } else {}
        e(function() {
            var t = localStorage.getItem("saglik_kanali");
            if (t !== null) {
                e("input[name='saglik_kanali']").attr("checked", "checked")
            }
        });
        e("input[name='saglik_kanali']").click(function() {
            if (e(this).is(":checked")) {
                localStorage.setItem("saglik_kanali", e(this).val())
            } else {
                localStorage.removeItem("saglik_kanali")
            }
        });
        if (localStorage.saglik_kanali_Input) {
            e(function() {
                e("#quick-index-nav").append('<li><a class="index-link" href="/basliklar/channel?channelname=sa%c4%9fl%c4%b1k" title="rahatsızlıklar, hastalıklar, ilaçlar, tedaviler, anatomi, hurafeler">#sağlık</a></li>')
            })
        } else {}
    }
    e()
})();
(function() {
    function e() {
        if (typeof unsafeWindow.jQuery == "undefined") window.setTimeout(e, 0);
        else unsafeWindow.jQuery(function() {
            t(unsafeWindow.jQuery)
        })
    }

    function t(e) {
        var t = new Date;
        var n = t.getMonth() + 1;
        var r = t.getDate();
        var i = t.getFullYear() + "-" + (n < 10 ? "0" : "") + n + "-" + (r < 10 ? "0" : "") + r;
        var s = ["ocak", "şubat", "mart", "nisan", "mayıs", "haziran", "temmuz", "ağustos", "eylül", "ekim", "kasım", "aralık"];
        var o = s[t.getMonth()];
        var u = new Date;
        u.setDate(u.getDate() - 7);
        var a = u.getMonth() + 1;
        var f = u.getDate();
        var l = u.getFullYear() + "-" + (a < 10 ? "0" : "") + a + "-" + (f < 10 ? "0" : "") + f;
        var c = (new Date).getFullYear();
        jQuery("<input/>", {
            type: "checkbox",
            id: "yenile_panel",
            name: "yenile_panel",
            onchange: "localStorage.yenile_panelInput = checked ? 'true' : ''"
        }).appendTo("#ayar_pan #px #tab-3").after('<label for="yenile_panel" title="kanallar için yenileme butonu"><span>Yenile</span></label>');
        e(function() {
            var t = localStorage.getItem("yenile_panel");
            if (t !== null) {
                e("input[name='yenile_panel']").attr("checked", "checked")
            }
        });
        e("input[name='yenile_panel']").click(function() {
            if (e(this).is(":checked")) {
                localStorage.setItem("yenile_panel", e(this).val())
            } else {
                localStorage.removeItem("yenile_panel")
            }
        });
        jQuery("<input/>", {
            type: "checkbox",
            id: "sicak_panel",
            name: "sicak_panel",
            onchange: "localStorage.sicak_panelInput = checked ? 'true' : ''"
        }).appendTo("#ayar_pan #px #tab-3").after('<label for="sicak_panel"  title="gündem butonundan farklı olarak günün en çok konuşulanları"><span>Sıcak</span></label>');
        e(function() {
            var t = localStorage.getItem("sicak_panel");
            if (t !== null) {
                e("input[name='sicak_panel']").attr("checked", "checked")
            }
        });
        e("input[name='sicak_panel']").click(function() {
            if (e(this).is(":checked")) {
                localStorage.setItem("sicak_panel", e(this).val())
            } else {
                localStorage.removeItem("sicak_panel")
            }
        });
        jQuery("<input/>", {
            type: "checkbox",
            id: "gavo_panel",
            name: "gavo_panel",
            onchange: "localStorage.gavo_panelInput = checked ? 'true' : ''"
        }).appendTo("#ayar_pan #px #tab-3").after('<label for="gavo_panel"  title="günün anlam ve önemi"><span>Gavö</span></label>');
        e(function() {
            var t = localStorage.getItem("gavo_panel");
            if (t !== null) {
                e("input[name='gavo_panel']").attr("checked", "checked")
            }
        });
        e("input[name='gavo_panel']").click(function() {
            if (e(this).is(":checked")) {
                localStorage.setItem("gavo_panel", e(this).val())
            } else {
                localStorage.removeItem("gavo_panel")
            }
        });
        jQuery("<input/>", {
            type: "checkbox",
            id: "ghsm_panel",
            name: "ghsm_panel",
            onchange: "localStorage.ghsm_panelInput = checked ? 'true' : ''"
        }).appendTo("#ayar_pan #px #tab-3").after('<label for="ghsm_panel"  title="geçen haftanın şükela modu"><span>Ghşm</span></label>');
        e(function() {
            var t = localStorage.getItem("ghsm_panel");
            if (t !== null) {
                e("input[name='ghsm_panel']").attr("checked", "checked")
            }
        });
        e("input[name='ghsm_panel']").click(function() {
            if (e(this).is(":checked")) {
                localStorage.setItem("ghsm_panel", e(this).val())
            } else {
                localStorage.removeItem("ghsm_panel")
            }
        });
        jQuery("<input/>", {
            type: "checkbox",
            id: "debe_panel",
            name: "debe_panel",
            onchange: "localStorage.debe_panelInput = checked ? 'true' : ''"
        }).appendTo("#ayar_pan #px #tab-3").after('<label for="debe_panel" title="dünün en beğenilen entryleri"><span>Debe</span></label>');
        e(function() {
            var t = localStorage.getItem("debe_panel");
            if (t !== null) {
                e("input[name='debe_panel']").attr("checked", "checked")
            }
        });
        e("input[name='debe_panel']").click(function() {
            if (e(this).is(":checked")) {
                localStorage.setItem("debe_panel", e(this).val())
            } else {
                localStorage.removeItem("debe_panel")
            }
        });
        if (localStorage.yenile_panelInput || localStorage.sicak_panelInput || localStorage.gavo_panelInput || localStorage.ghsm_panelInput) {
            e(function() {
                e("#index-section").prepend('<div id="y-panel"> </div>')
            })
        } else {}
        if (localStorage.yenile_panelInput) {
            e(function() {
                e("#y-panel").append('<a id="yenile_bt" href="/basliklar/bugun" class="index-link" multilinks-noscroll="true" >yenile</a>');
                e(function() {
                    if (e("h2:contains('#sinema')").length) {
                        e("#yenile_bt").attr("href", "/basliklar/channel?channelname=sinema")
                    } else if (e("h2:contains('#siyaset')").length) {
                        e("#yenile_bt").attr("href", "/basliklar/channel?channelname=siyaset")
                    } else if (e("h2:contains('#müzik')").length) {
                        e("#yenile_bt").attr("href", "/basliklar/channel?channelname=m%c3%bczik")
                    } else if (e("h2:contains('#bilim')").length) {
                        e("#yenile_bt").attr("href", "/basliklar/channel?channelname=bilim")
                    } else if (e("h2:contains('#edebiyat')").length) {
                        e("#yenile_bt").attr("href", "/basliklar/channel?channelname=edebiyat")
                    } else if (e("h2:contains('#spor')").length) {
                        e("#yenile_bt").attr("href", "/basliklar/channel?channelname=spor")
                    } else if (e("h2:contains('#ilişkiler')").length) {
                        e("#yenile_bt").attr("href", "/basliklar/channel?channelname=ili%c5%9fkiler")
                    } else if (e("h2:contains('#tarih')").length) {
                        e("#yenile_bt").attr("href", "/basliklar/channel?channelname=tarih")
                    } else if (e("h2:contains('#teknoloji')").length) {
                        e("#yenile_bt").attr("href", "/basliklar/channel?channelname=teknoloji")
                    } else if (e("h2:contains('#sanat')").length) {
                        e("#yenile_bt").attr("href", "/basliklar/channel?channelname=sanat")
                    } else if (e("h2:contains('#tv')").length) {
                        e("#yenile_bt").attr("href", "/basliklar/channel?channelname=tv")
                    } else if (e("h2:contains('#oyun')").length) {
                        e("#yenile_bt").attr("href", "/basliklar/channel?channelname=oyun")
                    } else if (e("h2:contains('#anket')").length) {
                        e("#yenile_bt").attr("href", "/basliklar/channel?channelname=anket")
                    } else if (e("h2:contains('#programlama')").length) {
                        e("#yenile_bt").attr("href", "/basliklar/channel?channelname=programlama")
                    } else if (e("h2:contains('#meta')").length) {
                        e("#yenile_bt").attr("href", "/basliklar/channel?channelname=meta")
                    } else if (e("h2:contains('#sağlık')").length) {
                        e("#yenile_bt").attr("href", "/basliklar/channel?channelname=sa%c4%9fl%c4%b1k")
                    } else {}
                    e("#channel-follow-list a, #quick-index-nav a, a.kanal-z").click(function() {
                        var t = e(this).attr("href");
                        e("#yenile_bt").attr("href", t)
                    })
                })
            })
        } else {}
        if (localStorage.sicak_panelInput) {
            e(function() {
                e("#y-panel").append('     <a title="Bugün neler konuşulmuş?" href="/basliklar/ara?searchForm.Keywords=&searchForm.Author=&searchForm.When.From=' + i + "&searchForm.When.To=" + i + '&searchForm.NiceOnly=false&searchForm.SortOrder=Count" class="nolmus index-link" multilinks-noscroll="true">sıcak</a>   ')
            })
        } else {}
        if (localStorage.ghsm_panelInput) {
            e(function() {
                e("#y-panel").append(' <a title="Geçen haftanın şukela modu" href="/basliklar/ara?searchForm.Keywords=&searchForm.Author=&searchForm.When.From=' + l + "&searchForm.When.To=" + i + '&searchForm.NiceOnly=true&searchForm.NiceOnly=false&searchForm.SortOrder=Count&_=1411059950024" class="nolmus index-link" multilinks-noscroll="true" >ghşm</a>  ')
            })
        } else {}
        if (localStorage.gavo_panelInput) {
            e(function() {
                e("#y-panel").append(' <a href="/basliklar/ara?searchForm.Keywords=' + r + "+" + o + "+" + c + '&searchForm.Author=&searchForm.When.From=&searchForm.When.To=&searchForm.NiceOnly=false&searchForm.SortOrder=Count" class="nolmus index-link" multilinks-noscroll="true" title="günün anlam ve önemi" >gavö</a>')
            })
        } else {}
        if (localStorage.debe_panelInput) {
            e(function() {
                e("#y-panel").append('      <a href="/istatistik/dunun-en-begenilen-entryleri" class="nolmus index-link" multilinks-noscroll="true" title="Dünün en beğenilen entryleri" >debe</a> ')
            })
        } else {}
    }
    e()
})();
(function() {
    function e() {
        if (typeof unsafeWindow.jQuery == "undefined") window.setTimeout(e, 0);
        else unsafeWindow.jQuery(function() {
            t(unsafeWindow.jQuery)
        })
    }

    function t(e) {
        e("#ayar_pan #px #tab-4 .aciklama").after('<div style="float: left;width: 50%;height: 200px;padding: 10px;"><span style="-webkit-user-select: none;-moz-user-select: none;color:#333;">kelimelerin olduğu başlıklar sol frame\'de farklı renkte görünecektir </span><br /><span style="-webkit-user-select: none;-moz-user-select: none;">Göster: </span><input type="text" name="filtre_goster" id="filtre_goster" class="stored" value="" /><div id="filtre_goster_kelimeler"></div></div>');
        e("#ayar_pan #px #tab-4 .aciklama").after('<div style="float: left;width: 50%;height: 200px;padding: 10px;border-right: solid 1px #ccc;"><span style="-webkit-user-select: none;-moz-user-select: none;color:#333;">kelimelerin olduğu başlıklar sol frame\'de gizlenecektir </span><br /><span style="-webkit-user-select: none;-moz-user-select: none;">Gizle: </span><input type="text" name="filtre_gizle" id="filtre_gizle" class="stored" value="" /><div id="filtre_gizle_kelimeler"></div></div>');
        e(document).ready(function() {
            function t() {
                if (localStorage["filtre_goster"]) {
                    e("#filtre_goster").val(localStorage["filtre_goster"])
                }
            }
            t()
        });
        e(".stored").keyup(function() {
            localStorage[e(this).attr("name")] = e(this).val()
        });
        var t = localStorage.getItem("filtre_goster");
        if (t==null) t="";
            n = t.split("*");
        e("#filtre_goster").after("<br>" + n + "<br />");
        e.each(n, function(t, n) {
            if (e.trim(n).length > 0) {
                var r = e("body").css("backgroundColor");
                if (r == "rgb(235, 235, 235)") {
                    e(".topic-list.partial li:Contains('" + n + "')").css("backgroundColor", "#aaa").css("padding", "2px").css("fontWeight", "bold");
                    e(".topic-list.partial li:Contains('" + n + "')").find("a").css("color", "#333")
                } else if (r == "rgb(45, 45, 45)") {
                    e(".topic-list.partial li:Contains('" + n + "')").css("backgroundColor", "#555").css("padding", "2px").css("fontWeight", "bold");
                    e(".topic-list.partial li:Contains('" + n + "')").find("a").css("color", "#fff")
                } else {
                    e(".topic-list.partial li:Contains('" + n + "')").css("backgroundColor", "red")
                }
            }
        });
        e(document).ready(function() {
            function t() {
                if (localStorage["filtre_gizle"]) {
                    e("#filtre_gizle").val(localStorage["filtre_gizle"])
                }
            }
            t()
        });
        e(".stored").keyup(function() {
            localStorage[e(this).attr("name")] = e(this).val()
        });
        var r = localStorage.getItem("filtre_gizle");
        if (r == null) r = "";    
        i = r.split("*");
        e("#filtre_gizle").after("<br>" + i + "<br />");
        e.each(i, function(t, n) {
            if (e.trim(n).length > 0) {
                e(".topic-list.partial li:Contains('" + n + "')").hide()
            }
        })
    }
    e()
})()