Sleazy Fork is available in English.

Let's panda!

A login, view, download tool for exhentai & e-hentai

Das sind Skriptversionen, bei denen der Quelltext aktualisiert wurde. Alle Versionen anzeigen.

  • v0.2.21 25.10.2024

    [Refactor] Refactor getting img url function

  • v0.2.20 25.10.2024

    [Fix] Fix the viewer and download features for the HTML update

  • v0.2.19 27.08.2024

    Issue with Page Refresh on Typing in Comment Text Box (#34)

    • Issue with Page Refresh on Typing in Comment Text Box

    Description

    When I add a new comment (by clicking [Post New Comment]), the page automatically refreshes after entering characters in the text box. After some investigation, it seems that this issue is caused by the script. This bug needs to be fixed.

    Problematic Code

    The current script sets up shortcut keys for navigation, but these shortcuts should not be triggered while typing in the text box. The code is as follows:

    document.addEventListener("keydown", async (e) => {
      // ignore key combinations
      if (e.altKey || e.shiftKey || e.ctrlKey || e.metaKey) {
        return;
      }
    
      var view_all = await GM.getValue("view_all", true);
    
      if (view_all === true) {
        return;
      }
    
      if (e.code === "ArrowLeft" || e.code === "KeyA") {
        e.preventDefault();
        childNodes[0].click();
      }
    
      if (e.code === "ArrowRight" || e.code === "KeyD") {
        e.preventDefault();
        childNodes[childNodes.length - 1].click();
      }
    });
    

    Suggested Fix

    To prevent this behavior, you should add a check to see if the current focus is on an input or textarea element. If so, the shortcut keys should not be triggered. Add the following code:

    // Check if the current focus is on an input or textarea element
    if (document.activeElement.tagName === "INPUT" || document.activeElement.tagName === "TEXTAREA") {
      return;
    }
    
    • Update version

    Update version

  • v0.2.18 05.07.2024

    Bump version to 0.2.18 for PR #31, #32, #33

  • v0.2.17 05.07.2024

    feat: allow use A, D, and arrow keys turn pages on view one mode (#33)

  • v0.2.17 05.07.2024

    feat: allow use W, S, and space keys to switch images (#32)

    Co-authored-by: Mino madness48596@gmail.com

  • v0.2.17 05.07.2024

    fix: arrow key combinations are wrong captured (#31)

  • v0.2.17 27.10.2023

    Fix gdo4 issue for exhentai update

  • v0.2.16 02.07.2023

    Bump version to 0.2.16 (#25)

  • v0.2.15 02.07.2023

    feat: allow page turning with arrow keys (#24)

  • v0.2.15 11.06.2023 Add threading limit for the viewer (#23) * Add threading limit for the viewer * Fix error handling for image load failure * Add backupUrl for download feature
  • v0.2.14 07.05.2023 allow user to use window height as image default (#21) * allow user to use window height as image default * Bump version to 0.2.14 --------- Co-authored-by: Mino <madness48596@gmail.com>
  • v0.2.13 08.11.2022 Imported from URL
  • v0.2.12 21.10.2022 Imported from URL
  • v0.2.10 20.08.2022 Bump 0.2.10 Add retry and alert for download image failed
  • v0.2.9 03.06.2022 Minor grammar fix, Merge pull request #14 from NintendoManiac64/NintendoManiac64_minor-grammar-fix Minor grammar fix
  • v0.2.9 03.06.2022 Swaps zoom button positions This matches the positions of the zoom buttons in other software such as Firefox, Chrome, etc., Bump version to 0.2.9, Merge pull request #11 from NintendoManiac64/Swapped-zoom-buttons-1 Swaps zoom button positions
  • v0.2.8 03.06.2022 Update main.js Typo and grammar corrections, Merge pull request #13 from NintendoManiac64/NintendoManiac64_grammar&typo-corrections Grammar and typo corrections
  • v0.2.8 15.05.2021 Update README.md
  • v0.2.7 27.04.2021 Fix login bug in firefox and chrome v0.2.7
  • v0.2.6 26.11.2020 Fix bug for issue #5
  • v0.2.5 13.07.2020 v0.2.5 Add more features Viewer for all page feature Double mode button add reverse feature
  • v0.2.4 05.11.2019 bump v0.2.4
  • v0.2.3 05.11.2019 Fix login page
  • v0.2.3 19.07.2018 v0.2.3 Fix bug line 479
  • v0.2.2 02.07.2018 v0.2.2 Fix maxPic
  • v0.2.1 02.07.2018 v0.2.1 BUG FIX: Can't view image after Page 50 in any gallery
  • v0.2.0 19.05.2018 Imported from URL
  • v0.1.9 27.12.2017 v0.1.9 Add button to switch the viewer mode
  • v0.1.8 26.11.2017 v0.1.8 improved: -the icons are fixed on bottom -add resize range(10%~150%)
  • v0.1.7 21.11.2017 v0.1.7 Add Greasemonkey 4.0+ support Fix cookie undefined in setCookie Add async/await to GM.getValue
  • v0.1.6 20.11.2017 v0.1.6 Fixed -the function that displays single or double pic -initialize config Todo -lazy loading all pic
  • v0.1.5 17.11.2017 v0.1.5 New feature: Add width zoom in and out
  • v0.1.4 17.11.2017 add width zoom in and out
  • v0.1.4 16.11.2017 Fixed width Todo: Add width zoom in and out
  • v0.1.3 15.11.2017 v0.1.3
  • v0.1.2 15.11.2017 change button image and add gap btween images
  • v0.1.2 15.11.2017 v0.1.2
  • v0.1.1 14.11.2017 improve button css
  • v0.1.1 13.10.2017 Fixed regexp
  • v0.1.0 13.10.2017 Fixed login not working in private browsing
  • v0.0.4 11.10.2017 -add view function
  • v0.0.3 10.10.2017 Fiexed download completed
  • v0.0.2 10.10.2017 fixed async
  • v0.0.1 10.10.2017 Update main.js
  • v0.0.1 10.10.2017 Imported from URL