I'm making a google extension that injects a lisbox into html page. I need the items for this listbox to be taken from a local textfile (or any other editable source on local PC).
This is what I have right now:
ItemCode.insertAdjacentHTML(
'afterend',
'<select id="name" name="name">
<option value="">Your keyword...</option>
<option value="Elvis">Elvis</option>
<option value="Frank">Frank</option>
<option value="Jim">Jim</option>
</select>'
);
I want this values to be taken from a file keywords.txt which in on the Windows Desktop Location and contains the following:
Elvis
Frank
Jim
Is it possible please? Thanks.