Skip to content

Sharpen by ProgrammerAleks

Details

AuthorProgrammerAleks

LicenseMIT

Categoryuserstyles

Created

Updated

Size977 B

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

A direct clone of of Opera Lucid Mode by rugby that is intended as a backup due to paranoia.

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.