I'm trying to open a file to parse, say "config.txt", in my Chrome extension.
By Javascript it will be fairly easy. For example: chrome.extension.getURL('config.txt')
will get something like chrome-extension://kfcphocilcidmjolfgicbchdfjjlfkmh/config.txt
.
However, in the C++(or C) code of the extension, open a file by this kind of URL is not available.
Is there any way to open a file in extension in this case?