Posted: 23.04.2006 10:15 Post subject: Firefox problemi s CSSom
Imam sa firefoxom nekakvih prilično čudnih problema...znate kak ono bude (ko je na modemu), kad je linija zagušena, pa se učita site, ali ne i CSS file, pa bude ono, čisto HTML prikaz...
Zamislite kak mi je listat kroz razne dizajnove na CSS Zen Gardenu
Prvo sam mislio da mi je negdje isključen prikaz CSS-a ili nešto slično, ali nije problem u tome, pregledao i sve ekstenzije koje mogu kontrolirati CSS, ništa nisam našao...ima netko nekakvu ideju kako bi to riješio?
Last edited by blackshtef on 23.04.2006 11:23; edited 1 time in total
ja sam imao slicnih problema, tj sitovi neki su se raspadali, veza je bila brza, i onda sam skuzio da je to neki bug u ff ver. 1 i nest sitno, pa probaj updejtat firefox, mozda rijesi problem
Ne, odnosno ne znam
Ali našao sam uzrok problema...
Evo recimo source maratzovog bloga...
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<title> maratz.com » blog » personal thoughts on web design, coding, art, entertainment and fatherhood</title>
<meta name="Description" xml:lang="en" content="Web site of Croatian web designer Marko Dugonjić" />
<meta name="Description" xml:lang="hr" content="Osobna stranica hrvatskog web dizajnera Marka Dugonjića" />
<meta name="generator" content="WordPress1.2" />
<style type="text/css" media="screen">/* <![CDATA[ */ @import "/css/masta_file/"; /* ]]> */</style>
<!-- Sunbelt Kerio Popup Killer - script has been inserted by KPF -->
<script type="text/javascript">
<!--
var NoPopupsDone = 0;var CurrWindowOpen = window.open;var CurrWindowOpen2 = window.open;var orig_setTimeout = window.setTimeout;var orig_setInterval = window.setInterval;if ( window.showModelessDialog ) { var orig_showModelessDialog = window.showModelessDialog;} if ( window.showModalDialog ) { var orig_showModalDialog = window.showModalDialog;}
var cnt = 0;var popupType = "direct";var KPF_LOG_URL = "http://127.0.0.1:44501/pl.html?";var KPF_TIMEOUT = 100;var onUnloadFlag = false;var KPF_CompleteLoaded = false;
function nullMethod() {}function nullWindow() { this.window = new Object(); this.document = new Object(); this.document.open=this.document.close=this.document.write=this.document.writeln=nullMethod; this.alert=this.back=this.blur=this.captureEvents=this.clearInterval=this.clearTimeout=this.close=this.confirm=this.dump=this.escape=this.focus=this.forward=this.GetAttention=this.getSelection=this.home=this.moveBy=this.moveTo=this.open=this.print=this.prompt=this.releaseEvents=this.resizeBy=this.resizeTo=this.scroll=this.scrollBy=this.scrollByLines=this.scrollByPages=this.scrollTo=this.setCursor=this.setInterval=this.setTimeout=this.sizeToContent=this.stop=this.unescape=this.updateCommands=nullMethod;}
function destroyIframe(ifr){ if (ifr != document.getElementById("kpfLogFrame")) { var x = ifr.parentNode.removeChild(ifr); delete x; };}
function sendStream(s, idx, kpf_pt){ try { var ifr = document.getElementById("kpfLogFrame"); var tmp = ifr.cloneNode(true); tmp.id = "ifr_" + idx; var s2 = "srv=" + document.location + "&url=" + s + "&pty=" + kpf_pt; tmp.src = KPF_LOG_URL + escape(s2); document.body.appendChild(tmp); } catch (e) { orig_setTimeout("sendStream('" + s + "', " + idx + ",'" + kpf_pt + "')", KPF_TIMEOUT); }}
function sendUrl(url){ if (onUnloadFlag) sendStream(url, cnt++, popupType); else { try { orig_setTimeout("sendStream('" + url + "', cnt++,'" + popupType + "')", KPF_TIMEOUT); } catch (e) {} }}
function newOpen(url, name, atr) {wnd = new nullWindow();wnd.focus = nullWindow;wnd.opener = this.window;sendUrl(url);return(wnd); }
function newOpen2(url, name, atr) { sendUrl(url); return(new nullWindow());}
function stopPopups(kpf_pt) { popupType = kpf_pt; CurrWindowOpen = window.open; window.open = newOpen2; }
function startPopups(kpf_pt) { window.open = CurrWindowOpen; popupType = kpf_pt;}
function my_setTimeout(one, two) { if (typeof(one) == "function") { function myFun(){} myFun=one; function newFun() { stopPopups('ontimer'); myFun(); startPopups('direct'); } try { return orig_setTimeout(newFun,two); } catch (e) { try { return eval("newFun()"); } catch(e) { } } } else { try { return orig_setTimeout("stopPopups('ontimer');"+one+"; startPopups('direct');", two); } catch (e) { try { return eval("stopPopups('ontimer');"+one+"; startPopups('direct');"); } catch(e) { } } }}
function my_setInterval(one, two) { if (typeof(one) == "function") { function myFun(){} myFun=one; function newFun() { stopPopups('ontimer'); myFun(); startPopups('direct'); } try { return orig_setInterval(newFun,two); } catch (e) { } } else { try { return orig_setInterval("stopPopups('ontimer');"+one+";startPopups('direct');", two); } catch (e) { } }}
function my_onload() { var my_retcode = true; stopPopups("onload"); if(orig_onload) my_retcode = orig_onload(); startPopups("direct"); KPF_CompleteLoaded = true; return my_retcode; }
function my_unload() { var my_retcode = true; var cnt = 0; stopPopups("onunload"); onUnloadFlag = true; if(orig_onunload) my_retcode = orig_onunload(); startPopups("direct"); return my_retcode;}
function my_windowopen(url, name, atr){ if ( (! KPF_CompleteLoaded) || (document.all && event != null && event.type == "mouseover") ) { if ( ! KPF_CompleteLoaded) { popupType = "direct"; } else { popupType = "mouseover"; } sendUrl(url); popupType = "direct"; } else { try { return CurrWindowOpen2(url, name, atr); } catch (e) {} }}
function my_showModelessDialog (url , arguments , features) { if (!NoPopupsDone) { var wnd = new nullWindow(); popupType = "direct_dialog"; sendUrl(url); popupType = "direct"; return wnd; } if (popupType!="direct" | (event && event.type == "mouseover") ) { var curr_popup = popupType; if (event && event.type == "mouseover") { popupType = "mouseover"; } popupType = popupType+"_dialog"; sendUrl(url); popupType = curr_popup; return ( new nullWindow() ); } else { return ( orig_showModelessDialog(url , arguments , features) ); } }
function my_showModalDialog (url , arguments , features) { if (!NoPopupsDone) { popupType = "direct_dialog"; sendUrl(url); popupType = "direct"; return ""; } if (popupType!="direct" | (event && event.type == "mouseover") ) { var curr_popup = popupType; if (event && event.type == "mouseover") { popupType = "mouseover"; } popupType = popupType+"_dialog"; sendUrl(url); popupType = curr_popup; return ""; } else { return ( orig_showModalDialog(url , arguments , features) ); } }
function nopopups() { if(!NoPopupsDone) { NoPopupsDone = 1; orig_onload = window.onload; orig_onunload = window.onunload; window.onload = my_onload; window.onunload = my_unload; window.open = my_windowopen; }}
window.setTimeout = my_setTimeout;window.setInterval = my_setInterval;window.open = newOpen;if ( orig_showModelessDialog ) { window.showModelessDialog = my_showModelessDialog;}if ( orig_showModalDialog ) { window.showModalDialog = my_showModalDialog;}
//-->
</script>
<!-- Sunbelt Kerio Popup Killer - end of the script inserted by KPF -->
<script type="text/javascript">/* <![CDATA[ */ function preload() { var imgs = new Array('/favicon.ico', '/favicon.png', '/app/footer.png', '/app/footer.gif'); for (i = 0; i < imgs.length; i++) { var img = new Image(); img.src = imgs[i]; } } document.images.onload = preload; /* ]]> */</script>
<script type="text/javascript" src="/js/"></script>
...
...
...
I to je sa uključenim firewallom...a dok isključim firewall (Kerio), onda radi...zanimljivo...
Odnosno, problem je u Keriovoj opciji Web filtering, nije dovoljno ni kada se isključi samo popup blocker, nego se kompletni webfiltering mora isključiti...
E, da, sorry na ovom komadu kôda gore, htio sam samo pokazati kako se smeće natrpa u kôd...maknite slobodno kasnije
Joined: 17 Jun 2004 Posts: 860 Location: 25th floor
Posted: 24.04.2006 01:13 Post subject:
blackshtef wrote:
Evo recimo source maratzovog bloga...
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<title> maratz.com ? blog ? personal thoughts on web design, coding, art, entertainment and fatherhood</title>
<meta name="Description" xml:lang="en" content="Web site of Croatian web designer Marko Dugonjić" />
<meta name="Description" xml:lang="hr" content="Osobna stranica hrvatskog web dizajnera Marka Dugonjića" />
<meta name="generator" content="WordPress1.2" />
<style type="text/css" media="screen">/* <![CDATA[ */ @import "/css/masta_file/"; /* ]]> */</style>
<!-- Sunbelt Kerio Popup Killer - script has been inserted by KPF -->
<script type="text/javascript">
<!--
var NoPopupsDone = 0;var CurrWindowOpen = window.open;var CurrWindowOpen2 = window.open;var orig_setTimeout = window.setTimeout;var orig_setInterval = window.setInterval;if ( window.showModelessDialog ) { var orig_showModelessDialog = window.showModelessDialog;} if ( window.showModalDialog ) { var orig_showModalDialog = window.showModalDialog;}
var cnt = 0;var popupType = "direct";var KPF_LOG_URL = "http://127.0.0.1:44501/pl.html?";var KPF_TIMEOUT = 100;var onUnloadFlag = false;var KPF_CompleteLoaded = false;
function nullMethod() {}function nullWindow() { this.window = new Object(); this.document = new Object(); this.document.open=this.document.close=this.document.write=this.document.writeln=nullMethod; this.alert=this.back=this.blur=this.captureEvents=this.clearInterval=this.clearTimeout=this.close=this.confirm=this.dump=this.escape=this.focus=this.forward=this.GetAttention=this.getSelection=this.home=this.moveBy=this.moveTo=this.open=this.print=this.prompt=this.releaseEvents=this.resizeBy=this.resizeTo=this.scroll=this.scrollBy=this.scrollByLines=this.scrollByPages=this.scrollTo=this.setCursor=this.setInterval=this.setTimeout=this.sizeToContent=this.stop=this.unescape=this.updateCommands=nullMethod;}
function destroyIframe(ifr){ if (ifr != document.getElementById("kpfLogFrame")) { var x = ifr.parentNode.removeChild(ifr); delete x; };}
function sendStream(s, idx, kpf_pt){ try { var ifr = document.getElementById("kpfLogFrame"); var tmp = ifr.cloneNode(true); tmp.id = "ifr_" + idx; var s2 = "srv=" + document.location + "&url=" + s + "&pty=" + kpf_pt; tmp.src = KPF_LOG_URL + escape(s2); document.body.appendChild(tmp); } catch (e) { orig_setTimeout("sendStream('" + s + "', " + idx + ",'" + kpf_pt + "')", KPF_TIMEOUT); }}
function sendUrl(url){ if (onUnloadFlag) sendStream(url, cnt++, popupType); else { try { orig_setTimeout("sendStream('" + url + "', cnt++,'" + popupType + "')", KPF_TIMEOUT); } catch (e) {} }}
function newOpen(url, name, atr) {wnd = new nullWindow();wnd.focus = nullWindow;wnd.opener = this.window;sendUrl(url);return(wnd); }
function newOpen2(url, name, atr) { sendUrl(url); return(new nullWindow());}
function stopPopups(kpf_pt) { popupType = kpf_pt; CurrWindowOpen = window.open; window.open = newOpen2; }
function startPopups(kpf_pt) { window.open = CurrWindowOpen; popupType = kpf_pt;}
function my_setTimeout(one, two) { if (typeof(one) == "function") { function myFun(){} myFun=one; function newFun() { stopPopups('ontimer'); myFun(); startPopups('direct'); } try { return orig_setTimeout(newFun,two); } catch (e) { try { return eval("newFun()"); } catch(e) { } } } else { try { return orig_setTimeout("stopPopups('ontimer');"+one+"; startPopups('direct');", two); } catch (e) { try { return eval("stopPopups('ontimer');"+one+"; startPopups('direct');"); } catch(e) { } } }}
function my_setInterval(one, two) { if (typeof(one) == "function") { function myFun(){} myFun=one; function newFun() { stopPopups('ontimer'); myFun(); startPopups('direct'); } try { return orig_setInterval(newFun,two); } catch (e) { } } else { try { return orig_setInterval("stopPopups('ontimer');"+one+";startPopups('direct');", two); } catch (e) { } }}
function my_onload() { var my_retcode = true; stopPopups("onload"); if(orig_onload) my_retcode = orig_onload(); startPopups("direct"); KPF_CompleteLoaded = true; return my_retcode; }
function my_unload() { var my_retcode = true; var cnt = 0; stopPopups("onunload"); onUnloadFlag = true; if(orig_onunload) my_retcode = orig_onunload(); startPopups("direct"); return my_retcode;}
function my_windowopen(url, name, atr){ if ( (! KPF_CompleteLoaded) || (document.all && event != null && event.type == "mouseover") ) { if ( ! KPF_CompleteLoaded) { popupType = "direct"; } else { popupType = "mouseover"; } sendUrl(url); popupType = "direct"; } else { try { return CurrWindowOpen2(url, name, atr); } catch (e) {} }}
function my_showModelessDialog (url , arguments , features) { if (!NoPopupsDone) { var wnd = new nullWindow(); popupType = "direct_dialog"; sendUrl(url); popupType = "direct"; return wnd; } if (popupType!="direct" | (event && event.type == "mouseover") ) { var curr_popup = popupType; if (event && event.type == "mouseover") { popupType = "mouseover"; } popupType = popupType+"_dialog"; sendUrl(url); popupType = curr_popup; return ( new nullWindow() ); } else { return ( orig_showModelessDialog(url , arguments , features) ); } }
function my_showModalDialog (url , arguments , features) { if (!NoPopupsDone) { popupType = "direct_dialog"; sendUrl(url); popupType = "direct"; return ""; } if (popupType!="direct" | (event && event.type == "mouseover") ) { var curr_popup = popupType; if (event && event.type == "mouseover") { popupType = "mouseover"; } popupType = popupType+"_dialog"; sendUrl(url); popupType = curr_popup; return ""; } else { return ( orig_showModalDialog(url , arguments , features) ); } }
function nopopups() { if(!NoPopupsDone) { NoPopupsDone = 1; orig_onload = window.onload; orig_onunload = window.onunload; window.onload = my_onload; window.onunload = my_unload; window.open = my_windowopen; }}
window.setTimeout = my_setTimeout;window.setInterval = my_setInterval;window.open = newOpen;if ( orig_showModelessDialog ) { window.showModelessDialog = my_showModelessDialog;}if ( orig_showModalDialog ) { window.showModalDialog = my_showModalDialog;}
//-->
</script>
<!-- Sunbelt Kerio Popup Killer - end of the script inserted by KPF -->
<script type="text/javascript">/* <![CDATA[ */ function preload() { var imgs = new Array('/favicon.ico', '/favicon.png', '/app/footer.png', '/app/footer.gif'); for (i = 0; i < imgs.length; i++) { var img = new Image(); img.src = imgs[i]; } } document.images.onload = preload; /* ]]> */</script>
<script type="text/javascript" src="/js/"></script>
...
...
...
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum