stoiandan / biblegatewayquick Goto Github PK
View Code? Open in Web Editor NEWMake a quick search for a Bible verse on the most awesome Protestant biblegateway.com
License: BSD 3-Clause "New" or "Revised" License
Make a quick search for a Bible verse on the most awesome Protestant biblegateway.com
License: BSD 3-Clause "New" or "Revised" License
Tons of people use Chromebooks, and the Chrome Engine is used not just on Google Chrome, but Chromium, Brave, Opera, Microsoft Edge, etc.
Not sure yet if the extension can be made to work on chrome engine as is, or a new branch needs be done.
Anyways, work in this area has already been made as the Firefox browser.menus API, has been replaced with chrome compatible contextMenus
Currently version is hard coded to NIV, a small html action button that displays a bible translation drop down could be written for users to select their favorite translation
When clicking the browser action button (extension button in toolbar area), the verse of the day from biblegateway.com should come up.
Currently in src/verseOfTheDay.js
there is mechanism in place to check each time the verse of the day is request, if it has expired or not (i.e. if it's still the same day), this has been implemented by comparing day numbers (example Sunday = 1, Monday = 2), instead of whole dates (i.e. 23.05.2021).
This is a bug because if a user only uses the browser on, say, Sundays, the mechanism will conclude it's the same date, which is wrong, and not fetch a new verse of the day.
Currently, after selecting text, the extension decides if selection is a valid Bible reference or not and based on this enables/disables the context menu.
I would be much easier and faster for the user, if instead, we got fetch the text in background and later on display in int the same page, in small frame above the selection.
Currently the toolbar (browser action as internally called), who's HTML code is stored in src/action
, is very dull, with no CSS arrangement at all.
Maybe it can be made more pleasant to the eye via CSS? Any ideas/prototypes are welcomed.
Currently, there are several predefined translations the user can select.
A text input could be added, where the user input would override selection of predefined selection.
This also need to include validation, as to not allow malicious or wrong input
In the verseOfTheDay
branch, if you click the extension button a couple of times, you will notice verse of the day, doesn't always render.
It looks like the problem is in the load
callback, where the XHR instance doesn't always have it's responseXML
property.
Maybe trying to switch to a more modern API like fetch could solve the problem?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.