Slyfoot (slyfoot) wrote in lj_nifty,

View All Journals And Communities In Your S2 Style (Opera)

I don't know if this has been posted here yet, but if not I'm sure that someone might appreciate it. Here's a simple JavaScript that makes it possible to always view other journals and communities in your own layout style (S2 only). First create a text file such as "LJ.JS" then paste the following code:

// ==UserScript==
// @name My_LiveJournal_Style
// @include http://**
// @exclude http://**s2id=*
// @exclude http://**style=*
// @exclude http://**.bml*
// @exclude*
// @exclude http://**
// @exclude http://**
// @exclude*
// @exclude*
// ==/UserScript=='&':'?')+'style=mine';

After you do that, save the file and place LJ.JS in whatever directory you want. Go to Tools -> Preferences -> Advanced Tab -> Content, and click on the Manage Site Preferences button. Add "" and click the "Edit" button. When the Site Preferences dialog pops up, click the Scripting tab, be sure that "Enable Javascript" is checked, then look for the "User JavaScript Files" text box and then enter the directory where you placed LJ.JS

After that, you should always be able to see communities and journals in your own S2 style when you are logged in, even when you reply to comments from within emails!

I did this with help from cat_irix because I couldn't get the Greasemonkey script to work with Opera.
  • Post a new comment


    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded