Greasemonkey

Jan 06, 2007 20:54

If you use Firefox and Greasemonkey  you might be interested in this script I just wrote. Its the first script I have written for Greasemonkey, but I have been using it without issue. What it does is allow you to view the content behind LJ Cuts without having to leave the current page you are on (or open a new window/tab). Simply click the cut link, and the text will appear right below it. Click the link again (or the hide link at the bottom of the post) to make it go away.

Here are two screen shots of my post below.

Before:



After:



You will know that the script has modified the link because it will be enclosed with between a stars. In the example above, the cut link text was "Cut Link" and it was changed to "**Cut Link**"

You can get the script from http://www.stillnotchase.com/userscripts/inlineljcut.user.js

If you don't have firefox or greasemonkey, but you want to get them, follow the links at the top of the post.

Current Issues:
Currently the contents shown when you click a cut link are from the point of the cut until the end of the post. This means that if there are other cuts and/or uncut text after the cut that you click, the content that is shown is going to include the contents of those cuts and the uncut text.

If you do use it, please let me know. Feel free to let me know any feedback you have on it as well.
Previous post
Up