Hallo Mithrandir
Entschuldige, dass ich mich erst heute bedanke. Bin erst heute zum testen gekommen.
Deine Änderung hat es gebracht.
Läuft wieder einwandfrei mit dem Loader Script.
Vielen Dank nochmals.
Endor
Hallo Mithrandir
Entschuldige, dass ich mich erst heute bedanke. Bin erst heute zum testen gekommen.
Deine Änderung hat es gebracht.
Läuft wieder einwandfrei mit dem Loader Script.
Vielen Dank nochmals.
Endor
Gute Nachricht vom Autor "Mindeye" des Skriptes "YousableTubefix":
ZitatI'll make the change, but I don't understand why "(window !== window.top)" is problematic and "(window.self !== window.top)" isn't.
Gute Nachricht. Danke Mithrandir.
Schönen Sonntag.
Endor
Gestern gab's ein Update für "Yousabletubefix" - auf den ersten Blick scheint der Fix nun enthalten zu sein (ich habe nur nach "Iframe" gesucht und die Änderung mit "window.self" gefunden).
Hallo Mithrandir
Ja habe ich gestern gleich mal installiert.
Funktioniert Einwandfrei mit dem Loader Script.
Danke nochmals für Deine Mühe.
Schönen Sonntag.
Endor
Hallo Mithrandir.
Das Script, für den Zitieren Button, hier im Forum tut es seit letztem Update
der Forum Software nicht mehr. http://www.ardiman.de/assets/files/f…gin_to_.user.js
Hinweis: ich verwende das Loader Script aus eurer Sammlung, nicht die entsprechende Erweiterung.
Könntest Du Dir das vielleicht nochmals anschauen?
Bei klick auf Zitieren kommt einloggen wie immer, funktioniert auch,aber die Weiterleitung zum
entsprechenden Posting, bzw. zum schreiben geht nicht.
Es kommt nur die Seite mit dem Hinweis:
„Das von dir ausgewählte Forum existiert nicht.“
Vielen Dank im Voraus.
Mfg.
Endor
Hi Endor, der erstere funktioniert bei mir.
// ==UserScript==
// @name camp-firefox.de Login To Quote
// @namespace boardraider@camp-firefox.de
// @description http://userscripts.org/scripts/show/51045
// @version 0.1
// @date 2009-06-08
// @copyright 2009, boardraider
// @license GPL 2 or later
// @include http://www.camp-firefox.de/forum/viewtopic.php?*
// ==/UserScript==
//
// -----------------------------------------------------------------------------
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; either version 2 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>.
//
// -----------------------------------------------------------------------------
(function () {
var link = document.evaluate("//li[@class = 'icon-logout']/a",
document, null, XPathResult.FIRST_ORDERED_NODE_TYPE,
null).singleNodeValue;
if (link.textContent.match("Anmelden")) {
// not logged in
var forumID = document.evaluate("//a[@class = 'print']",
document, null, XPathResult.FIRST_ORDERED_NODE_TYPE,
null).singleNodeValue.href.split("f=")[1].split("&")[0];
var postBodies = document.evaluate("//div[@class = 'postbody']", document,
null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
var body, ul, postID;
for (var i = 0; i < postBodies.snapshotLength; i++) {
body = postBodies.snapshotItem(i);
postID = document.evaluate(".//a[starts-with(@href, '#p')]",
body, null, XPathResult.FIRST_ORDERED_NODE_TYPE,
null).singleNodeValue.href.split("#p")[1];
ul = document.createElement("ul");
ul.setAttribute("class", "profile-icons");
ul.innerHTML = "<li class=\"quote-icon\">" +
"<a href=\"./ucp.php?mode=login&redirect=" +
"http://www.camp-firefox.de/forum/posting.php?mode=quote%26" +
"f=" + forumID + "%26p=" + postID + "\" " +
"title=\"Mit Zitat antworten\"><span>Mit Zitat antworten</a></li>";
body.insertBefore(ul, body.firstChild);
}
}
})();
Alles anzeigen
Bei diesem ist das selbige Verhalten wie von Dir beschrieben.
// ==UserScript==
// @name camp-firefox.de Login To Quote
// @namespace boardraider@camp-firefox.de
// @description http://userscripts.org/scripts/show/51045
// @version 0.1b
// @date 2009-06-08
// @copyright 2009, boardraider
// @license GPL 2 or later
// @include http://www.camp-firefox.de/forum/viewtopic.php?*
// @include http://www.camp-firefox.de/posting.php*
// ==/UserScript==
//
// 0.1 -> 0.1b= Change by Mithrandir (fixes false redirect)
// Download on http://www.ardiman.de/assets/files/firefox/camp-firefoxde_login_to_.user.js
// See http://www.camp-firefox.de/forum/viewtopic.php?f=16&t=93498 also
// -----------------------------------------------------------------------------
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation; either version 2 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>.
//
// -----------------------------------------------------------------------------
(function () {
// feststellen, ob falsche Weiterleitung aktiv:
var aurl=document.location.href;
if (aurl.substring(0,38)=="http://www.camp-firefox.de/posting.php") {
var nurl=aurl.replace(/http:\/\/www.camp-firefox.de\/posting.php/g,"http://www.camp-firefox.de/forum/posting.php");
window.document.location=nurl;
}
else {
var link = document.evaluate("//li[@class = 'icon-logout']/a",
document, null, XPathResult.FIRST_ORDERED_NODE_TYPE,
null).singleNodeValue;
if (link.textContent.match("Anmelden")) {
// not logged in
var forumID = document.evaluate("//a[@class = 'print']",
document, null, XPathResult.FIRST_ORDERED_NODE_TYPE,
null).singleNodeValue.href.split("f=")[1].split("&")[0];
var postBodies = document.evaluate("//div[@class = 'postbody']", document,
null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
var body, ul, postID;
for (var i = 0; i < postBodies.snapshotLength; i++) {
body = postBodies.snapshotItem(i);
postID = document.evaluate(".//a[starts-with(@href, '#p')]",
body, null, XPathResult.FIRST_ORDERED_NODE_TYPE,
null).singleNodeValue.href.split("#p")[1];
ul = document.createElement("ul");
ul.setAttribute("class", "profile-icons");
ul.innerHTML = "<li class=\"quote-icon\">" +
"<a href=\"./ucp.php?mode=login&redirect=" +
"http://www.camp-firefox.de/forum/posting.php?mode=quote&" +
"f=" + forumID + "&p=" + postID + "\" " +
"title=\"Mit Zitat antworten\"><span>Mit Zitat antworten</a></li>";
body.insertBefore(ul, body.firstChild);
}
}
}
})();
Alles anzeigen
Syntax: Direkt über Greasemonkey
Hallo ReVox.
Vielen Dank. !!!
Das erste funktioniert hier auch einwandfrei.
:klasse:
Mfg.
Endor
Hallo Mithrandir
Ich habe hier noch ein GM Script das nur mit der Greasemonkey Erweiterung läuft.
Mit der aktuellen Version, des Loader Scripts geht es leider nicht mehr.
Könntest Du eventuell mal einen Blick darauf werfen?
http://userscripts.org/scripts/show/1455
Vielen Dank im Voraus, für Deine Mühe.
Mfg.
Endor