Stack Exchange
log in
users (19)
rooms (17)
faq
Roshan
general
recent
conversations
JavaScript
Topic: Anything JavaScript, ECMAScript including Node, React, ...
6
8
Roshan
Dec 20, 2017 11:32
hahaha , i wll take ur warning into consideration thanks bye
Roshan
Dec 20, 2017 11:30
great , thanks @KarelG , any links to how to achieve that ??? please ...
Roshan
Dec 20, 2017 11:28
i wonder when and how window object is created , any idea ?
Roshan
Dec 20, 2017 11:26
window is not a function , but Window is
Roshan
Dec 20, 2017 11:25
so if i can override Window function , can i not hijack window object and control the top property
Roshan
Dec 20, 2017 11:25
the differrence is in the constructor used
Roshan
Dec 20, 2017 11:24
var t={}
Object.prototype.toString.call(t)
"[object Object]"
Roshan
Dec 20, 2017 11:23
returns "[object Window]"
Roshan
Dec 20, 2017 11:23
Object.prototype.toString.call(window)
Roshan
Dec 20, 2017 11:23
So Window is not a function but then why
Roshan
Dec 20, 2017 11:21
i though if i can inject top in proxy object and chain the object to the Window.prototype
Roshan
Dec 20, 2017 11:20
KarelG hi
Roshan
Dec 20, 2017 11:18
well thanks @Mosho
Roshan
Dec 20, 2017 11:17
so your suggestion is to change the code right ?
Roshan
Dec 20, 2017 11:16
can i override Window function
Roshan
Dec 20, 2017 11:16
that exactly what i doing , but there to much of code to change :(
Roshan
Dec 20, 2017 11:15
same-origin-policy is vloated and excpetion thrown by browser
Roshan
Dec 20, 2017 11:15
and i have code like top. , or window.top etc in my App's Js files
Roshan
Dec 20, 2017 11:14
of a window belong to another domain
Roshan
Dec 20, 2017 11:14
it relates to the root window , but my problem is my app needs to run inside an iframe
Roshan
Dec 20, 2017 11:14
Object.getOwnPropertyDescriptor(window,"top")
{value: Window, writable: false, enumerable: true, configurable: false}
Roshan
Dec 20, 2017 11:12
so if i want to custom set top property , any hacks avalable
Roshan
Dec 20, 2017 11:11
no it not descriptor configurable:false
Roshan
Dec 20, 2017 11:11
is window.top modifiable ?
Roshan
Dec 20, 2017 11:08
hi
Roshan
Dec 20, 2017 11:08
i have a question
Roshan
Dec 20, 2017 11:08
Hi
Roshan
Sep 15, 2017 18:55
ok
Roshan
Sep 15, 2017 18:55
\o/
Roshan
Sep 15, 2017 18:53
hola
Roshan
May 4, 2017 19:20
l
Roshan
May 4, 2017 19:14
is chat skewed towards absurd and retarded-ness , where is the moderator
Roshan
May 4, 2017 19:12
GOTG vol 2 finally
Roshan
May 4, 2017 19:10
contrary to whatt stackoverflow stands for @Luggage
Roshan
May 4, 2017 19:09
@Luggage Andrew Jackson is dead and leave the civil war out , and just give a proper and polite response to the question
Roshan
May 4, 2017 19:05
is chat is lame
Roshan
May 4, 2017 19:05
very poor response indeed as expected all talk no walk
Roshan
May 4, 2017 19:01
why does Javascript have a prototype based framework instead of a class-based ?
Roshan
May 4, 2017 18:59
and being rude is
Roshan
May 4, 2017 18:59
ask a question is not bugging
Roshan
May 4, 2017 18:58
i was and i am polite
Roshan
May 4, 2017 18:57
be polite
Roshan
May 4, 2017 18:57
haha
Roshan
May 4, 2017 18:55
@KendallFrey how is backbone different from react
Roshan
May 4, 2017 18:54
any good reference to learn functional prog using javascript
Roshan
May 4, 2017 18:53
how to pin a object to "this" in a function call
Roshan
May 4, 2017 18:51
why
Roshan
May 4, 2017 18:50
comma operator ? any reference for this
Roshan
May 4, 2017 18:49
what operator is used here then
Trash can
Like the recycle bin, but trashier.
Roshan
May 4, 2017 19:02
why does Javascript have a prototype based framework instead of a class-based ?