nonethefewer: (Default)
[personal profile] nonethefewer
If you have the LJ Taglister Greasemonkey script installed, you may want to update it for Dreamwidth usage.

The first thing you do is add the following two includes:

http://*.dreamwidth.org/update.bml*
http://*.dreamwidth.org/editjournal.bml*


Second, edit the script to change these three sections:

1) From:

tagItem.href="http://"+usejournal+".livejournal.com/tag/"+tag[0].replace(/ /g,'+');

To:

if (window.location.href.indexOf("livejournal.com") > -1) {
    tagItem.href="http://"+usejournal+".livejournal.com/tag/"+tag[0].replace(/ /g,'+');
} else {
    tagItem.href="http://"+usejournal+".dreamwidth.org/tag/"+tag[0].replace(/ /g,'+');
}



2) Look for this line: usejournal = getJournal();

Under that line, add this block:

if (window.location.href.indexOf("livejournal.com") > -1) {
    var xurl = "http://"+usejournal+".livejournal.com/tag/?format=light";
} else {
    var xurl = "http://"+usejournal+".dreamwidth.org/tag/?format=light";
}


And a couple of lines down, change from:

url: "http://"+usejournal+".livejournal.com/tag/?format=light",

To:

url: xurl,


3) From:

tagsTextbox.parentNode.insertBefore(tagslistpkg, tagsTextbox.nextSibling.nextSibling);

To:

if (window.location.href.indexOf("livejournal.com") > -1) {
    tagsTextbox.parentNode.insertBefore(tagslistpkg, tagsTextbox.nextSibling.nextSibling);
} else {
    tagsTextbox.parentNode.insertBefore(tagslistpkg, tagsTextbox.nextSibling);
}
This account has disabled anonymous posting.
If you don't have an account you can create one now.
No Subject Icon Selected
More info about formatting

February 2022

S M T W T F S
  12345
6789101112
13141516171819
20212223242526
2728     

Style Credit

Expand Cut Tags

No cut tags
Page generated Aug. 5th, 2025 10:31 am
Powered by Dreamwidth Studios