Novel Ranking Filter [No GM_API Version]

Novel Ranking Filtering Bookmarklet for Mobile Browser

Seznam verzí skriptu, při kterých došlo ke změnám v kódu. Zobrazit všechny verze.

  • v2024-06-23 22. 06. 2024
  • v2024-06-23 22. 06. 2024
  • v2024-06-23 22. 06. 2024
  • v2024-06-22 22. 06. 2024
  • v2024-06-19 19. 06. 2024
  • v2024-06-19 19. 06. 2024
  • v2024-06-19 19. 06. 2024
  • v2024-05-05 04. 05. 2024
  • v2024-05-05 04. 05. 2024
  • v2024-03-24 25. 03. 2024
  • v2024-03-24 24. 03. 2024

    20040324
    Replace save to clipboard with save to browser's localstorage. Now all settings and lists will be auto saved.

    How to use:
    1. Run JS2Bookmarklet AHK script to remove comment/space/tab.
    2. Copy BML.txt's content to create a bookmark.
    3. goto ranking page and use this new bookmark.
    Done.

    JS2Bookmarklet AHK script:
    #NoEnv
    SetWorkingDir %A_ScriptDir%
    #SingleInstance Force
    FileRead, Clipboard, *m15000 C:\Users\%A_UserName%\Downloads\Novel_Ranking_Filter.user.js
    if not ErrorLevel
    {
    Clipboard := RegExReplace(Clipboard, "//.*?\r\n", "")
    Clipboard := RegExReplace(Clipboard, "\s(a""|class|content|id|solid|type|/>)", "@$1")
    Clipboard := RegExReplace(Clipboard, "(bcd|case|const|function|let|return|solid|use|var)\s", "$1@")
    Clipboard := StrReplace(Clipboard, "`(function`(`)", "javascript:(()=>", 1)
    Clipboard := StrReplace(Clipboard, "else if", "else@if")
    Clipboard := StrReplace(Clipboard, A_Tab, "")
    Clipboard := StrReplace(Clipboard, A_Space, "")
    Clipboard := StrReplace(Clipboard, "#", "\#")
    Clipboard := StrReplace(Clipboard, "@", A_Space)
    Clipboard := StrReplace(Clipboard, "`r`n", "")
    FileAppend, %Clipboard%, c:\Users\%A_UserName%\Downloads\BML.txt
    Clipboard := ""
    }
    ExitApp

  • v2024-03-19 19. 03. 2024