I am currently working on developing an Electron app. Within the project files, for example, I have app.html
. My goal is to send GET variables like ?id=54&q=asd
to the receiver.html
, where I can then retrieve these id
and q
variables.
As we all know, in PHP we achieve this by:
app.html:
<a href="receiver.php?id=54&q=asd">Click Me</a>
receiver.php:
<?php
echo $_GET['id']." ".$_GET['q'];
?>
In Electron, we handle page redirections as suggested in this Stackoverflow thread.
But my question is, how can I access the GET variables in Electron.js?