added helper function to determine if a request was made by electron and the currently selected chapter matches the request
added helper function to determine if a request was made by electron and the currently selected chapter matches the request

ronny1982/hakuneko,ronny1982/hakuneko,ronny1982/hakuneko