Skip to content

Opera Lucid Mode - sharpen video/images by rugby

Screenshot of Opera Lucid Mode - sharpen video/images

Details

Authorrugby

LicenseMIT license

Categoryyoutube.com

Created

Updated

Size977 B

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

Port of Lucid Mode from Opera to other web browsers allowing you to enhance all videos and/or images on every website by sharpening them for better quality.

Notes

Userstyle doesn't have notes.

Source code

/* ==UserStyle==
@name         Opera Lucid Mode - sharpen video/images
@description  Enhance video, images by sharpening
@version      1.1.0
@namespace    rugby
@license      MIT
@preprocessor uso
@var          select selector Selector {
  "Video*": "video",
  "Video, Image": "video, img",
  "Image": "img"
}
@var          select strength Strength {
  "Very low": "-0.1 -0.1 -0.1 -0.1 1.8 -0.1 -0.1 -0.1 -0.1",
  "Low": "-0.2 -0.2 -0.2 -0.2 2.6 -0.2 -0.2 -0.2 -0.2",
  "Normal*": "1 -1 1 -1 -1 -1 1 -1 1",
  "High": "-0.5 -0.5 -0.5 -0.5 5 -0.5 -0.5 -0.5 -0.5",
  "Very high": "-1 -1 -1 -1 9 -1 -1 -1 -1"
}
==/UserStyle== */

@-moz-document url-prefix("http") {
/*[[selector]]*/ {
    filter: url('data:image/svg+xml,\
        <svg xmlns="http://www.w3.org/2000/svg">\
          <filter id="sharpen">\
            <feConvolveMatrix order="3" preserveAlpha="true" kernelMatrix="/*[[strength]]*/"/>\
          </filter>\
        </svg>#sharpen')
}
}

Reviews

No reviews yet.