Seeking assistance with extracting the URL and title of a website using JavaScript. The script is stored in a .HTM file accessed through the registry editor at file://C:\Users\lala\script.htm
Below is the script:
<script type="text/javascript" defer>
// Script content goes here
When using my add-on, I only receive the path set in the registry editor under menuExt. Any suggestions on how to resolve this issue? I have attempted storing the entire JavaScript code as a string value, but it did not provide a solution.
In essence, I am looking for the URL and title of the parent site rather than the path from the registry editor under menuExt.
Please assist if possible :)
Best regards,
Freezingmoon