Improvement requests :  K-Meleon Web Browser Forum
Use this forum to talk about a feature you're missing. 
dailymotion preview
Posted by: Mala Okeh
Date: August 25, 2014 12:24PM

For some reason or other k-meleon 74 / 1.8.0 doesn't show the newly introduced blurred previews of age-restricted videos on Dailymotion.

Is there a (css-script) solution for that?

Thx in advance

Mala Okeh

Options: ReplyQuote
Re: dailymotion preview
Posted by: JohnHell
Date: August 25, 2014 03:42PM

The filter support is buggy even in Firefox 31, so not a K-meleon improvement but a fix of the unfixed by mozilla.

Set the filter to none:
img[class*="blur"]{filter: none!important}

Options: ReplyQuote
Re: dailymotion preview
Posted by: Mala Okeh
Date: August 26, 2014 07:45AM

Phantastic : it works ! Thanks a lot

Mala Okeh

Options: ReplyQuote
Re: dailymotion preview
Posted by: JD
Date: August 29, 2014 02:53AM

img[class*="blur"]{filter: none!important}

Where's that? about:config ???


Thanks,
JD

Options: ReplyQuote
Re: dailymotion preview
Posted by: Mala Okeh
Date: August 29, 2014 10:59AM

Put the line in userContent.ccs file in Profiles/xxxxx/chrome/userContent.css.

For me it worked.

Mala

Options: ReplyQuote
Re: dailymotion preview
Posted by: JohnHell
Date: August 29, 2014 03:43PM

Actually you can go further and avoid the use of that CSS code to any page by replacing that line with this code:

@-moz-document domain(dailymotion.com){
img[class*="blur"]{filter: none!important}
}


So now it only applies to the img elements with class that contains "blur" text and it is only in a page in dailymotion second level domain.


Aditionally, for those interested in a blur effect instead, I found what was the problem. Was partially by Dailymotion CSS code (because of this) and Mozilla by not following its own MDN (they should change "may include an anchor" by "must include an anchor").

@-moz-document domain(dailymotion.com){
img[class*="blur"]{filter: url("data:image/svg+xml;utf8,<svg height='0' xmlns='http://www.w3.org/2000/svg'><filter id='blur'><feGaussianBlur stdDeviation='1'/></filter></svg>#blur")!important}
}


Options: ReplyQuote
Re: dailymotion preview
Posted by: äxl
Date: January 11, 2015 07:29AM

Brilliant.
Do I need userChrome.css?

Options: ReplyQuote
Re: dailymotion preview
Posted by: guenter
Date: January 11, 2015 01:01PM

Quote
äxl
Brilliant.
Do I need userChrome.css?

Nicht wirklich.

In K-Meleon not really.

K-Meleon's GUI is not XUL based. So changes in userChrome.css can only affect the few XUL based items like Preferences and Add-ons that we use.

Options: ReplyQuote
Re: dailymotion preview
Posted by: äxl
Date: January 11, 2015 07:01PM

Hähä.
Was just asking because I've never fiddled with userContent.css
I will disable the blur filter everywhere. I don't want to miss a thing. winking smiley

Options: ReplyQuote


K-Meleon forum is powered by Phorum.