/    Sign up×
Community /Pin to ProfileBookmark

Removing toolbar on browser without opening new window.

I want to open a flash movie in a new window 500×400 px and without a toolbar/scrollbars etc. No problem as long as this is from a link in my own website.

However, if the link is opened from somewhere outside my site (ie. an e-mail, forum etc..) then how can I hide the toolbars and scrollbars in the window opened?

I know I can use window.resizeTo() to make the window the relevant size, but how can I hide the toolbar and scrollbars? And is it possible to save the original settings so that I can use an onUnload() to re-set the settings and avoid them having no toolbar next time they open their browser? I know that can be done for the size part.

Thanks

PS. Please remember this is a technnical question not a moral one – don’t post if it’s just to say ‘you shouldn’t mess with people’s browsers’ or whatever.

to post a comment
JavaScript

3 Comments(s)

Copy linkTweet thisAlerts:
@Khalid_AliNov 27.2003 — Its possible(though a bit crude),and to save the settings you can either use cookies???

or use some server side language to save the settings on file.
Copy linkTweet thisAlerts:
@tobyw_1969authorNov 27.2003 — Thanks for letting me know its possible. I was hoping someone might tell me HOW...
Copy linkTweet thisAlerts:
@cacalexNov 27.2003 — Maybe you can put your script in a «fullscreen» page...
×

Success!

Help @tobyw_1969 spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.16,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...