New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
Web Design and Hosting Creating sites, scripting, and hosting discussions.

Is there any way to use javascript to disable the File toolbar for Apple Macs?


Post Reply New Thread Subscribe

 
Thread Tools
sexymaclady

 
Member Since: Jul 07, 2008
Location: USA
Posts: 2
sexymaclady is on a distinguished road

sexymaclady is offline
I am using javascript to open a new window with no menus when a user clicks a button. For IE and Firefox on Windows, it works just fine - the problem is that for a Mac, I still get the toolbar / menubar which says File, Edit, View, History, etc...

Is there a way to get rid of this Menubar / Toolbar?

Thanks in advance!

BTW - I'm sure I'm going to get a lot of responses from people who think this is bad programming practice and why one should not do this. Please save your time and mine and skip it. I work for a non-profit with a boss who insists I need to do this (or get fired), so...any help?

xoxoxo
Thanks!!!!!!!
QUOTE Thanks
xstep

 
xstep's Avatar
 
Member Since: Jun 25, 2005
Location: On the road
Posts: 3,231
xstep is a name known to allxstep is a name known to allxstep is a name known to allxstep is a name known to allxstep is a name known to allxstep is a name known to allxstep is a name known to all
Mac Specs: 2011 MBP, i7, 16GB RAM, MBP 2.16Ghz Core Duo, 2GB ram, Dual 867Mhz MDD, 1.75GB ram, ATI 9800 Pro vid

xstep is offline
Doubt it. You are talking about removing the menu bar. It is not part of the window which is likely as far as Javascript (or Java) within a browser can affect.

CameraTime - Time lapse photography for novice and advanced users.

When asking questions, post the version of your software. You'll receive better answers.

Please post your results to the thread as it is good feedback.
QUOTE Thanks
cwa107

 
cwa107's Avatar
 
Member Since: Dec 20, 2006
Location: Middletown, Pennsylvania
Posts: 26,577
cwa107 has a reputation beyond reputecwa107 has a reputation beyond reputecwa107 has a reputation beyond reputecwa107 has a reputation beyond reputecwa107 has a reputation beyond reputecwa107 has a reputation beyond reputecwa107 has a reputation beyond reputecwa107 has a reputation beyond reputecwa107 has a reputation beyond reputecwa107 has a reputation beyond reputecwa107 has a reputation beyond repute
Mac Specs: 15" MBP, Core i7/2GHz, 8GB RAM, 480GB Crucial M500 SSD

cwa107 is offline
The menu bar, being outside of the scope of the browser window, is beyond the jurisdiction of Javascript, period.

Liquid and computers don't mix. It might seem simple, but we see an incredible amount of people post here about spills. Keep drinks and other liquids away from your expensive electronics!
QUOTE Thanks
sexymaclady

 
Member Since: Jul 07, 2008
Location: USA
Posts: 2
sexymaclady is on a distinguished road

sexymaclady is offline
Gotcha. Is there another way to do what I want (or basically since I am creating a web page, there is no way to affect the menu bar)? Even if it's not javascript, is there something else that can be used? I want to prevent someone from saving the web page I'm making.

xoxo
Thanks!!!!!!
QUOTE Thanks
xstep

 
xstep's Avatar
 
Member Since: Jun 25, 2005
Location: On the road
Posts: 3,231
xstep is a name known to allxstep is a name known to allxstep is a name known to allxstep is a name known to allxstep is a name known to allxstep is a name known to allxstep is a name known to all
Mac Specs: 2011 MBP, i7, 16GB RAM, MBP 2.16Ghz Core Duo, 2GB ram, Dual 867Mhz MDD, 1.75GB ram, ATI 9800 Pro vid

xstep is offline
Quote:
Originally Posted by sexymaclady View Post
I want to prevent someone from saving the web page I'm making.
LOL! Oh, sorry, your serious.

There are ways to use Javascript to not let people cut from your page. I'm not sure about stopping people from using the save, show source, and print commands though, but that is some of what you would need to cover.

Perhaps using Flash would allow you to do that, to a point. If your trying to protect the source, there are tools to 'encrypt' it. So they claim. Of course the search engines would likely not index the page, if that is important to you.

In the end I think the best you can do is put blocks in place against the average person. An advanced user will find ways around those blocks. Here are two interesting links 3 years apart that say 'NO'. Link 1, Link 2.

CameraTime - Time lapse photography for novice and advanced users.

When asking questions, post the version of your software. You'll receive better answers.

Please post your results to the thread as it is good feedback.
QUOTE Thanks

Post Reply New Thread Subscribe


« text entry help | iWeb Template Question »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
new to macs, problem installing bin file for media player mdelinct OS X - Operating System 6 04-17-2007 11:35 AM
WiFi file sharing between Macs is incredibly slow - when it works DrivinWest Internet, Networking, and Wireless 3 11-01-2006 09:07 AM
File sharing between macs naylett Internet, Networking, and Wireless 1 07-03-2006 09:03 AM
Differint File Exestions for Intel Macs... Techno Mutant OS X - Operating System 4 06-18-2006 08:44 PM
File copying frustrations - help? djmitch Switcher Hangout 5 06-27-2005 01:23 AM

All times are GMT -4. The time now is 07:32 PM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?