I'm trying to make an Electron app. In files, in example I have app.html
, and I need to send GET variable like ?id=54&q=asd
to the receiver.html
, and then I'll get this id
and q
variables on the receiver.html
.
Everybody knows, in PHP we do it like that:
app.html:
<a href="receiver.php?id=54&q=asd">Click Me</a>
receiver.php:
<?php
echo $_GET['id']." ".$_GET['q'];
?>
In electron we redirects pages as this Stackoverflow issue suggested.
But how can I get the GET
variables in Electron.js?