Skip to content

Instantly share code, notes, and snippets.

@DaveLak
Forked from kfur/darkreader.js
Created September 19, 2024 07:41
Show Gist options
  • Save DaveLak/7460fe2322371585f1c606cb3c64e901 to your computer and use it in GitHub Desktop.
Save DaveLak/7460fe2322371585f1c606cb3c64e901 to your computer and use it in GitHub Desktop.

Revisions

  1. @kfur kfur revised this gist Dec 28, 2019. No changes.
  2. @kfur kfur revised this gist Nov 9, 2019. 1 changed file with 0 additions and 5732 deletions.
    5,732 changes: 0 additions & 5,732 deletions gistfile1.txt
    0 additions, 5,732 deletions not shown because the diff is too large. Please use a local Git client to view these changes.
  3. Denis revised this gist Oct 31, 2019. 1 changed file with 24 additions and 0 deletions.
    24 changes: 24 additions & 0 deletions darkreader.js
    Original file line number Diff line number Diff line change
    @@ -5,6 +5,30 @@
    // @run-at document-start
    // ==/UserScript==

    // MIT License

    // Copyright (c) 2019 Alexander Shutau

    // All rights reserved.

    // Permission is hereby granted, free of charge, to any person obtaining a copy
    // of this software and associated documentation files (the "Software"), to deal
    // in the Software without restriction, including without limitation the rights
    // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
    // copies of the Software, and to permit persons to whom the Software is
    // furnished to do so, subject to the following conditions:

    // The above copyright notice and this permission notice shall be included in all
    // copies or substantial portions of the Software.

    // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
    // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
    // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
    // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
    // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
    // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
    // SOFTWARE.

    (function(){

    var dynamicFixes = [{
  4. Denis created this gist Oct 31, 2019.
    5,732 changes: 5,732 additions & 0 deletions darkreader.js
    5,732 additions, 0 deletions not shown because the diff is too large. Please use a local Git client to view these changes.
    5,732 changes: 5,732 additions & 0 deletions gistfile1.txt
    5,732 additions, 0 deletions not shown because the diff is too large. Please use a local Git client to view these changes.