New Chrome Extension: Bible vocab

54 views
Skip to first unread message

Patrick Tang

unread,
Mar 15, 2023, 1:55:21 PM3/15/23
to STEP Bible Forum
I developed a Chrome Extension (Bible vocab) which provides the STEPBible style popup to show defintion of Biblical words when you hover your mouse over a verse number at the following websites:
- YouVersion's Bible.com - Biblica.com - eBible.org - BibleSearch (bibles.org) - BibleGateway.com It works on all Bible translations in any languages. For example, I can read the NLT or less common Chinese translation on Bible.com and get the following:
1) the word defintions
2) list of verses with the same word
Below are screenshots of using the Chrome extension on Bible.com.
Please install it from the Goolge Chrome store, try it and send me feedbacks.  If you like it, please give a review on the Chrome store.  



Coburn Ingram

unread,
Mar 18, 2023, 2:57:08 PM3/18/23
to patric...@gmail.com, STEP Bible Forum
Very nice. Several questions.
  1. Why is this packaged as an extension? Does it need special permissions? Or could it be adapted to run as Javascript from a local file?
  2. Can it be used on any HTML Bible file? I have attached one as an example.

    Thanks

--
To restrict emails to only important news:
. . go to https://groups.google.com/forum/#!forum/stepbibleforum
. . then click on the Personal Options (the head+cog icon),
. . and select "...Email setting" > Don't send email updates"
---
You received this message because you are subscribed to the Google Groups "STEP Bible Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to StepBibleForu...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/StepBibleForum/14cc26d8-8333-49d3-91ac-2e9d5d981be3n%40googlegroups.com.
c0238.htm

Patrick Tang

unread,
Mar 18, 2023, 5:22:47 PM3/18/23
to Coburn Ingram, STEP Bible Forum
Hello Coburn,

It is a Chrome extension because it is the only way to implement the functions provided.  The permissions required by the extension are deliberately limited.  For example, we have only requested permission for the extension to work on a few Bible websites (e.g.: bible.com, biblica.com, ...).  

Theoretically, the Javascript of this extension could be redeveloped and then manually added to each of your html file.  Practically, I would not add this function to a local file.  

Patrick


Coburn Ingram

unread,
Mar 19, 2023, 12:27:23 PM3/19/23
to Patrick Tang, STEP Bible Forum
Thank you. Some of your explanation is not crystal-clear to me. First of all, you say, "It is the only way to implement the functions provided." Do you mean that the browser security restrictions will not allow you to access files and websites, etc. unless it is through an extension? Or could you (instead of the extension) manually run a script (e.g." /home/user/Documents/Bibles/definitions.js" or "~/definitions.html" on Linux of course) that would theoretically have all the permissions needed to execute the same functions? I know that one common security restriction is that local files are not allowed to read other local files, except within the same directory, or by user permission, e.g. with a button.

Because then you say, "Theoretically... this extension could be redeveloped." That seems to say that yes, there is a way to do this, and you are not limited to the functions of the extension, as you stated before. I feel like you are condensing the information in your mind, and giving me a simplified answer. Please elaborate a tiny bit. Can this be done locally?

The use-case I have in mind is being able to use this function from files on a thumbdrive, without modifying the browser, or really, without leaving much of a footprint at all. My laptop recently went down and that was exactly my situation. I was carrying around a thumbdrive (and trying to remember not to leave it in my pocket when I put my pants in the laundry) and accessing my BIble reading at work, where even though we live in a small remote town, the techs are very proud of their system winning awards and being "better security than Microsoft." To what end, I can't imagine. Still, I wanted to be discreet and not give my employer any questions to ask. Currently I can browse any HTML or PDF Bible file, but I don't have search or lookup. I was hoping there was a Javascript way to do that.

Thanks,

Coby

William K.

unread,
Mar 20, 2023, 4:41:05 AM3/20/23
to STEP Bible Forum
Hello Patrick,

Good idea and execution, it's working fine on every sites linked.
Maybe I shall suggest to you that extension shall be (always ? or at installation) activated or "on" ; otherwise a newbie shall understand "it's not working" ; and experts know how to deactivate every extension. Except this small enhancement, congrats Patrick,

Let be all of us blessed by the Eternal

Patrick Tang

unread,
Mar 21, 2023, 12:38:53 AM3/21/23
to Coburn Ingram, STEP Bible Forum
To: STEP BIble Forum users,

The following is a conversation on computer programming so feel free to skip this message.  

Coby:

Your use case reminds me of the blessed person ... who delights in the law of the Lord and meditates on it day and night.  May you be blessed...

The Chrome extension requires network access to www.stepbible.org to retrieve the definitions of the Biblical words and verses with the same word.  The network access to www.stepbible.org is transparent to the user and is efficient.  I don't know if your use case has access to the Internet or not.  

The solution you mentioned (to create a definitions.js) will require modifying HTML files to download your definition.js.  All the HTML files you want to have this function will need to be updated with the addition of definition.js.  That solution will be a new software development effort and is totally different from the Chrome extension.  It will be an effort that requires about two months of programmer's time to rewrite the functions of the Chrome extension.  

A Javascript in a html or js file cannot perform the function of a Chrome extension.  For additional information, I suggest reading the documentation on JavaScript programming and Chrome Extension.  If you have further questions on programming, you might want to post your questions to other Internet sites for programming.  

I recently started my learning on Chrome Extension.  It probably took me about a week of reading and then a month of programming before I have a good understanding of Chrome extension.  I tested my Chrome extension for a few weeks so I know the code is fast and reliable, but I am not the person to explain it or talk about programming for another use case.

Blessings,
Patrick

Pil Mung

unread,
Apr 7, 2023, 5:02:12 AM4/7/23
to Patrick Tang, Coburn Ingram, STEP Bible Forum
Hello,

Any one know "who translate/work on the Cornilescu Bible"
Any clue will be greatly appreciated.

Peter


John Rokos

unread,
Apr 11, 2023, 5:02:42 AM4/11/23
to Patrick Tang, than...@gmail.com, Coburn Ingram, STEP Bible Forum
Is there any reason not to believe Dumitru Cornilescu - Wikipedia?

John.

By the way, I fear he may have translated the New Testament from a somewhat significantly deficient Greek text (The Reformation texts are also deficient, but nowhere near as significantly so). One clue is: Is the Lord's Prayer in Luke totally emasculated, the way it is in, say, the NIV?


From: stepbib...@googlegroups.com <stepbib...@googlegroups.com> on behalf of Pil Mung <than...@gmail.com>
Sent: 06 April 2023 00:11
To: Patrick Tang <patric...@gmail.com>
Cc: Coburn Ingram <thr...@gmail.com>; STEP Bible Forum <StepBib...@googlegroups.com>
Subject: [stepbibleforum] the Cornilescu Bible
 

Mark Howe

unread,
Apr 11, 2023, 5:02:42 AM4/11/23
to than...@gmail.com, Patrick Tang, Coburn Ingram, STEP Bible Forum
See the bottom of https://www.bible.com/fr/bible/191/JHN.1.VDC for the 1924 edition. Looks like the place to start would be the British Bible Society.



--
MVH Solutions EURL

Reply all
Reply to author
Forward
0 new messages