Hirdetés

Új hozzászólás Aktív témák

  • dqdb

    Topikgazda

    válasz Penge_4 #9826 üzenetére

    Igen, mert a kód a PH oldalain cserélte le a linkeket. Íme egy olyan, ami átirányítja a böngészőt a megfelelő címre érkezéskor:

    // ==UserScript==
    // @name prohardver.hu : forum : redirect to fresh content
    // @namespace http://www.prohardver.hu/
    // @include http://www.prohardver.hu/tema/*
    // @include http://prohardver.hu/tema/*
    // @include http://www.mobilarena.hu/tema/*
    // @include http://mobilarena.hu/tema/*
    // @include http://www.itcafe.hu/tema/*
    // @include http://itcafe.hu/tema/*
    // @include http://www.logout.hu/tema/*
    // @include http://logout.hu/tema/*
    // @include http://www.gamepod.hu/tema/*
    // @include http://gamepod.hu/tema/*
    // ==/UserScript==
    var re = /(www\.)?(prohardver|mobilarena|gamepod|itcafe|logout)\.hu\/tema\/(\w+)\/hsz_(\d+)\-(\d+)\.html/;
    var result = window.location.href.match(re);
    if (result)
    {
    var www = result[1];
    if (www == null)
    www = "";
    var site = result[2];
    var topic = result[3];
    var from = result[4];
    var until = result[5];
    if (from != until)
    window.location.replace("http://" + www + site + ".hu/tema/" + topic + "/friss.html#msg" + from);
    }

    Ezt óvatosan használd, mert innentől kezdve a fórum oldalai közötti lapozás, mint funkció megszűnik.

    tAm6DAHNIbRMzSEARWxtZW50ZW0gdmFka5RydIJ6bmkuDQoNClOBc4Ek

Új hozzászólás Aktív témák