Skip to content Skip to sidebar Skip to footer

What Is Self.moveby And Why Doesn't It Work On Chrome?

I found the self.moveBy function here. Somehow the code doesn't seem to work on Chrome, although self.moveBy does exist on Chrome! What exactly is self.moveBy, and why doesn't it w

Solution 1:

It's the same as window.moveBy, and moves the current window by a specified amount. See https://developer.mozilla.org/en/DOM/window.moveBy

See also, What's the difference between self and window?

I don't think you can get it to work in chrome, and I can see why they would want to disable it, although it is fun ;-)

Post a Comment for "What Is Self.moveby And Why Doesn't It Work On Chrome?"