The My Opera forums have been replaced with forums.opera.com. Please head over there to discuss Opera's products and features

See the new Forums

Return back display: none behavior

Forums » Opera for Windows/Mac/Linux » Desktop wish-list

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

Go to last post

4. October 2011, 07:18:08

komokdj

Posts: 212

Return back display: none behavior

We all are happy that the latest builds of Opera are faster in peacekeeper test as compared to the version 11.01, but in the real browsing it is not so evident. The reason is the change in the way the browser handles display: none CSS property. Opera versions before 11.01 prevented CSS elements with this property from downloading, all modern versions download them, but prevent from displaying. Hence, in the past we had an efficient way to increase the speed of web-browsing by using special CSS filters (for example, AdBlock subscriptions), which allowed to block many undesirable/advertisement content from being even downloaded. Now we are limited by the choise: either to use urlfilters for this purpose or use CSS filters, which just hide the advertisements. I know that today's display: none is compatible with CSS specifications. But I also know many people who are unhappy with this.

Hence, my proposal is to return back display: none behavior implemented in older Opera versions.
Please, make an option in opera:preferences for experienced users can choose between default (as now) and old-styled behavior.
Thank you in advance.

4. October 2011, 08:23:42

Capushon

Posts: 10

I support this proposal.

4. October 2011, 09:08:37

serious

Now also on Vivaldi

Posts: 5658

-1
1) css is only a presentation layer, not for content management
2) compatibility with other browsers is important, eg. for image preloaders that use display:none
3) there is always the content blocker to shoot down ads (and i haven't yet seen one that I couldn't block)
All my posts only represent my own opinions.
[ Tweedo Monitor - Deluxe Website & Service Monitoring ]

4. October 2011, 09:33:53

Capushon

Posts: 10

serious:
Previously, it worked fine.
Why the parameter "display: none" does not make optional in opera: config?

4. October 2011, 19:08:07

kadvlad

Posts: 4

Originally posted by komokdj:

Please, make an option in opera:preferences for parameter "display: none"


Very useful!
Support it!

7. October 2011, 01:02:09

SerjMetakiller

Posts: 7

Please, make an option in opera:preferences for parameter "display: none"


+100
It would be very useful to (because some viral code intrusion may be initiated via hidden page blocks loading in background) :spy:
2 serious

1) css is only a presentation layer, not for content management


The internet is for Users, so let them decide which content will be shown on the page.

7. October 2011, 07:19:09

serious

Now also on Vivaldi

Posts: 5658

Originally posted by SerjMetakiller:

The internet is for Users, so let them decide which content will be shown on the page.

I am not saying that ... but only because you apply a style to something it should not influence if the file is downloaded or not.
All my posts only represent my own opinions.
[ Tweedo Monitor - Deluxe Website & Service Monitoring ]

13. October 2011, 15:21:05

Slamdex

Banned user

Originally posted by Capushon:

Previously, it worked fine.


It did not. It caused failures on sites.

14. October 2011, 10:26:03

lbalagu

Posts: 3

Originally posted by Slamdex:

It caused failures on sites.


I don't belive these words without any proof. no
Can you please be more specific - indicate which failures, what sites?

14. October 2011, 11:31:11

serious

Now also on Vivaldi

Posts: 5658

see my initial post on the topic for a link. This is a rather tame example (as it only prohibits preloading), but it shows the general problem.
All my posts only represent my own opinions.
[ Tweedo Monitor - Deluxe Website & Service Monitoring ]

14. October 2011, 22:04:57

lbalagu

Posts: 3

Originally posted by serious:

but it shows the general problem.


I read and didn't found the problem in this exotic article.
The author proposed to utilize display:none for preloading the images in browser's cache without showing them to users, i.e. "for content management", isn't it? wink
Then he recognized this method is often not working and decided that visibility:hidden will be better than display:none. So, the method you mentioned was not accepted by the internet community and hence can't cause any problems even hypothetically. On the contrary, content blocking and elements hiding via display:none is widely accepted.

16. October 2011, 07:18:02

RX-3200

Posts: 62

I support this proposal

Originally posted by serious:

1) css is only a presentation layer, not for content management


that's wrong
no need to restrict the use of CSS to your personal opinion
UserCSS at the Opera a long time ago used to filter content

Originally posted by serious:

2) image preload


you can do it on JS anytime, so that is not good reason

Originally posted by serious:

3) there is always the content blocker to shoot down ads (and i haven't yet seen one that I couldn't block)


which content blocker mean? of that which is built into Opera?
and be proud of what you have not seen before - a bad argument

All claims for translate to Google
"What if they gave a war and only one side came" Lucifer
© Robert Asprin (Myth Conceptions)

17. October 2011, 10:21:48

zielak007

Posts: 803

+0.(9)

Originally posted by serious:

css is only a presentation layer, not for content management
compatibility with other browsers is important


I think there are at least 2 ways to solve this problem:
1. UserCSS could works like older Opera versions, page's CSS like newer versions
2. Improve content blocker: allow to blocks any IDs, classes and elements

17. October 2011, 11:01:11

Slamdex

Banned user

Originally posted by lbalagu:

Originally posted by Slamdex:

It caused failures on sites.


I don't belive these words without any proof. no
Can you please be more specific - indicate which failures, what sites?

Search the forum. Read the posts by Opera employees. I'm not going to bother wasting my time on digging up stuff for you.

17. October 2011, 14:47:05

artmil

d(^_^)b

Posts: 370

+1

Originally posted by zielak007:

I think there are at least 2 ways to solve this problem:
1. UserCSS could works like older Opera versions, page's CSS like newer versions
2. Improve content blocker: allow to blocks any IDs, classes and elements


3. Add a prefixed(-o) display property that behaves like the old one.

There are sites that have random image ads that are hosted on different image hosting sites(the images take sometimes over 5mb...)
I would have to block in the content blocker every image hosting sites to block that...
Krita.org
Opera: 12.1x

28. August 2012, 13:20:54

D555

Posts: 232

+1000000000

28. August 2012, 13:46:13

Frenzie

Posts: 15571

+1 as an option for preserving bandwidth.
The DnD Sanctuary — a safety net for My Opera's demise.

Forums » Opera for Windows/Mac/Linux » Desktop wish-list