Web Analytics Made Easy -
StatCounter Access toolbar/right-click buttons w/ JS - CodingForum

Announcement

Collapse
No announcement yet.

Access toolbar/right-click buttons w/ JS

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Access toolbar/right-click buttons w/ JS

    Is it possible to access the buttons in the toolbar and/or the options in the right click menu by JS?
    Thanks for any help.

    P.S. How do you disable the edit button in the Toolbar?
    Oh, was I supposed to put something here? ........

  • #2
    Perhaps you should tell us what you are trying to do.
    This seems like a cleverly disquised question on how to disable the toolbar.

    .....Willy

    Comment


    • #3
      If you are trying to hide the javascript source, it is impossible.

      javascript is an interpreted language, so the source has to be visible at some point for the browser to execute it.
      Nobody is Perfect. I am Nobody.

      Comment


      • #4
        Sorry, I worded that bad. I mean how can you make JS buttons with the same function as the buttons in the right-click and toolbar menus?
        Oh, was I supposed to put something here? ........

        Comment


        • #5
          here are two examples:
          window.open(location).location="view-source:" + window.location.href (to see the src)
          window.print()

          thats the only two i know
          and ofcourse their is the reload
          http://www.bluephoenix.uni.cc/

          Comment


          • #6
            Some of them are scriptable, some are not.
            Why do you want to duplicate them? I guess you disable the toolbar and contextmenu and then want to create your own interface.
            Glenn
            vBulletin Mods That Rock!

            Comment

            Working...
            X