Let's panda!

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

Устаревшая версия за 05.07.2024. Перейдите к последней версии.

Ниже показаны версии этого скрипта, в которых изменялся код. Показать все версии.

  • вер. 0.2.21 25.10.2024

    [Refactor] Refactor getting img url function

  • вер. 0.2.20 25.10.2024

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

  • вер. 0.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

  • вер. 0.2.18 05.07.2024

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

  • вер. 0.2.17 05.07.2024

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

  • вер. 0.2.17 05.07.2024

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

    Co-authored-by: Mino [email protected]

  • вер. 0.2.17 05.07.2024

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

  • вер. 0.2.17 27.10.2023

    Fix gdo4 issue for exhentai update

  • вер. 0.2.16 02.07.2023

    Bump version to 0.2.16 (#25)

  • вер. 0.2.15 02.07.2023

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

  • вер. 0.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
  • вер. 0.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 <[email protected]>
  • вер. 0.2.13 08.11.2022 Imported from URL
  • вер. 0.2.12 21.10.2022 Imported from URL
  • вер. 0.2.10 20.08.2022 Bump 0.2.10 Add retry and alert for download image failed
  • вер. 0.2.9 03.06.2022 Minor grammar fix, Merge pull request #14 from NintendoManiac64/NintendoManiac64_minor-grammar-fix Minor grammar fix
  • вер. 0.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
  • вер. 0.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
  • вер. 0.2.8 15.05.2021 Update README.md
  • вер. 0.2.7 27.04.2021 Fix login bug in firefox and chrome v0.2.7
  • вер. 0.2.6 26.11.2020 Fix bug for issue #5
  • вер. 0.2.5 13.07.2020 v0.2.5 Add more features Viewer for all page feature Double mode button add reverse feature
  • вер. 0.2.4 05.11.2019 bump v0.2.4
  • вер. 0.2.3 05.11.2019 Fix login page
  • вер. 0.2.3 19.07.2018 v0.2.3 Fix bug line 479
  • вер. 0.2.2 02.07.2018 v0.2.2 Fix maxPic
  • вер. 0.2.1 02.07.2018 v0.2.1 BUG FIX: Can't view image after Page 50 in any gallery
  • вер. 0.2.0 19.05.2018 Imported from URL
  • вер. 0.1.9 27.12.2017 v0.1.9 Add button to switch the viewer mode
  • вер. 0.1.8 26.11.2017 v0.1.8 improved: -the icons are fixed on bottom -add resize range(10%~150%)
  • вер. 0.1.7 21.11.2017 v0.1.7 Add Greasemonkey 4.0+ support Fix cookie undefined in setCookie Add async/await to GM.getValue
  • вер. 0.1.6 20.11.2017 v0.1.6 Fixed -the function that displays single or double pic -initialize config Todo -lazy loading all pic
  • вер. 0.1.5 17.11.2017 v0.1.5 New feature: Add width zoom in and out
  • вер. 0.1.4 17.11.2017 add width zoom in and out
  • вер. 0.1.4 16.11.2017 Fixed width Todo: Add width zoom in and out
  • вер. 0.1.3 15.11.2017 v0.1.3
  • вер. 0.1.2 15.11.2017 change button image and add gap btween images
  • вер. 0.1.2 15.11.2017 v0.1.2
  • вер. 0.1.1 14.11.2017 improve button css
  • вер. 0.1.1 13.10.2017 Fixed regexp
  • вер. 0.1.0 13.10.2017 Fixed login not working in private browsing
  • вер. 0.0.4 11.10.2017 -add view function
  • вер. 0.0.3 10.10.2017 Fiexed download completed
  • вер. 0.0.2 10.10.2017 fixed async
  • вер. 0.0.1 10.10.2017 Update main.js
  • вер. 0.0.1 10.10.2017 Imported from URL