Dynamically Sized Webpages Cause Display Looping
Dynamically Sized Webpages Cause Display Looping
(Now is this a Support question or a General question?)
Dynamically Sized Webpages Cause Display Looping
Another page that goes into "spams". Perhaps related to (or indirectly to) NoScript?
If I recall correctly, it was something like the page was dynamically resizing, & a small thing (like the notification bar hiding itself) setting it off in a loop.
Started here, http://www.newegg.com/Info/NewsroomDetail.aspx?ID=511 & in the article is a link
to here, http://www2.marketwire.com/mw/mmframe?p ... hid=927940.
Perhaps the Frame may have something to do with it too?
Earlier thread, http://forums-test.mozillazine.org/view ... 5#p5737065.
Dynamically Sized Webpages Cause Display Looping
Another page that goes into "spams". Perhaps related to (or indirectly to) NoScript?
If I recall correctly, it was something like the page was dynamically resizing, & a small thing (like the notification bar hiding itself) setting it off in a loop.
Started here, http://www.newegg.com/Info/NewsroomDetail.aspx?ID=511 & in the article is a link
to here, http://www2.marketwire.com/mw/mmframe?p ... hid=927940.
Perhaps the Frame may have something to do with it too?
Earlier thread, http://forums-test.mozillazine.org/view ... 5#p5737065.
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball NoScript FlashGot AdblockPlus
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.21) Gecko/20090303 SeaMonkey/1.1.15
- Giorgio Maone
- Site Admin
- Posts: 9454
- Joined: Wed Mar 18, 2009 11:22 pm
- Location: Palermo - Italy
- Contact:
Re: Dynamically Sized Webpages Cause Display Looping
hrm, I didn't manage to make that page loop.
Anyway if it's really caused by the notification bar (meaning that also browser-generated notifications such as password manager or missing plugins would cause it) I can see no choice but disabling notifications (or convince the web author to fix his buggy script).
Anyway if it's really caused by the notification bar (meaning that also browser-generated notifications such as password manager or missing plugins would cause it) I can see no choice but disabling notifications (or convince the web author to fix his buggy script).
Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9.0.7) Gecko/2009021910 Firefox/3.0.7 (.NET CLR 3.5.30729)
Re: Dynamically Sized Webpages Cause Display Looping
In this case it is not the notification bar, cause I'm now on SeaMonkey 1.1.15, so it doesn't exist.
OK, opening the link in a New Window does not seem to cause it to occur, but opening in a New Tab (& marketwire.com blocked) does.
OK, opening the link in a New Window does not seem to cause it to occur, but opening in a New Tab (& marketwire.com blocked) does.
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball NoScript FlashGot AdblockPlus
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.21) Gecko/20090303 SeaMonkey/1.1.15
- Giorgio Maone
- Site Admin
- Posts: 9454
- Joined: Wed Mar 18, 2009 11:22 pm
- Location: Palermo - Italy
- Contact:
Re: Dynamically Sized Webpages Cause Display Looping
I'm still getting no kind of looping under these condition, either on Firefox 3 or on SM 1.1.15.therube wrote:In this case it is not the notification bar, cause I'm now on SeaMonkey 1.1.15, so it doesn't exist.
OK, opening the link in a New Window does not seem to cause it to occur, but opening in a New Tab (& marketwire.com blocked) does.
Did you try a clean profile (with just NoScript)?
Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9.0.7) Gecko/2009021910 Firefox/3.0.7 (.NET CLR 3.5.30729)
Re: Dynamically Sized Webpages Cause Display Looping
Yes (at least cleaner).Did you try a clean profile (with just NoScript)?
(Initially) removed /chrome/ & any NoScript entries in prefs.js, then (manually) disabled JavaScript. No loop.
Installed NoScript, looping started.
Can only seem to make it occur in SeaMonkey 1.1.15.
Not SeaMonkey 2, FF3, or FF2?
And now I can't get to happen again in that clean Profile?
Oh well.
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball NoScript FlashGot AdblockPlus
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.21) Gecko/20090303 SeaMonkey/1.1.15
Re: Dynamically Sized Webpages Cause Display Looping
Perhaps related to my screen dimensions too? Theme (Pinball)?
The page /just/ fits my screen width.
In my current Profile (where I am now seeing this) if I get it to stop, I can get it to restart (usually) by resizing my screen. Sometimes horizontally, sometimes vertically. And looks to be a range of sizes where it occurs for me, & then at some point (size) it stops.
http://whatsmy.browsersize.com/
The page /just/ fits my screen width.
In my current Profile (where I am now seeing this) if I get it to stop, I can get it to restart (usually) by resizing my screen. Sometimes horizontally, sometimes vertically. And looks to be a range of sizes where it occurs for me, & then at some point (size) it stops.
Code: Select all
Dimensions
Browser window width: 1024
Browser window height: 586
Screen width: 1024
Screen height: 768
Screen color depth: 32"
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball NoScript FlashGot AdblockPlus
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.21) Gecko/20090303 SeaMonkey/1.1.15
Re: Dynamically Sized Webpages Cause Display Looping
FWIW:
H = horizontal scroll bar
All screen resolutions 1024x768 (except last pic)
No H:
http://img.photobucket.com/albums/v157/ ... lscrol.png
One H:
http://img.photobucket.com/albums/v157/ ... lscrol.png
Two H:
http://img.photobucket.com/albums/v157/ ... lscrol.png
Two H & two Vertical too. At this point it was jumping:
http://img.photobucket.com/albums/v157/ ... umping.png
At a screen resolution of 1280x1024 (native):
http://img.photobucket.com/albums/v157/ ... 0x1024.png
At 1280x1024 didn't seem to do it. Also notice the white "bar" at the bottom of the shot.
IE7 for reference:
http://img.photobucket.com/albums/v157/ ... 768IE7.png
Note the clearly defined "frame" area.
([img] not allowed or something?)
H = horizontal scroll bar
All screen resolutions 1024x768 (except last pic)
No H:
http://img.photobucket.com/albums/v157/ ... lscrol.png
One H:
http://img.photobucket.com/albums/v157/ ... lscrol.png
Two H:
http://img.photobucket.com/albums/v157/ ... lscrol.png
Two H & two Vertical too. At this point it was jumping:
http://img.photobucket.com/albums/v157/ ... umping.png
At a screen resolution of 1280x1024 (native):
http://img.photobucket.com/albums/v157/ ... 0x1024.png
At 1280x1024 didn't seem to do it. Also notice the white "bar" at the bottom of the shot.
IE7 for reference:
http://img.photobucket.com/albums/v157/ ... 768IE7.png
Note the clearly defined "frame" area.
([img] not allowed or something?)
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball NoScript FlashGot AdblockPlus
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.21) Gecko/20090303 SeaMonkey/1.1.15
- GµårÐïåñ
- Lieutenant Colonel
- Posts: 3365
- Joined: Fri Mar 20, 2009 5:19 am
- Location: PST - USA
- Contact:
Re: Dynamically Sized Webpages Cause Display Looping
@therube, did you ever figure this out? I was just following up since it seems for some reason I missed this post originally.
It could be a case of nested frames with bad target specifications resulting in loading back into itself over and over and causing all the scrollbars as the space shrinks. I hope this helps.
It could be a case of nested frames with bad target specifications resulting in loading back into itself over and over and causing all the scrollbars as the space shrinks. I hope this helps.
~.:[ Lï£ê ï§ å Lêmðñ åñÐ Ì Wåñ† M¥ Mðñê¥ ßå¢k ]:.~
________________ .: [ Major Mike's ] :. ________________
________________ .: [ Major Mike's ] :. ________________
Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.0.8) Gecko/2009032609 Firefox/3.0.8 NoScript/1.9.1.7 FlashGot/1.1.8.5 FirePHP/0.2.4
Re: Dynamically Sized Webpages Cause Display Looping
(Old thread, but ...)
Another looper here, http://www.facebook.com/people/Nikolay- ... /545253915.
Rolls over to, http://www.facebook.com/people/Nikolay- ... noscript=1.
And then loops continuously.
This is probably NOT a NoScript issue (I have not investigated it), but probably just poor page coding. (Suspect that if I were to visit the site without NoScript, but with JavaScript disabled, it would loop too.)
(Anyhow, since I had an earlier loop thread, thought I'd just post this here.)
Another looper here, http://www.facebook.com/people/Nikolay- ... /545253915.
Rolls over to, http://www.facebook.com/people/Nikolay- ... noscript=1.
And then loops continuously.
This is probably NOT a NoScript issue (I have not investigated it), but probably just poor page coding. (Suspect that if I were to visit the site without NoScript, but with JavaScript disabled, it would loop too.)
(Anyhow, since I had an earlier loop thread, thought I'd just post this here.)
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball NoScript FlashGot AdblockPlus
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.21) Gecko/20090403 SeaMonkey/1.1.16
- GµårÐïåñ
- Lieutenant Colonel
- Posts: 3365
- Joined: Fri Mar 20, 2009 5:19 am
- Location: PST - USA
- Contact:
Re: Dynamically Sized Webpages Cause Display Looping
Yeap, I got that too, it keeps looping into a refresh over and over. It seems to be this code that is causing it but not sure why it would do something like this:
Code: Select all
<script type="text/javascript">
//<![CDATA[
(function(loc) { if (loc.pathname == '/') { return; } var uri_re = /^(?:(?:[^:\/?#]+):)?(?:\/\/(?:[^\/?#]*))?([^?#]*)(?:\?([^#]*))?(?:#(.*))?/; var target_domain = ''; loc.href.replace(uri_re, function(all, path, query, frag) { var dst, src; dst = src = path + (query ? '?' + query : ''); if (frag) { if (frag.charAt(0) == '/') { dst = frag.replace(/^\/+/, '/') .replace(/_fb_qsub=([^&]+)&?/, function(all, domain){ if (domain.substring(domain.length - 13) == '.facebook.com') { target_domain = 'http://'+domain; } return ''; }); } else if (/&|=/.test(frag)) { var q = {}; var m = frag.match(/([^#]*)(#.*)?/); var arr = (query||'').split('&').concat((m[1]||'').split('&')); for (var i=0, length=arr.length; i<length; i++) { var t = arr[i].split('='); if (t.length && t[0] != '') { q[t[0]] = t[1]; } } var s = []; for (var i in q) { s.push(i+ (q[i]?'='+q[i]:'')); } dst = path+'?'+s.join('&')+(m[2]||''); } } dst = "" + dst; if (dst != src) { window.location.replace(target_domain + dst); } }); })(window.location); var onloadRegister = window.onloadRegister || function(h) { onloadhooks.push(h); }; var onloadhooks = window.onloadhooks || []; var onafterloadRegister = window.onafterloadRegister || function(h) { onafterloadhooks.push(h); }; var onafterloadhooks = window.onafterloadhooks || []; function wait_for_load(element, e, f) { f = bind(element, f, e); if (window.loaded) { return f(); } switch ((e || event).type) { case 'load': case 'focus': onloadRegister(f); return; case 'click': if (element.original_cursor === undefined) { element.original_cursor = element.style.cursor; } if (document.body.original_cursor === undefined) { document.body.original_cursor = document.body.style.cursor; } element.style.cursor = document.body.style.cursor = 'progress'; onafterloadRegister(function() { element.style.cursor = element.original_cursor; document.body.style.cursor = document.body.original_cursor; element.original_cursor = document.body.original_cursor = undefined; if (element.tagName.toLowerCase() == 'a') { var original_event = window.event; window.event = e; var ret_value = element.onclick.call(element, e); window.event = original_event; if (ret_value !== false && element.href) { window.location.href = element.href; } } else if (element.click) { element.click(); } }); break; } return false; }; function bind(obj, method ) { var args = []; for (var ii = 2; ii < arguments.length; ii++) { args.push(arguments[ii]); } var fn = function() { var _obj = obj || (this == window ? false : this); var _args = args.slice(); for (var jj = 0; jj < arguments.length; jj++) { _args.push(arguments[jj]); } if (typeof(method) == "string") { if (_obj[method]) { return _obj[method].apply(_obj, _args); } } else { return method.apply(_obj, _args); } }; if (typeof method == 'string') { fn.name = method; } else if (method && method.name) { fn.name = method.name; } fn.toString = function() { return bind._toString(obj, args, method); }; return fn; }; var curry = bind(null, bind, null); bind._toString = bind._toString || function(obj, args, method) { return (typeof method == 'string') ? ('late bind<'+method+'>') : ('bound<'+method.toString()+'>'); }; function goURI(uri, force_reload) { uri = uri.toString(); if (!force_reload && window.PageTransitions && PageTransitions.isInitialized()) { PageTransitions.go(uri); } else if (window.location.href == uri) { window.location.reload(); } else { window.location.href = uri; } } var PrimordialBootloader = window.PrimordialBootloader || { loaded : [], done : function(names) { PrimordialBootloader.loaded.push(names); } }; var Bootloader = window.Bootloader || { done : PrimordialBootloader.done }; function loadExternalJavascript(urls, callback, body) { if (urls instanceof Array) { var url = urls.shift(0); loadExternalJavascript(url, function() { if (urls.length) { loadExternalJavascript(urls, callback, body); } else { callback && callback(); } }, body); } else { var node = body ? document.body : document.getElementsByTagName('head')[0]; var script = document.createElement('script'); script.type = 'text/javascript'; script.src = urls; if (callback) { script.onerror = script.onload = callback; script.onreadystatechange = function() { if (this.readyState == "complete" || this.readyState == "loaded") { callback(); } } } node.appendChild(script); return script; } } window.loadFirebugConsole && window.loadFirebugConsole();document.cookie = "cvr_tx=; expires=Mon, 26 Jul 1997 05:00:00 GMT; path=\/; domain=.facebook.com";
//]]>
</script><noscript> <meta http-equiv=refresh content="0; URL=http://www.facebook.com/people/Nikolay-Avrionov/545253915?_fb_noscript=1" /> </noscript>
~.:[ Lï£ê ï§ å Lêmðñ åñÐ Ì Wåñ† M¥ Mðñê¥ ßå¢k ]:.~
________________ .: [ Major Mike's ] :. ________________
________________ .: [ Major Mike's ] :. ________________
Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.0.10) Gecko/2009042316 Firefox/3.0.10
Re: Dynamically Sized Webpages Cause Display Looping
As I suspected, not NoScript related.
Disable NoScript (from Addons).
Restart.
Disable JavaScript (from Tools | Options).
Load the page, & the looping ensues.
So I guess it is this part of the code that you posted that is affecting it:
But ... if you set, NoScript Options | Advanced -> Forbid META redirections inside <NOSCRIPT> elements, the page will not loop unless you click the Redirect icon. (Which then simply load the redirect again, in this case.)
An oddity, perhaps not unexpected, the Notification Bar appears at the TOP of window when this happens.
Disable NoScript (from Addons).
Restart.
Disable JavaScript (from Tools | Options).
Load the page, & the looping ensues.
So I guess it is this part of the code that you posted that is affecting it:
Code: Select all
<noscript> <meta http-equiv=refresh content="0; URL=http://www.facebook.com/people/Nikolay-Avrionov/545253915?_fb_noscript=1" /> </noscript>
An oddity, perhaps not unexpected, the Notification Bar appears at the TOP of window when this happens.
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball NoScript FlashGot AdblockPlus
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1b5pre) Gecko/20090507 SeaMonkey/2.0b1pre
- GµårÐïåñ
- Lieutenant Colonel
- Posts: 3365
- Joined: Fri Mar 20, 2009 5:19 am
- Location: PST - USA
- Contact:
Re: Dynamically Sized Webpages Cause Display Looping
That was the part that I suspected too because I didn't see any fix with NS out of the way either but included it in case it contains useful information. What I don't get is that with the forbid meta redirection, it should stop right? but no it keeps going, although it shows me the allow message on the top and in the status bar (the blue arrow)
~.:[ Lï£ê ï§ å Lêmðñ åñÐ Ì Wåñ† M¥ Mðñê¥ ßå¢k ]:.~
________________ .: [ Major Mike's ] :. ________________
________________ .: [ Major Mike's ] :. ________________
Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.0.10) Gecko/2009042316 Firefox/3.0.10