firefox7

Disable javascript's domain restrictions in FF 7.0

不打扰是莪最后的温柔 提交于 2019-12-12 01:48:44
问题 I am developing a small html + JS app for my own use and being ability to access IFrame's content or opened windows' contect with Javascript would greatly improve my productivity. Is it possible to disable the cross domain restrictions imposed by Firefox 7.0, so that I will be able to modify contents of what is displayed in an iframe? 回答1: I think I remember a similar issue a while ago in FF. This is worth a try: There's a file in your user profile called prefs.js. On my machine its located:

Javascript's `window.resizeTo` isn't working

左心房为你撑大大i 提交于 2019-11-26 20:43:24
I'm trying to create a bookmarklet to do some very specific resizing to do browser size testing, and I can't seem to get the web browser to resize using window.resizeTo . Overly simplified example that doesn't work: javascript:window.resizeTo(1024,600); I can understand that browsers might have disabled this feature, but here's a screenshot of my JavaScript Settings in Firefox: Am I missing something obvious or should I file a bug report? According to this bug report , this is a new feature, not a bug. Specifically: Two rules: Can't resize a window/tab that hasn't been created by window.open.

Javascript's `window.resizeTo` isn't working

末鹿安然 提交于 2019-11-26 07:41:48
问题 I\'m trying to create a bookmarklet to do some very specific resizing to do browser size testing, and I can\'t seem to get the web browser to resize using window.resizeTo . Overly simplified example that doesn\'t work: javascript:window.resizeTo(1024,600); I can understand that browsers might have disabled this feature, but here\'s a screenshot of my JavaScript Settings in Firefox: Am I missing something obvious or should I file a bug report? 回答1: According to this bug report, this is a new