logging hyperlink clicks
mostyn at platformis.net
Thu Nov 3 11:39:14 UTC 2022
This is a problem I’ve thought about before but never actually implemented. Now I really want to implement it but I’m not sure how to do it.
It is an ultra thin application.
Omnis returns HTML to a browser to render.
On this page I want to present a number of links to external resources (other websites, documents on the web etc).
Ok… that is easy by providing hyperlinks on the web page to these other resources.
But I want to log what links gave been clicked. Google does this on its search results.
Clicking on the link calls Omnis.
A parameter to the call denotes which link.
Omnis is invoked and the link can be logged.
But how do I return to the browser with “execute this hyperlink on a new tab/window”, leaving the previously despatched HTML as is?
Or I could return the previously generated HTML but how do I invoke the browser to follow the link?
Has anyone else tried to do this? I know there is a way to tell a browser to redirect but I don’t know how this works.
+44 (0)20 3233 0044
As Carl Sagan once said:
One of the great commandments of science is, "Mistrust arguments from authority." ... Too many such arguments have proved too painfully wrong. Authorities must prove their contentions like everybody else.
More information about the omnisdev-en