# How to open the designated browser from TeX/PDF

Is it possible to insert a command in LaTeX so that on the resulting PDF file the designated/default blank browser can be opened by a click?

-
If by "the designated browser" you mean the default browser, then there are many options via hyperref or url. –  Werner May 30 '12 at 18:16
Could you provide a small example (in the form of a minimal example) of the usage you're after? –  Werner May 30 '12 at 18:17
I am trying to use the popupmenu package tex.stackexchange.com/questions/53508/… and occasionally the links used in a menu do not open. I have not isolated the problem enough to make a MWE. I thought if the browser is already open then it might bypass whatever the issue is. So I want to put a link that just opens the default browser. –  Maesumi May 30 '12 at 19:29
If your question is about the link opening in a specific browser (such as Firefox), I think the answer is going to be no as the default browser is controlled by the end user, and not all browsers are available in all platforms. Otherwise this would require the PDF to launch a specific executable which could potentially be dangerous. –  Peter Grill May 30 '12 at 19:29
What is the URL of about:blank? and is there a way of forcing the browser to open instead of it blinking on the tray waiting to be clicked to open. (Perhaps this is not a TeX question.) –  Maesumi May 30 '12 at 19:48

When the hyperlink is clicked in the following MWE, it opens up the default browser on a blank page (about:blank):

\documentclass{article}
\usepackage{hyperref}% http://ctan.org/pkg/hyperref
\begin{document}
\end{document}


Here's a resource motivating the above: about URI scheme

-
This did it! instead of browser icon blinking on the tray it just opened. –  Maesumi May 30 '12 at 19:56
\documentclass{article}
\usepackage{hyperref}
\begin{document}

See texdoc hyperref for more macros and options on how to change the look of such links.