While we're waiting for a proper solution for embedding Bible passages, I created a hacky userscript (my first ever). I've used it for almost a week now and am happy with it. Works on Firefox and Chrome. No warranty, etc.

Download / Review source code


The script inserts a textarea below the passage, looking something like this (screenshot taken before some bugfixes):

A screenshot of userscript-modified BibleGateway

The textarea content is ready for copy-paste, and should look quite nice. Example:

Psalm 23 (MSG)
 1-3 God, my shepherd! I don't need a thing.
   You have bedded me down in lush meadows,
      you find me quiet pools to drink from.
   True to your word,
      you let me catch my breath
      and send me in the right direction.

 4 Even when the way goes through
      Death Valley,
   I'm not afraid
      when you walk at my side.
   Your trusty shepherd's crook
      makes me feel secure.

 5 You serve me a six-course dinner
      right in front of my enemies.
   You revive my drooping head;
      my cup brims with blessing.

 6 Your beauty and love chase after me
      every day of my life.
   I'm back home in the house of God
      for the rest of my life.

Now, there probably are bugs. I won't promise to fix them, but you can try reporting here or in the Github issue tracker. Even better if you can provide fixes.

share
    
Nice script. I forked and made a small modification. –  JustinY Sep 9 '11 at 2:13
    
@JustinY: thanks! I've updated the script, correcting the problems you pointed out! –  dancek Sep 12 '11 at 4:43
add comment

3 Answers

This is great -- have you considered listing it on Stack Apps on the scripts tab?

http://stackapps.com/?tab=apps

share
    
add comment

This is awesome. I have forked your version and made a few modifications to the output format. My modified version can be found on the StackApps site.

share
add comment

Here's Caleb's version:

John 3:16 (NIV)
16 For God so loved the world that he gave his one and only Son, that whoever believes in him shall not perish but have eternal life.


Here's dancek's version:

John 3:16 (NIV)

16 For God so loved the world that he gave his one and only Son, that whoever believes in him shall not perish but have eternal life.


Take your pick!


I just got notified on a greasemonkey update, haven't been using this as much as I should, but this is what I get now:

John 3:16 (NIV)

16  For God so lovedA)"> the world that he gaveB)"> his one and only Son,C)"> that whoever believesD)"> in him shall not perish but have eternal life.E)">

share
    
Good stuff, though having looked at the diff I thought there would've been more changes... Perhaps they were only related to the markdown formatting, i.e. not visible to the viewer. –  dancek Feb 6 '12 at 9:45
    
That looks like a biblegateway format change. You might try it with my script and use the most recent version because I've updated it to clean up some new markup several times. –  Caleb Oct 5 '12 at 4:58
add comment

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .