Questions tagged [window-object]

The Window object is a DOM interface that represents a browser window/tab that contains a DOM document. The Window object is defined in the HTML specification.

See also:

94 questions
0
votes
4 answers

Javascript window object, build out function call from array of name spaces

Example Code: (Please no eval()) var stringReference = "obj.inner.method"; var namespace = stringReference.split("."); // Now I need to Call window[namespace].call(); I'm a little confused as to how to build out the function call. The…
Charlie
  • 376
  • 1
  • 10
0
votes
1 answer

How to scrape location objects?

I have a list of URL's and would like to scrape the location objects for each of their webpages. The data I am referring to is produced by typing "window.location" into your browser's console. For example, performing this action on www.github.com…
190290000 Ruble Man
  • 2,173
  • 1
  • 20
  • 25
0
votes
1 answer

which window object does getBackgroundPage() method really return?

in the documentation, it says, getBackgroundPage() Returns the JavaScript 'window' object for the background page running inside the current extension. which window is it? is it the same window that we get with: "chrome.windows.getCurrent()".
burhan
  • 121
  • 1
  • 9
-2
votes
1 answer

whatever is added to window object is global?

whatever is accessible in window object, is global? I am confused if whatever is contained in window object or whatever is accessible via window. is global? I'm trying to type in window.something in the console , so whatever is accessible with…
1 2 3 4 5 6
7