Ignore offline adservers

Forums » Opera for Windows/Mac/Linux » Opera browser

You need to be logged in to post in the forums. If you do not have an account, please sign up first.

21. March 2006, 14:46:16

vokuhila

Posts: 5

Ignore offline adservers

Hello,

I tried to search the forums but couldn't find anything regarding this problem.

Sometimes I go to sites that include ad banners which are hostet on other servers. And sometimes, these servers don't respond.
The status bar of opera just says sth. like "Connecting to remote host ad.server.net". This can last as long as the server doesn't respond.
Is there a built in feature to tell opera to ignore that part of the site and to simply load the rest of it?


greets

21. March 2006, 16:55:55

neeraj_deshmukh

The Falcon

Posts: 21593

Originally posted by vokuhila:

Is there a built in feature to tell opera to ignore that part of the site and to simply load the rest of it?

Not that I know of. Please report this problem at Opera's Bug Tracking system and post the bug number (without the email address part) here.
Opera 10.0 (build 1589) * JRE 6.0u13 * Flash 10,0,22,87 * Dell Latitude D630 * Windows XP Pro SP3 * 2.5GHz Core 2 Duo * 2GB RAM
Never argue with an idiot. They drag you down to their level, then beat you with experience. - Dilbert

21. March 2006, 17:09:43

barulheira

I think

Posts: 1434

I'm not sure this is a bug. If the browser finds, in the middle of some HTML page, a script that has some "document.write()" inside of it, it has to process that script before parsing the remaining HTML content. If the script doesn't load, what should the browser do? Maybe, after getting a server timeout, the browser should throw an error and continue.
BTW, it is mainly a web publisher problem, not a browser bug, IMO. It is bad idea to get ads this way.

21. March 2006, 20:22:17 (edited)

HaJotKE

Grumbling Hyper-Critical Cantankerous Curmudgeon!

Banned user

Originally posted by barulheira:

If the script doesn't load, what should the browser do? Maybe, after getting a server timeout, the browser should throw an error and continue.

NO, NOT WAIT for said SERVER timeout, instead establish a BROWSER timeout by some watch-dog routine with customizable settings, and then continue ...

M/B additionally insert some small hint into the page, other browsers take small red cross marks (x-icons) for that, for example.
As an indicator that something is missing there, even with additional possible tooltips.
OPERA V8.54 (Win NT4) & V9.27 & V9.52[b10108] & V9.62[b10467] & V10[b1413] standard on (Win 98 SE) / (Win NT4) / (Win 2000 pro)
◇◇ UserJavascript "zz-spoof-id"! ◇◇◇ [Thanks for Finally Considering this Petition!] Composing Emails in the HTML Format in Opera

21. March 2006, 19:51:44

barulheira

I think

Posts: 1434

According to standards (should I look at them now?) an in-line script must be processed in order to continue parsing the HTML, unless there is a "defer" hint. So, how should the browser guess how much time it must stay waiting the script to download? It must receive a timeout. Ads scripts containing "document.write()" must be completely run inline before the remaining content can be displayed.

21. March 2006, 20:07:00

HaJotKE

Grumbling Hyper-Critical Cantankerous Curmudgeon!

Banned user

Originally posted by barulheira:

According to standards (should I look at them now?) an in-line script must be processed in order to continue parsing the HTML, unless there is a "defer" hint.

Usability rules!

And if there is NONE, and no SERVER response ever ...
What about such a never ending wait, manually press ESC, please NO!
OPERA V8.54 (Win NT4) & V9.27 & V9.52[b10108] & V9.62[b10467] & V10[b1413] standard on (Win 98 SE) / (Win NT4) / (Win 2000 pro)
◇◇ UserJavascript "zz-spoof-id"! ◇◇◇ [Thanks for Finally Considering this Petition!] Composing Emails in the HTML Format in Opera

21. March 2006, 20:18:20

xErath

javascript guru

Posts: 6588

Opera should have the option to set a timeout.
Also, regarding the OP, you may add server urls to filter.ini to prevent Opera fro ever trying to connect to those servers.
See section "Using the Built-in URL Filter"
http://nontroppo.org/wiki/BlockAdvertisements

That's not a bug.
For a collection of user scripts visit
http://my.opera.com/xErath/blog/

21. March 2006, 20:20:43

barulheira

I think

Posts: 1434

Originally posted by xErath:

That's not a bug.


Thanks, xErath!

21. March 2006, 20:30:39

Opera Software

haavard

Desktop QA

Posts: 16056

I don't think Opera can tell ad servers apart from any other...
The Opera Ninja recommends a forum search to find answers to your questions ninja

Håvard Kvam Moen @ My Opera / Twitter

21. March 2006, 22:56:17 (edited)

HaJotKE

Grumbling Hyper-Critical Cantankerous Curmudgeon!

Banned user

Originally posted by barulheira:

Originally posted by xErath:

That's not a bug.

Thanks, xErath!

Can we live with the following?

It's NO bug with respect to standards, M/B - but with respect to usability, I personally would speak of a buggy behavior. yes

Imagine, you open some URL - inter alia - in background for later use.
Then you are working through your different tabs and at a sudden you arrive at a half loaded page waiting for something which never came, and this can even be so, repeatedly, multiple times. What a nuisance.

Useless interruption of my work-flow ... sad

Strictly following the standards and such waiting could have made sense (for whom? I doubt however, for me!) in times of UNTABBED browsing, where that background opening was an exception, but now ...?! bigsmile
OPERA V8.54 (Win NT4) & V9.27 & V9.52[b10108] & V9.62[b10467] & V10[b1413] standard on (Win 98 SE) / (Win NT4) / (Win 2000 pro)
◇◇ UserJavascript "zz-spoof-id"! ◇◇◇ [Thanks for Finally Considering this Petition!] Composing Emails in the HTML Format in Opera

21. March 2006, 21:08:10

barulheira

I think

Posts: 1434

So THE USER has to tell Opera which scripts he wants Opera to skip rules. He can filter URLs. That's OK. Else, if a script takes a long time to load, how will Opera know if the server is down or if it is correct behavior by some heavy application at the server's side that is worth waiting for (mainly in slow connections)? Maybe, as xErath suggested, it could be an option to set a timeout. So the user will be the master of timeouts. No problem.

21. March 2006, 21:58:50

neeraj_deshmukh

The Falcon

Posts: 21593

Originally posted by haavard:

I don't think Opera can tell ad servers apart from any other...

It does not have to be ad servers. If Opera gets stuck on any server, it usually just gets stuck; period. A timeout and then moving on to the other stuff would be nice -- if nothing else, it will at least free up those network connections for something else.
Opera 10.0 (build 1589) * JRE 6.0u13 * Flash 10,0,22,87 * Dell Latitude D630 * Windows XP Pro SP3 * 2.5GHz Core 2 Duo * 2GB RAM
Never argue with an idiot. They drag you down to their level, then beat you with experience. - Dilbert

22. March 2006, 22:23:55

rmccabe916

Unprofessional Crap Cleaner

Posts: 9266

Originally posted by neeraj_deshmukh:

It does not have to be ad servers. If Opera gets stuck on any server, it usually just gets stuck; period. A timeout and then moving on to the other stuff would be nice -- if nothing else, it will at least free up those network connections for something else.


+1
"Science without religion is lame, religion without science is blind." — Albert Einstein

22. March 2006, 22:43:44

Pesala

Reclining Buddha

Posts: 25579

I have recently noticed this on E-Sangha — fortunately, the ad-server has a short time-out and the banner displays an error message instead of the ad.

This is not the case with other sites like PC Pro which can sometimes take a minute or more to load. As I write this, PC Advisor is not loading at all.

Since many ad-servers like ad.double-click are well known, isn't this something that can be configured in filters.ini?

At least, Opera should be able to render the rest of the page while it waits for the server to fulfil requests.
SkinsTipsButtonsBackupSecurityUser ScriptsLanguage ForumsWiki
Browser JSChangelogsOpera NextDragonflyBugsCrashesFTP
My WebsiteMy ForumsOpera ReviewMy FontsIrfanViewSearchDownloads
Opera 11.64 on Windows XP Home • AMD64 3500 1GB RAM specs idea
Rules of Conduct and Posting RulesPlease Don't ShoutEditing PostsOpera Config Links

23. March 2006, 13:06:14

barulheira

I think

Posts: 1434

Originally posted by Pesala:

At least, Opera should be able to render the rest of the page while it waits for the server to fulfil requests.


This is not default behavior.
If the browser gets the hint "defer" in the script tag, it can go on rendering the page. Without that hint, Opera cannot know if, a little bit after the script, the page calls a function that (maybe) is inside that script, and so Opera should wait the script finish loading to know if that function really is there, before continuing.
It's not that simple.

23. March 2006, 15:18:33

neeraj_deshmukh

The Falcon

Posts: 21593

Originally posted by barulheira:

so Opera should wait the script finish loading

We understand this. The point is, how long should Opera wait? If the server has no timeout set, should Opera be waiting forever? The request here is to have a timeout enforced from Opera's side as well (possibly optional / user-configurable).
Opera 10.0 (build 1589) * JRE 6.0u13 * Flash 10,0,22,87 * Dell Latitude D630 * Windows XP Pro SP3 * 2.5GHz Core 2 Duo * 2GB RAM
Never argue with an idiot. They drag you down to their level, then beat you with experience. - Dilbert

23. March 2006, 15:51:18

barulheira

I think

Posts: 1434

OK. I was talking about default behavior.

23. March 2006, 18:45:06

HaJotKE

Grumbling Hyper-Critical Cantankerous Curmudgeon!

Banned user

Originally posted by barulheira:

It's not that simple.

Agreed!

The more important does become developing a sound and sophisticated strategy for such a timeout solution. yes

M/B some OPERA users with enough insight into design and operation of
modern web-sites could gather their ideas into another new, specialized thread.
OPERA V8.54 (Win NT4) & V9.27 & V9.52[b10108] & V9.62[b10467] & V10[b1413] standard on (Win 98 SE) / (Win NT4) / (Win 2000 pro)
◇◇ UserJavascript "zz-spoof-id"! ◇◇◇ [Thanks for Finally Considering this Petition!] Composing Emails in the HTML Format in Opera

Forums » Opera for Windows/Mac/Linux » Opera browser