PowerPoint link to open windowless webpage with Javascript

I have a PowerPoint presentation that contains a link to open a webpage. I would like the webpage that pops open to not have a menu bar, scrollbar, status bar, etc. I cannot add the code to the link since PowerPoint will not allow the javascript. I need the code to be on the page that pops up. I have been looking at onload scripts but none of them creates a chromeless window (without the menu bar, scrollbar, status bar, etc).
jj1103Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

COBOLdinosaurCommented:
You can't do that.  It would require the page to override user browser settings and that would be a security hole.

Cd&
0
RobOwner (Aidellio)Commented:
You could link to a page and pass it the page you want to open in the querystring:

so in powerpoint your link might be something like:

www.yourdomain.com/openscript.html?url=www.google.com

then your html file:
the getParameterByName() function gets access to the querystring and specifically the 'url'. Then in the window.onload function you open the window
<!doctype html>
<html>
<head>
<title></title>
<meta name="generator" content="textpad 4.6">
<meta name="author" content="?">
<meta name="keywords" content="?">
<meta name="description" content="?">
<script>
function getParameterByName(name) {
    name = name.replace(/[\[]/, "\\\[").replace(/[\]]/, "\\\]");
    var regex = new RegExp("[\\?&]" + name + "=([^&#]*)"),
        results = regex.exec(location.search);
    return results == null ? "" : decodeURIComponent(results[1].replace(/\+/g, " "));
}
window.onload = function() {
   window.open('http://' + getParameterByName('url'),'_blank','menubar=no,titlebar=no');
   //window.close();
}
</script>
</head>

<body bgcolor="#ffffff" text="#000000" link="#ff0000" vlink="#800000" alink="#ff00ff" background="?">

</body>
</html>

Open in new window

0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
jj1103Author Commented:
This helped me get to the right solution.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
JavaScript

From novice to tech pro — start learning today.