Jump to content

Kreative

Members
  • Content Count

    2
  • Joined

  • Last visited

Community Reputation

0 Neutral

About Kreative

  • Rank
    Newbie
  • Birthday 07/27/2000

Previous Fields

  • Languages
    Java, Python, JavaScript, HTML

Profile Information

  • Location
    London, United Kingdom
  • Interests
    Game Design
    Game Development
    Pixel Art
  1. Is it possible to generate a reference or obtain some function that I can hide, that gives innerWidth and innerHeight even if window.innerWidth and/or innerHeight have been replaced? Maybe this could be rephrased as: can the properties be made non-replaceable?
  2. Hello, I would like to define non-replaceable references/getters to the innerWidth and innerHeight properties of window, or whatever they reference and are updated by. This is because currently, I can very easily re-assign, delete or re-define these properties to any other value making them unreliable if they were accidentally tampered with. Research In Mozilla, Object.getOwnPropertyDescriptor(window, x) where x is innerWidth or innerHeight, returns a descriptor of a configurable and enumerable property with a getter and setter containing functions that I can retrieve, bind to window and iso
  3. Learning javascript and creating my own object orientation.

×
×
  • Create New...