Slyfoot (slyfoot) wrote in lj_nifty,
Slyfoot
slyfoot
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://*.livejournal.com/*
// @exclude http://*.livejournal.com/*s2id=*
// @exclude http://*.livejournal.com/*style=*
// @exclude http://*.livejournal.com/*.bml*
// @exclude http://www.livejournal.com/doc/*
// @exclude http://*.livejournal.com/profile*
// @exclude http://*.livejournal.com/data/*
// @exclude http://pics.livejournal.com/*
// @exclude http://www.livejournal.com/portal/*
// ==/UserScript==

location.search+=(location.search?'&':'?')+'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 "livejournal.com" 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.
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 35 comments