Results 1 to 5 of 5
  1. #1
    Is there any way to use javascript to disable the File toolbar for Apple Macs?

    Member Since
    Jul 07, 2008
    Location
    USA
    Posts
    2
    Is there any way to use javascript to disable the File toolbar for Apple Macs?
    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!!!!!!!

  2. #2
    Is there any way to use javascript to disable the File toolbar for Apple Macs?
    xstep's Avatar
    Member Since
    Jun 25, 2005
    Location
    On the road
    Posts
    3,231
    Specs:
    2011 MBP, i7, 16GB RAM, MBP 2.16Ghz Core Duo, 2GB ram, Dual 867Mhz MDD, 1.75GB ram, ATI 9800 Pro vid
    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.

  3. #3
    Is there any way to use javascript to disable the File toolbar for Apple Macs?
    cwa107's Avatar
    Member Since
    Dec 20, 2006
    Location
    Lake Mary, Florida
    Posts
    26,758
    Specs:
    15" MBP, Core i7/2GHz, 8GB RAM, 480GB Crucial M500 SSD
    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!

    https://youtu.be/KHZ8ek-6ccc

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

    Member Since
    Jul 07, 2008
    Location
    USA
    Posts
    2
    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!!!!!!

  5. #5
    Is there any way to use javascript to disable the File toolbar for Apple Macs?
    xstep's Avatar
    Member Since
    Jun 25, 2005
    Location
    On the road
    Posts
    3,231
    Specs:
    2011 MBP, i7, 16GB RAM, MBP 2.16Ghz Core Duo, 2GB ram, Dual 867Mhz MDD, 1.75GB ram, ATI 9800 Pro vid
    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.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 1
    Last Post: 08-19-2014, 06:43 AM
  2. How to disable Bookmarks toolbar in full screen Safari
    By CarlitoCZ in forum OS X - Apps and Games
    Replies: 3
    Last Post: 12-18-2011, 08:50 AM
  3. Replies: 2
    Last Post: 11-18-2009, 03:53 AM
  4. Finder Window + New File button in toolbar
    By nicu in forum OS X - Operating System
    Replies: 3
    Last Post: 04-24-2007, 04:01 PM
  5. How to detect apple key in Javascript
    By Murtaza.Tinwala in forum OS X - Apps and Games
    Replies: 4
    Last Post: 08-23-2006, 04:04 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •