8522c89195
* update * gitignore * base file * template * json generator * remove valid method * Update README.md README * update template * Update README.md * update template * not support async arrow function * remove valid method * basic plugin validation. * Update README.md * update template * Update README.md * add fetchFile lib. empy .language file * comment fetch * update * comment fetch * auto comment, update template, template.min * Update README.md * add option to test * reset version * Update README.md * small fix for LightNovelReader * comment fetch * minor: LL date format * refactor: rename project, remove html2text lib * fix: error if there's no plugin changed * implement cookies bypass * update template.min.js * add syosetu * fix: get last file in case removing. shorter id * shoter native language name * change app project name * testing with UI would be less painful :) * remove console.log * Update README.md for UI testing * fix Syosetu * remove try catch * add ranobehub * add json for ranobehub * wrong icon path :D * fix ranobehub * fix status ranobe * add french * fix css * add chireads * add indonesian * add sakura novel * add sakuranovel json * add spanish * add skynovels * fix skynovels * add agitoon * add turkish * add epiknovel * add portuguese * update template * cheerio_space * add novel Fullme * minor * lol, this source havent been finished before. cant help * cant bypass this * add hasutl * novelasligera not working properly * add novelpub, but no searching * add jaomix * fix jaomix * add ranoberf * add indowebnovel * add novelringan * add noveldeglace * search not work for this * add oasisTL, this should have better popularNovels * add tunovelaligera * this source need to fix search * add bestlightnovel * add comrade mao * minor fix * add divinedaolibrary * add freewebnovel * lol xD * minor * update json * fix icon novelawuxia * update site in for pluginItem * some changes for more convenient * remove try catch * Update README.md * remove * Update README.md * trying to use pre-commit * update README * feat: .env for repo config * add foxaholic (#2) * rebase fox * fox officially 1.0.0 --------- Co-authored-by: K1ngfish3r <trulyihu@gmail.com>
117 lines
4.7 KiB
HTML
117 lines
4.7 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<link rel="shortcut icon" sizes="128x128" type="image/png" href="/static/ico.png" defer />
|
|
<link rel="stylesheet" href="/static/css/bootstrap.min.css">
|
|
<link rel="stylesheet" href="/static/css/index.css">
|
|
<title>Testing plugin</title>
|
|
</head>
|
|
|
|
<body>
|
|
<nav class="navbar navbar-light bg-light">
|
|
<form class="form-inline">
|
|
<input id="plugin" class="form-control mr-sm-2" type="search" placeholder="Search" aria-label="Search">
|
|
<button class="btn btn-outline-success my-2 my-sm-0" type="button" id="clear-search">Clear</button>
|
|
<div id="search-results">
|
|
</div>
|
|
</form>
|
|
<div class="input-group">
|
|
<select class="custom-select" id="language">
|
|
<option value=""></option>
|
|
</select>
|
|
<div class="input-group-append">
|
|
<label class="input-group-text" for="language">Language</label>
|
|
</div>
|
|
</div>
|
|
</nav>
|
|
<div id="test-container">
|
|
<div class="test-wrapper" id="popularNovels">
|
|
<div class="title">
|
|
popularNovels
|
|
<button type="button" class="btn btn-primary" onclick="popularNovels()">fetch</button>
|
|
<div class="spinner-border" role="status">
|
|
<span class="sr-only">Loading...</span>
|
|
</div>
|
|
</div>
|
|
<div class="novel-list">
|
|
</div>
|
|
</div>
|
|
<div class="test-wrapper" id="searchNovels">
|
|
<div class="title">
|
|
searchNovels
|
|
<div class="input-group">
|
|
<input type="text" class="form-control" placeholder="searchTerm">
|
|
<div class="input-group-append">
|
|
<button class="btn btn-primary" type="button" onclick="searchNovels()">search</button>
|
|
</div>
|
|
</div>
|
|
<div class="spinner-border" role="status">
|
|
<span class="sr-only">Loading...</span>
|
|
</div>
|
|
</div>
|
|
<div class="novel-list">
|
|
</div>
|
|
</div>
|
|
<div class="test-wrapper" id="parseNovelAndChapters">
|
|
<div class="title">
|
|
parseNovelAndChapters
|
|
<div class="input-group">
|
|
<input type="text" class="form-control" placeholder="novel url">
|
|
<div class="input-group-append">
|
|
<button class="btn btn-primary" type="button" onclick="parseNovelAndChapters()">fetch</button>
|
|
</div>
|
|
</div>
|
|
<div class="spinner-border" role="status">
|
|
<span class="sr-only">Loading...</span>
|
|
</div>
|
|
</div>
|
|
<div class="novel-list">
|
|
<div class="novel-item">
|
|
</div>
|
|
<div class="chapter-list">
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="test-wrapper" id="parseChapter">
|
|
<div class="title">
|
|
parseChapter
|
|
<div class="input-group">
|
|
<input type="text" class="form-control" placeholder="chapter url">
|
|
<div class="input-group-append">
|
|
<button class="btn btn-primary" type="button" onclick="parseChapter()">fetch</button>
|
|
</div>
|
|
</div>
|
|
<div class="spinner-border" role="status">
|
|
<span class="sr-only">Loading...</span>
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<textarea class="form-control" rows="10">
|
|
</textarea>
|
|
</div>
|
|
</div>
|
|
<div class="test-wrapper" id="fetchImage">
|
|
<div class="title">
|
|
fetchImage
|
|
<div class="input-group">
|
|
<input type="text" class="form-control" placeholder="image url (shoule be in chapterText)">
|
|
<div class="input-group-append">
|
|
<button class="btn btn-primary" type="button" onclick="fetchImage()">fetch</button>
|
|
</div>
|
|
</div>
|
|
<div class="spinner-border" role="status">
|
|
<span class="sr-only">Loading...</span>
|
|
</div>
|
|
</div>
|
|
<img src="" style="min-height: 300px; max-width: 450px;" alt="">
|
|
</div>
|
|
</div>
|
|
</body>
|
|
<script src="/static/js/jquery-3.6.4.min.js"></script>
|
|
<script src="/static/js/index.js"></script>
|
|
|
|
</html> |