mirror of
https://github.com/seven332/EhViewer
synced 2026-11-27 17:48:06 +08:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ba6d41b91f | ||
|
|
6a9e0198a2 | ||
|
|
92f716170c | ||
|
|
d72f686d5a | ||
|
|
28eade9451 | ||
|
|
7b95bc804a | ||
|
|
47c9d48787 | ||
|
|
8a7adbe838 | ||
|
|
0248fd4e02 | ||
|
|
1cd5f7bbf7 | ||
|
|
db893b899d | ||
|
|
d86dd3bc06 | ||
|
|
49f420c1eb | ||
|
|
c9103caad8 | ||
|
|
ee0ffc48d2 | ||
|
|
ed7eba7ef4 | ||
|
|
b6a16d1d58 | ||
|
|
04521dfeb6 | ||
|
|
d00f6e6cc6 | ||
|
|
7a47b2504d | ||
|
|
2da10a5855 | ||
|
|
323b36c58a | ||
|
|
9834d45ca9 | ||
|
|
c058bb01f0 | ||
|
|
f578c6cb8b | ||
|
|
2c43589c1c | ||
|
|
6e73f03c19 | ||
|
|
b7e2c5bce1 | ||
|
|
9707ac470a | ||
|
|
06fd28290c | ||
|
|
21ef5897ef | ||
|
|
bdd45b5f10 | ||
|
|
e68d4ad2c4 | ||
|
|
2e56ba4ed0 | ||
|
|
54b6dd99a9 | ||
|
|
6389b09d64 | ||
|
|
998d87b206 | ||
|
|
0b6a9da664 | ||
|
|
6086175ef6 | ||
|
|
5e690c6983 | ||
|
|
a898f289fe | ||
|
|
a215389b98 | ||
|
|
60af7937c7 | ||
|
|
4064510b14 | ||
|
|
c9146324f8 | ||
|
|
bd7c806ad9 | ||
|
|
efe7d4757a | ||
|
|
3554fe1188 | ||
|
|
06357b37d6 | ||
|
|
ae2443fbf0 | ||
|
|
19403975ba | ||
|
|
5087311b26 | ||
|
|
de854ac7ac | ||
|
|
40c0506f6e | ||
|
|
7beb49e599 | ||
|
|
7c5486aa08 | ||
|
|
120124101a | ||
|
|
c286d2c543 | ||
|
|
5f411661e9 | ||
|
|
981a7c7851 | ||
|
|
43b169371d | ||
|
|
311dabba17 | ||
|
|
c7d7ce8225 | ||
|
|
4b1c6ac917 | ||
|
|
24612b7d14 | ||
|
|
3530faabf1 | ||
|
|
0f3a95575c | ||
|
|
0334833bf8 | ||
|
|
1b1d94a98d | ||
|
|
dfa1de9745 |
No files matched your search
@@ -1,30 +0,0 @@
|
||||
感谢您提交 Issue,请在提交前仔细阅读以下信息。
|
||||
|
||||
请在阅读完毕后,删除这些文字,并写下对该 Issue 的描述。
|
||||
|
||||
若您能熟练使用现代标准汉语,请务必使用该语言描述 Issue。
|
||||
|
||||
Issue 的内容仅可为
|
||||
* Bug 反馈
|
||||
* 功能申请
|
||||
|
||||
若您希望得到使用指导(譬如如何删除快速搜索),请至 [G+ 社区](https://plus.google.com/u/1/communities/103823982034655188459) 发贴。若有其他问题,可在应用内找到开发者的邮箱地址,使用电子邮件与开发者交流。
|
||||
|
||||
若内容为 Bug 反馈,请先查看 [release 页面](https://github.com/seven332/EhViewer/releases),以帮助确认该 bug 是否存在于最新版中;同时应详细描述 bug 内容与重现方法,必要时可附加截图,但请确定截图符合风序良俗。
|
||||
|
||||
功能申请包括添加新功能与改进现有功能。
|
||||
|
||||
一个 Issue 只包含一个 Bug 反馈或者功能申请。若有多个需求,请提交多个 Issue。
|
||||
|
||||
尽量不提交重复的 Issue,可先进行搜索。对于重复的 Issue,开发者可能会直接关闭并添加 Duplicate 标签。
|
||||
|
||||
|
||||
Thank you for taking the time to submit an issue. Before you proceed, please consider the following.
|
||||
|
||||
An issue can only be about:
|
||||
* Bug Report
|
||||
* Feature Request
|
||||
|
||||
If you need application instructions, please post your question in [G+ community](https://plus.google.com/u/1/communities/103823982034655188459). If you have other questions, please get the developer's email address in the application, and send him/her an email.
|
||||
|
||||
One issue one bug report or feature request.
|
||||
@@ -0,0 +1,20 @@
|
||||
---
|
||||
name: 功能申请 / Feature request
|
||||
about: 有个想法 / Suggest an idea for this project
|
||||
title: ''
|
||||
labels: ''
|
||||
assignees: ''
|
||||
|
||||
---
|
||||
|
||||
**这个功能是用来解决问题的吗? / Is your feature request related to a problem? Please describe.**
|
||||
描述这个问题。
|
||||
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
|
||||
|
||||
**描述你想要的解决方法 / Describe the solution you'd like**
|
||||
描述应通过何种行为来解决这个问题。
|
||||
A clear and concise description of what you want to happen.
|
||||
|
||||
**备注 / Additional context**
|
||||
还有别的想说的吗?
|
||||
Add any other context or screenshots about the feature request here.
|
||||
@@ -0,0 +1,41 @@
|
||||
---
|
||||
name: Bug 反馈 / Bug report
|
||||
about: 出问题了 / Create a report to help us improve
|
||||
title: ''
|
||||
labels: ''
|
||||
assignees: ''
|
||||
|
||||
---
|
||||
|
||||
**简略描述 / Describe the bug**
|
||||
大概说下是什么问题。
|
||||
A clear and concise description of what the bug is.
|
||||
|
||||
**如何重现 / To Reproduce**
|
||||
重现的步骤:
|
||||
1. 打开什么什么
|
||||
2. 点击什么什么
|
||||
3. 出现什么什么问题
|
||||
Steps to reproduce the behavior:
|
||||
1. Go to '...'
|
||||
2. Click on '....'
|
||||
3. Scroll down to '....'
|
||||
4. See error
|
||||
|
||||
**预期行为 / Expected behavior**
|
||||
应该是什么样子的?
|
||||
A clear and concise description of what you expected to happen.
|
||||
|
||||
**截图 / Screenshots**
|
||||
能截图的话就发截图,请注意风序良俗。
|
||||
If applicable, add screenshots to help explain your problem.
|
||||
|
||||
**设备型号与 Android 版本 / Device model and Android version**
|
||||
- 设备型号:【比如 Pixel 6 XXXL】
|
||||
- Android 版本:【比如 Android 12.1】
|
||||
- Device model: [e.g. Pixel 6 XXXL]
|
||||
- Android version: [e.g. Android 12.1]
|
||||
|
||||
**备注 / Additional context**
|
||||
还有什么想说的?
|
||||
Add any other context about the problem here.
|
||||
@@ -0,0 +1,11 @@
|
||||
---
|
||||
name: Sad Panda / 下载太慢 / Slow download speed
|
||||
about: 所有其他问题 / All other questions
|
||||
title: ''
|
||||
labels: ''
|
||||
assignees: ''
|
||||
|
||||
---
|
||||
|
||||
加入我们的 Telegram 群组,[https://t.me/ehviewer](https://t.me/ehviewer)。温柔[大小]姐姐手把手帮你解决问题。
|
||||
Join our Telegram group, [https://t.me/ehviewer](https://t.me/ehviewer). Administrators will help you solve the problem.
|
||||
@@ -1,3 +1,5 @@
|
||||
# DEPRECATED
|
||||
|
||||
[](https://t.me/ehviewer)
|
||||
|
||||
# EhViewer
|
||||
@@ -33,6 +35,13 @@ Linux
|
||||
The apk is in app\build\outputs\apk
|
||||
|
||||
|
||||
# Download
|
||||
|
||||
[下载](https://github.com/seven332/EhViewer/releases)
|
||||
|
||||
[Download](https://github.com/seven332/EhViewer/releases)
|
||||
|
||||
|
||||
# Thanks
|
||||
|
||||
本项目受到了诸多开源项目的帮助
|
||||
|
||||
+7
-6
@@ -12,8 +12,8 @@ android {
|
||||
applicationId "com.hippo.ehviewer"
|
||||
minSdkVersion 14
|
||||
targetSdkVersion 28
|
||||
versionCode 99
|
||||
versionName "1.6.2"
|
||||
versionCode 104
|
||||
versionName "1.7.3"
|
||||
vectorDrawables.useSupportLibrary = true
|
||||
resConfigs "zh", "zh-rCN", "zh-rHK", "zh-rTW",
|
||||
"es", "ja", "ko", "fr", "de", "th"
|
||||
@@ -72,8 +72,9 @@ dependencies {
|
||||
implementation 'androidx.appcompat:appcompat:1.0.2'
|
||||
implementation 'androidx.cardview:cardview:1.0.0'
|
||||
implementation 'com.google.android.material:material:1.0.0'
|
||||
implementation 'com.google.firebase:firebase-core:16.0.7'
|
||||
implementation 'com.crashlytics.sdk.android:crashlytics:2.9.9'
|
||||
implementation 'com.google.firebase:firebase-core:16.0.9'
|
||||
implementation 'com.crashlytics.sdk.android:crashlytics:2.10.1'
|
||||
implementation 'com.getkeepsafe.relinker:relinker:1.3.1'
|
||||
implementation 'com.github.amlcurran.showcaseview:library:5.4.3'
|
||||
implementation 'com.github.seven332.a7zip:extract-lite:d4ddec5793'
|
||||
implementation 'com.github.seven332:android-recaptcha:2bbb3459a8'
|
||||
@@ -97,10 +98,10 @@ dependencies {
|
||||
implementation 'com.github.seven332:yorozuya-thread:0.1.1'
|
||||
implementation 'com.github.seven332:yorozuya-collect:0.1.4'
|
||||
implementation 'com.h6ah4i.android.widget.advrecyclerview:advrecyclerview:1.0.0'
|
||||
implementation 'com.squareup.okhttp3:okhttp:3.12.1'
|
||||
implementation 'com.squareup.okhttp3:okhttp:3.12.3'
|
||||
implementation 'org.ccil.cowan.tagsoup:tagsoup:1.2.1'
|
||||
implementation 'org.greenrobot:greendao:2.2.1'
|
||||
implementation 'org.jsoup:jsoup:1.11.3'
|
||||
implementation 'org.jsoup:jsoup:1.12.1'
|
||||
testImplementation 'junit:junit:4.12'
|
||||
testImplementation 'org.robolectric:robolectric:4.2.1'
|
||||
testImplementation 'org.jooq:joor:0.9.6'
|
||||
|
||||
@@ -39,6 +39,8 @@
|
||||
android:largeHeap="true"
|
||||
android:networkSecurityConfig="@xml/network_security_config">
|
||||
|
||||
<uses-library android:name="org.apache.http.legacy" android:required="false"/>
|
||||
|
||||
<meta-data android:name="android.max_aspect" android:value="2.1"/>
|
||||
|
||||
<activity
|
||||
|
||||
@@ -1,140 +0,0 @@
|
||||
/*
|
||||
* Copyright 2017 Hippo Seven
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package com.hippo.drawable;
|
||||
|
||||
/*
|
||||
* Created by Hippo on 2017/9/6.
|
||||
*/
|
||||
|
||||
import android.graphics.Canvas;
|
||||
import android.graphics.Color;
|
||||
import android.graphics.ColorFilter;
|
||||
import android.graphics.Paint;
|
||||
import android.graphics.PixelFormat;
|
||||
import android.graphics.Rect;
|
||||
import android.graphics.drawable.Drawable;
|
||||
import android.text.TextUtils;
|
||||
import androidx.annotation.IntRange;
|
||||
import androidx.annotation.NonNull;
|
||||
import androidx.annotation.Nullable;
|
||||
|
||||
public class TextDrawable extends Drawable {
|
||||
|
||||
private static final float STANDARD_TEXT_SIZE = 1000.0f;
|
||||
private static final Paint STANDARD_PAINT = new Paint();
|
||||
|
||||
static {
|
||||
STANDARD_PAINT.setTextSize(STANDARD_TEXT_SIZE);
|
||||
}
|
||||
|
||||
private String text;
|
||||
private float contentPercent;
|
||||
|
||||
private Paint backgroundPaint = new Paint(Paint.ANTI_ALIAS_FLAG);
|
||||
private Paint textPaint = new Paint(Paint.ANTI_ALIAS_FLAG);
|
||||
|
||||
private int textColor = Color.BLACK;
|
||||
private int backgroundColor = Color.BLACK;
|
||||
|
||||
private float x = 0.0f;
|
||||
private float y = 0.0f;
|
||||
private boolean textSizeDirty = false;
|
||||
private Rect textBounds = new Rect();
|
||||
|
||||
public TextDrawable(String text, float contentPercent) {
|
||||
this.text = text;
|
||||
this.contentPercent = contentPercent;
|
||||
STANDARD_PAINT.getTextBounds(text, 0, text.length(), textBounds);
|
||||
}
|
||||
|
||||
public int getTextColor() {
|
||||
return textColor;
|
||||
}
|
||||
|
||||
public void setTextColor(int textColor) {
|
||||
if (this.textColor != textColor) {
|
||||
this.textColor = textColor;
|
||||
invalidateSelf();
|
||||
}
|
||||
}
|
||||
|
||||
public int getBackgroundColor() {
|
||||
return backgroundColor;
|
||||
}
|
||||
|
||||
public void setBackgroundColor(int backgroundColor) {
|
||||
if (this.backgroundColor != backgroundColor) {
|
||||
this.backgroundColor = backgroundColor;
|
||||
invalidateSelf();
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void onBoundsChange(Rect bounds) {
|
||||
super.onBoundsChange(bounds);
|
||||
textSizeDirty = true;
|
||||
}
|
||||
|
||||
private void updateTextSizeIfDirty(Rect bounds) {
|
||||
if (!textSizeDirty) {
|
||||
return;
|
||||
}
|
||||
textSizeDirty = false;
|
||||
|
||||
int contentWidth = (int) (bounds.width() * contentPercent);
|
||||
int contentHeight = (int) (bounds.height() * contentPercent);
|
||||
float widthRatio = (float) contentWidth / (float) textBounds.width();
|
||||
float heightRatio = (float) contentHeight / (float) textBounds.height();
|
||||
float ratio = Math.min(widthRatio, heightRatio);
|
||||
float textSize = STANDARD_TEXT_SIZE * ratio;
|
||||
textPaint.setTextSize(textSize);
|
||||
x = (bounds.width() - textBounds.width() * ratio) / 2 - textBounds.left * ratio;
|
||||
y = (bounds.height() - textBounds.height() * ratio) / 2 - textBounds.top * ratio;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void draw(@NonNull Canvas canvas) {
|
||||
Rect bounds = getBounds();
|
||||
if (!bounds.isEmpty()) {
|
||||
// Draw background
|
||||
backgroundPaint.setColor(backgroundColor);
|
||||
canvas.drawRect(bounds, backgroundPaint);
|
||||
|
||||
if (!TextUtils.isEmpty(text)) {
|
||||
// Draw text
|
||||
updateTextSizeIfDirty(bounds);
|
||||
textPaint.setColor(textColor);
|
||||
canvas.drawText(text, x, y, textPaint);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setAlpha(@IntRange(from = 0, to = 255) int alpha) {}
|
||||
|
||||
@Override
|
||||
public void setColorFilter(@Nullable ColorFilter colorFilter) {
|
||||
backgroundPaint.setColorFilter(colorFilter);
|
||||
textPaint.setColorFilter(colorFilter);
|
||||
invalidateSelf();
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getOpacity() {
|
||||
return PixelFormat.TRANSLUCENT;
|
||||
}
|
||||
}
|
||||
@@ -96,6 +96,8 @@ public class EhApplication extends RecordingApplication {
|
||||
|
||||
private final List<Activity> mActivityList = new ArrayList<>();
|
||||
|
||||
private boolean initialized = false;
|
||||
|
||||
public static EhApplication getInstance() {
|
||||
return instance;
|
||||
}
|
||||
@@ -108,7 +110,8 @@ public class EhApplication extends RecordingApplication {
|
||||
Thread.UncaughtExceptionHandler handler = Thread.getDefaultUncaughtExceptionHandler();
|
||||
Thread.setDefaultUncaughtExceptionHandler((t, e) -> {
|
||||
try {
|
||||
if (Settings.getSaveCrashLog()) {
|
||||
// Always save crash file if onCreate() is not done
|
||||
if (!initialized || Settings.getSaveCrashLog()) {
|
||||
Crash.saveCrashLog(instance, e);
|
||||
}
|
||||
} catch (Throwable ignored) { }
|
||||
@@ -184,6 +187,8 @@ public class EhApplication extends RecordingApplication {
|
||||
if (DEBUG_PRINT_NATIVE_MEMORY || DEBUG_PRINT_IMAGE_COUNT) {
|
||||
debugPrint();
|
||||
}
|
||||
|
||||
initialized = true;
|
||||
}
|
||||
|
||||
private void clearTempDir() {
|
||||
|
||||
@@ -44,10 +44,11 @@ import com.hippo.ehviewer.dao.QuickSearchDao;
|
||||
import com.hippo.ehviewer.download.DownloadManager;
|
||||
import com.hippo.util.ExceptionUtils;
|
||||
import com.hippo.util.SqlUtils;
|
||||
import com.hippo.yorozuya.FileUtils;
|
||||
import com.hippo.yorozuya.IOUtils;
|
||||
import com.hippo.yorozuya.ObjectUtils;
|
||||
import com.hippo.yorozuya.collect.SparseJLArray;
|
||||
import de.greenrobot.dao.AbstractDao;
|
||||
import de.greenrobot.dao.query.CloseableListIterator;
|
||||
import de.greenrobot.dao.query.LazyList;
|
||||
import java.io.File;
|
||||
import java.io.FileInputStream;
|
||||
@@ -645,30 +646,64 @@ public class EhDB {
|
||||
sDaoSession.getFilterDao().update(filter);
|
||||
}
|
||||
|
||||
public static synchronized boolean exportDB(Context context, File file) {
|
||||
File dbFile = context.getDatabasePath("eh.db");
|
||||
if (null == dbFile || !dbFile.isFile()) {
|
||||
return false;
|
||||
}
|
||||
if (null == file || !FileUtils.ensureFile(file)) {
|
||||
return false;
|
||||
}
|
||||
InputStream is = null;
|
||||
OutputStream os = null;
|
||||
try {
|
||||
is = new FileInputStream(dbFile);
|
||||
os = new FileOutputStream(file);
|
||||
IOUtils.copy(is, os);
|
||||
return true;
|
||||
private static <T> boolean copyDao(AbstractDao<T, ?> from, AbstractDao<T, ?> to) {
|
||||
try (CloseableListIterator<T> iterator = from.queryBuilder().listIterator()) {
|
||||
while (iterator.hasNext()) {
|
||||
to.insert(iterator.next());
|
||||
}
|
||||
} catch (IOException e) {
|
||||
e.printStackTrace();
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
public static synchronized boolean exportDB(Context context, File file) {
|
||||
final String ehExportName = "eh.export.db";
|
||||
|
||||
// Delete old export db
|
||||
context.deleteDatabase(ehExportName);
|
||||
|
||||
DBOpenHelper helper = new DBOpenHelper(context.getApplicationContext(), ehExportName, null);
|
||||
|
||||
try {
|
||||
// Copy data to a export db
|
||||
try (SQLiteDatabase db = helper.getWritableDatabase()) {
|
||||
DaoMaster daoMaster = new DaoMaster(db);
|
||||
DaoSession exportSession = daoMaster.newSession();
|
||||
if (!copyDao(sDaoSession.getDownloadsDao(), exportSession.getDownloadsDao())) return false;
|
||||
if (!copyDao(sDaoSession.getDownloadLabelDao(), exportSession.getDownloadLabelDao())) return false;
|
||||
if (!copyDao(sDaoSession.getDownloadDirnameDao(), exportSession.getDownloadDirnameDao())) return false;
|
||||
if (!copyDao(sDaoSession.getHistoryDao(), exportSession.getHistoryDao())) return false;
|
||||
if (!copyDao(sDaoSession.getQuickSearchDao(), exportSession.getQuickSearchDao())) return false;
|
||||
if (!copyDao(sDaoSession.getLocalFavoritesDao(), exportSession.getLocalFavoritesDao())) return false;
|
||||
if (!copyDao(sDaoSession.getBookmarksBao(), exportSession.getBookmarksBao())) return false;
|
||||
if (!copyDao(sDaoSession.getFilterDao(), exportSession.getFilterDao())) return false;
|
||||
}
|
||||
|
||||
// Copy export db to data dir
|
||||
File dbFile = context.getDatabasePath(ehExportName);
|
||||
if (dbFile == null || !dbFile.isFile()) {
|
||||
return false;
|
||||
}
|
||||
InputStream is = null;
|
||||
OutputStream os = null;
|
||||
try {
|
||||
is = new FileInputStream(dbFile);
|
||||
os = new FileOutputStream(file);
|
||||
IOUtils.copy(is, os);
|
||||
return true;
|
||||
} catch (IOException e) {
|
||||
e.printStackTrace();
|
||||
} finally {
|
||||
IOUtils.closeQuietly(is);
|
||||
IOUtils.closeQuietly(os);
|
||||
}
|
||||
// Delete failed file
|
||||
file.delete();
|
||||
return false;
|
||||
} finally {
|
||||
IOUtils.closeQuietly(is);
|
||||
IOUtils.closeQuietly(os);
|
||||
context.deleteDatabase(ehExportName);
|
||||
}
|
||||
// Delete failed file
|
||||
file.delete();
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -262,7 +262,7 @@ public class Settings {
|
||||
}
|
||||
|
||||
public static final String KEY_APPLY_NAV_BAR_THEME_COLOR = "apply_nav_bar_theme_color";
|
||||
private static final boolean DEFAULT_APPLY_NAV_BAR_THEME_COLOR = false;
|
||||
private static final boolean DEFAULT_APPLY_NAV_BAR_THEME_COLOR = true;
|
||||
|
||||
public static boolean getApplyNavBarThemeColor() {
|
||||
return getBoolean(KEY_APPLY_NAV_BAR_THEME_COLOR, DEFAULT_APPLY_NAV_BAR_THEME_COLOR);
|
||||
|
||||
@@ -138,7 +138,7 @@ public class EhClient {
|
||||
try {
|
||||
switch (mMethod) {
|
||||
case METHOD_SIGN_IN:
|
||||
return EhEngine.signIn(this, mOkHttpClient, (String) params[0], (String) params[1], (String) params[2], (String) params[3]);
|
||||
return EhEngine.signIn(this, mOkHttpClient, (String) params[0], (String) params[1]);
|
||||
case METHOD_GET_GALLERY_LIST:
|
||||
return EhEngine.getGalleryList(this, mOkHttpClient, (String) params[0]);
|
||||
case METHOD_GET_GALLERY_DETAIL:
|
||||
@@ -148,7 +148,7 @@ public class EhClient {
|
||||
case METHOD_GET_RATE_GALLERY:
|
||||
return EhEngine.rateGallery(this, mOkHttpClient, (Long) params[0], (String) params[1], (Long) params[2], (String) params[3], (Float) params[4]);
|
||||
case METHOD_GET_COMMENT_GALLERY:
|
||||
return EhEngine.commentGallery(this, mOkHttpClient, (String) params[0], (String) params[1]);
|
||||
return EhEngine.commentGallery(this, mOkHttpClient, (String) params[0], (String) params[1], (String) params[2]);
|
||||
case METHOD_GET_GALLERY_TOKEN:
|
||||
return EhEngine.getGalleryToken(this, mOkHttpClient, (Long) params[0], (String) params[1], (Integer) params[2]);
|
||||
case METHOD_GET_FAVORITES:
|
||||
|
||||
@@ -24,7 +24,7 @@ import com.hippo.ehviewer.AppConfig;
|
||||
import com.hippo.ehviewer.GetText;
|
||||
import com.hippo.ehviewer.R;
|
||||
import com.hippo.ehviewer.Settings;
|
||||
import com.hippo.ehviewer.client.data.GalleryComment;
|
||||
import com.hippo.ehviewer.client.data.GalleryCommentList;
|
||||
import com.hippo.ehviewer.client.data.GalleryDetail;
|
||||
import com.hippo.ehviewer.client.data.GalleryInfo;
|
||||
import com.hippo.ehviewer.client.data.PreviewSet;
|
||||
@@ -77,6 +77,8 @@ public class EhEngine {
|
||||
private static final String SAD_PANDA_TYPE = "image/gif";
|
||||
private static final String SAD_PANDA_LENGTH = "9615";
|
||||
|
||||
private static final String KOKOMADE_URL = "https://exhentai.org/img/kokomade.jpg";
|
||||
|
||||
public static final MediaType MEDIA_TYPE_JSON = MediaType.parse("application/json; charset=utf-8");
|
||||
private static final MediaType MEDIA_TYPE_JPEG = MediaType.parse("image/jpeg");
|
||||
|
||||
@@ -101,9 +103,16 @@ public class EhEngine {
|
||||
throw new EhException("Sad Panda");
|
||||
}
|
||||
|
||||
// Check kokomade
|
||||
if (body != null && body.contains(KOKOMADE_URL)) {
|
||||
throw new EhException("今回はここまで\n\n" + GetText.getString(R.string.kokomade_tip));
|
||||
}
|
||||
|
||||
if (e instanceof ParseException) {
|
||||
if (body != null && !body.contains("<")){
|
||||
if (body != null && !body.contains("<")) {
|
||||
throw new EhException(body);
|
||||
} else if (TextUtils.isEmpty(body)) {
|
||||
throw new EhException(GetText.getString(R.string.error_empty_html));
|
||||
} else {
|
||||
if (Settings.getSaveParseErrorBody()) {
|
||||
AppConfig.saveParseErrorBody((ParseException) e);
|
||||
@@ -132,17 +141,13 @@ public class EhEngine {
|
||||
}
|
||||
|
||||
public static String signIn(@Nullable EhClient.Task task, OkHttpClient okHttpClient,
|
||||
String username, String password, String recaptchaChallenge, String recaptchaResponse) throws Throwable {
|
||||
String username, String password) throws Throwable {
|
||||
FormBody.Builder builder = new FormBody.Builder()
|
||||
.add("UserName", username)
|
||||
.add("PassWord", password)
|
||||
.add("submit", "Log me in")
|
||||
.add("CookieDate", "1")
|
||||
.add("temporary_https", "off");
|
||||
if (!TextUtils.isEmpty(recaptchaChallenge) && !TextUtils.isEmpty(recaptchaResponse)) {
|
||||
builder.add("recaptcha_challenge_field", recaptchaChallenge);
|
||||
builder.add("recaptcha_response_field", recaptchaResponse);
|
||||
}
|
||||
String url = EhUrl.API_SIGN_IN;
|
||||
String referer = "https://forums.e-hentai.org/index.php?act=Login&CODE=00";
|
||||
String origin = "https://forums.e-hentai.org";
|
||||
@@ -212,7 +217,8 @@ public class EhEngine {
|
||||
if (filter) {
|
||||
for (int i = 0, n = list.size(); i < n; i++) {
|
||||
GalleryInfo info = list.get(i);
|
||||
if (!sEhFilter.filterTag(info) || !sEhFilter.filterTagNamespace(info)) {
|
||||
// Thumbnail mode need filter uploader again
|
||||
if (!sEhFilter.filterUploader(info) || !sEhFilter.filterTag(info) || !sEhFilter.filterTagNamespace(info)) {
|
||||
list.remove(i);
|
||||
i--;
|
||||
n--;
|
||||
@@ -416,10 +422,15 @@ public class EhEngine {
|
||||
}
|
||||
}
|
||||
|
||||
public static GalleryComment[] commentGallery(@Nullable EhClient.Task task,
|
||||
OkHttpClient okHttpClient, String url, String comment) throws Throwable {
|
||||
FormBody.Builder builder = new FormBody.Builder()
|
||||
.add("commenttext_new", comment);
|
||||
public static GalleryCommentList commentGallery(@Nullable EhClient.Task task,
|
||||
OkHttpClient okHttpClient, String url, String comment, String id) throws Throwable {
|
||||
FormBody.Builder builder = new FormBody.Builder();
|
||||
if (id == null) {
|
||||
builder.add("commenttext_new", comment);
|
||||
} else {
|
||||
builder.add("commenttext_edit", comment);
|
||||
builder.add("edit_comment", id);
|
||||
}
|
||||
String origin = EhUrl.getOrigin();
|
||||
Log.d(TAG, url);
|
||||
Request request = new EhRequestBuilder(url, url, origin)
|
||||
|
||||
@@ -158,7 +158,7 @@ public final class EhFilter {
|
||||
List<Filter> filters = mTitleFilterList;
|
||||
if (null != title && filters.size() > 0) {
|
||||
for (int i = 0, n = filters.size(); i < n; i++) {
|
||||
if (filters.get(i).enable && title.contains(filters.get(i).text)) {
|
||||
if (filters.get(i).enable && title.toLowerCase().contains(filters.get(i).text)) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -67,7 +67,7 @@ public class EhUrl {
|
||||
public static final String URL_WATCHED_E = HOST_E + "watched";
|
||||
public static final String URL_WATCHED_EX = HOST_EX + "watched";
|
||||
|
||||
private static final String URL_PREFIX_THUMB_E = "https://ul.ehgt.org/";
|
||||
private static final String URL_PREFIX_THUMB_E = "https://ehgt.org/";
|
||||
private static final String URL_PREFIX_THUMB_EX = "https://exhentai.org/t/";
|
||||
|
||||
public static String getGalleryDetailUrl(long gid, String token) {
|
||||
|
||||
@@ -24,12 +24,16 @@ public class GalleryComment implements Parcelable {
|
||||
// 0 for uploader comment. can't vote
|
||||
public long id;
|
||||
public int score;
|
||||
public boolean voteUp;
|
||||
public boolean voteDown;
|
||||
public boolean editable;
|
||||
public boolean voteUpAble;
|
||||
public boolean voteUpEd;
|
||||
public boolean voteDownAble;
|
||||
public boolean voteDownEd;
|
||||
public String voteState;
|
||||
public long time;
|
||||
public String user;
|
||||
public String comment;
|
||||
public long lastEdited;
|
||||
|
||||
@Override
|
||||
public int describeContents() {
|
||||
@@ -40,12 +44,16 @@ public class GalleryComment implements Parcelable {
|
||||
public void writeToParcel(Parcel dest, int flags) {
|
||||
dest.writeLong(this.id);
|
||||
dest.writeInt(this.score);
|
||||
dest.writeByte(voteUp ? (byte) 1 : (byte) 0);
|
||||
dest.writeByte(voteDown ? (byte) 1 : (byte) 0);
|
||||
dest.writeByte(editable ? (byte) 1 : (byte) 0);
|
||||
dest.writeByte(voteUpAble ? (byte) 1 : (byte) 0);
|
||||
dest.writeByte(voteUpEd ? (byte) 1 : (byte) 0);
|
||||
dest.writeByte(voteDownAble ? (byte) 1 : (byte) 0);
|
||||
dest.writeByte(voteDownEd ? (byte) 1 : (byte) 0);
|
||||
dest.writeString(this.voteState);
|
||||
dest.writeLong(this.time);
|
||||
dest.writeString(this.user);
|
||||
dest.writeString(this.comment);
|
||||
dest.writeLong(this.lastEdited);
|
||||
}
|
||||
|
||||
public GalleryComment() {
|
||||
@@ -54,12 +62,16 @@ public class GalleryComment implements Parcelable {
|
||||
protected GalleryComment(Parcel in) {
|
||||
this.id = in.readLong();
|
||||
this.score = in.readInt();
|
||||
this.voteUp = in.readByte() != 0;
|
||||
this.voteDown = in.readByte() != 0;
|
||||
this.editable = in.readByte() != 0;
|
||||
this.voteUpAble = in.readByte() != 0;
|
||||
this.voteUpEd = in.readByte() != 0;
|
||||
this.voteDownAble = in.readByte() != 0;
|
||||
this.voteDownEd = in.readByte() != 0;
|
||||
this.voteState = in.readString();
|
||||
this.time = in.readLong();
|
||||
this.user = in.readString();
|
||||
this.comment = in.readString();
|
||||
this.lastEdited = in.readLong();
|
||||
}
|
||||
|
||||
public static final Creator<GalleryComment> CREATOR = new Creator<GalleryComment>() {
|
||||
|
||||
@@ -0,0 +1,65 @@
|
||||
/*
|
||||
* Copyright 2019 Hippo Seven
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package com.hippo.ehviewer.client.data;
|
||||
|
||||
import android.os.Parcel;
|
||||
import android.os.Parcelable;
|
||||
import java.util.Arrays;
|
||||
|
||||
public class GalleryCommentList implements Parcelable {
|
||||
|
||||
public GalleryComment[] comments;
|
||||
public boolean hasMore;
|
||||
|
||||
@Override
|
||||
public int describeContents() {
|
||||
return 0;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void writeToParcel(Parcel dest, int flags) {
|
||||
dest.writeParcelableArray(comments, flags);
|
||||
dest.writeByte(hasMore ? (byte) 1 : (byte) 0);
|
||||
}
|
||||
|
||||
public GalleryCommentList(GalleryComment[] comments, boolean hasMore) {
|
||||
this.comments = comments;
|
||||
this.hasMore = hasMore;
|
||||
}
|
||||
|
||||
protected GalleryCommentList(Parcel in) {
|
||||
Parcelable[] array = in.readParcelableArray(getClass().getClassLoader());
|
||||
if (array != null) {
|
||||
comments = Arrays.copyOf(array, array.length, GalleryComment[].class);
|
||||
} else {
|
||||
comments = null;
|
||||
}
|
||||
hasMore = in.readByte() != 0;
|
||||
}
|
||||
|
||||
public static final Creator<GalleryCommentList> CREATOR = new Creator<GalleryCommentList>() {
|
||||
@Override
|
||||
public GalleryCommentList createFromParcel(Parcel in) {
|
||||
return new GalleryCommentList(in);
|
||||
}
|
||||
|
||||
@Override
|
||||
public GalleryCommentList[] newArray(int size) {
|
||||
return new GalleryCommentList[size];
|
||||
}
|
||||
};
|
||||
}
|
||||
@@ -37,7 +37,7 @@ public class GalleryDetail extends GalleryInfo {
|
||||
public boolean isFavorited;
|
||||
public int ratingCount;
|
||||
public GalleryTagGroup[] tags;
|
||||
public GalleryComment[] comments;
|
||||
public GalleryCommentList comments;
|
||||
public int previewPages;
|
||||
public PreviewSet previewSet;
|
||||
|
||||
@@ -60,8 +60,8 @@ public class GalleryDetail extends GalleryInfo {
|
||||
dest.writeInt(this.favoriteCount);
|
||||
dest.writeByte(isFavorited ? (byte) 1 : (byte) 0);
|
||||
dest.writeInt(this.ratingCount);
|
||||
dest.writeParcelableArray(this.tags, 0);
|
||||
dest.writeParcelableArray(this.comments, 0);
|
||||
dest.writeParcelableArray(this.tags, flags);
|
||||
dest.writeParcelable(this.comments, flags);
|
||||
dest.writeInt(this.previewPages);
|
||||
dest.writeParcelable(previewSet, flags);
|
||||
}
|
||||
@@ -88,12 +88,7 @@ public class GalleryDetail extends GalleryInfo {
|
||||
} else {
|
||||
this.tags = null;
|
||||
}
|
||||
array = in.readParcelableArray(GalleryComment.class.getClassLoader());
|
||||
if (array != null) {
|
||||
this.comments = Arrays.copyOf(array, array.length, GalleryComment[].class);
|
||||
} else {
|
||||
this.comments = null;
|
||||
}
|
||||
this.comments = in.readParcelable(getClass().getClassLoader());
|
||||
this.previewPages = in.readInt();
|
||||
this.previewSet = in.readParcelable(PreviewSet.class.getClassLoader());
|
||||
}
|
||||
|
||||
@@ -16,13 +16,13 @@
|
||||
|
||||
package com.hippo.ehviewer.client.parser;
|
||||
|
||||
import android.text.TextUtils;
|
||||
import androidx.annotation.NonNull;
|
||||
import androidx.annotation.Nullable;
|
||||
import com.hippo.ehviewer.Settings;
|
||||
import com.hippo.ehviewer.client.EhUrl;
|
||||
import com.hippo.ehviewer.client.EhUtils;
|
||||
import com.hippo.ehviewer.client.data.GalleryComment;
|
||||
import com.hippo.ehviewer.client.data.GalleryCommentList;
|
||||
import com.hippo.ehviewer.client.data.GalleryDetail;
|
||||
import com.hippo.ehviewer.client.data.GalleryTagGroup;
|
||||
import com.hippo.ehviewer.client.data.LargePreviewSet;
|
||||
@@ -34,6 +34,7 @@ import com.hippo.ehviewer.client.exception.ParseException;
|
||||
import com.hippo.ehviewer.client.exception.PiningException;
|
||||
import com.hippo.util.ExceptionUtils;
|
||||
import com.hippo.util.JsoupUtils;
|
||||
import com.hippo.util.MutableBoolean;
|
||||
import com.hippo.yorozuya.NumberUtils;
|
||||
import com.hippo.yorozuya.StringUtils;
|
||||
import java.text.DateFormat;
|
||||
@@ -49,7 +50,10 @@ import java.util.regex.Pattern;
|
||||
import org.jsoup.Jsoup;
|
||||
import org.jsoup.nodes.Document;
|
||||
import org.jsoup.nodes.Element;
|
||||
import org.jsoup.nodes.Node;
|
||||
import org.jsoup.select.Elements;
|
||||
import org.jsoup.select.NodeTraversor;
|
||||
import org.jsoup.select.NodeVisitor;
|
||||
|
||||
public class GalleryDetailParser {
|
||||
|
||||
@@ -67,7 +71,7 @@ public class GalleryDetailParser {
|
||||
private static final Pattern PATTERN_LARGE_PREVIEW = Pattern.compile("<div class=\"gdtl\".+?<a href=\"(.+?)\"><img alt=\"([\\d,]+)\".+?src=\"(.+?)\"");
|
||||
|
||||
private static final GalleryTagGroup[] EMPTY_GALLERY_TAG_GROUP_ARRAY = new GalleryTagGroup[0];
|
||||
private static final GalleryComment[] EMPTY_GALLERY_COMMENT_ARRAY = new GalleryComment[0];
|
||||
private static final GalleryCommentList EMPTY_GALLERY_COMMENT_ARRAY = new GalleryCommentList(new GalleryComment[0], false);
|
||||
|
||||
private static final DateFormat WEB_COMMENT_DATE_FORMAT = new SimpleDateFormat("dd MMMMM yyyy, HH:mm z", Locale.US);
|
||||
|
||||
@@ -268,7 +272,10 @@ public class GalleryDetailParser {
|
||||
if (key.startsWith("Posted")) {
|
||||
gd.posted = value;
|
||||
} else if (key.startsWith("Parent")) {
|
||||
gd.parent = value;
|
||||
Element a = es.get(1).children().first();
|
||||
if (a != null) {
|
||||
gd.parent = a.attr("href");
|
||||
}
|
||||
} else if (key.startsWith("Visible")) {
|
||||
gd.visible = value;
|
||||
} else if (key.startsWith("Language")) {
|
||||
@@ -399,13 +406,23 @@ public class GalleryDetailParser {
|
||||
Element a = element.previousElementSibling();
|
||||
String name = a.attr("name");
|
||||
comment.id = Integer.parseInt(StringUtils.trim(name).substring(1));
|
||||
// Vote up and vote down
|
||||
// Editable, vote up and vote down
|
||||
Element c4 = JsoupUtils.getElementByClass(element, "c4");
|
||||
if (null != c4) {
|
||||
Elements es = c4.children();
|
||||
if (2 == es.size()) {
|
||||
comment.voteUp = !TextUtils.isEmpty(StringUtils.trim(es.get(0).attr("style")));
|
||||
comment.voteDown = !TextUtils.isEmpty(StringUtils.trim(es.get(1).attr("style")));
|
||||
for (Element e : c4.children()) {
|
||||
switch (e.text()) {
|
||||
case "Vote+":
|
||||
comment.voteUpAble = true;
|
||||
comment.voteUpEd = !StringUtils.trim(e.attr("style")).isEmpty();
|
||||
break;
|
||||
case "Vote-":
|
||||
comment.voteDownAble = true;
|
||||
comment.voteDownEd = !StringUtils.trim(e.attr("style")).isEmpty();
|
||||
break;
|
||||
case "Edit":
|
||||
comment.editable = true;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
// Vote state
|
||||
@@ -430,6 +447,14 @@ public class GalleryDetailParser {
|
||||
comment.user = c3.child(0).text();
|
||||
// comment
|
||||
comment.comment = JsoupUtils.getElementByClass(element, "c6").html();
|
||||
// last edited
|
||||
Element c8 = JsoupUtils.getElementByClass(element, "c8");
|
||||
if (c8 != null) {
|
||||
Element e = c8.children().first();
|
||||
if (e != null) {
|
||||
comment.lastEdited = WEB_COMMENT_DATE_FORMAT.parse(temp).getTime();
|
||||
}
|
||||
}
|
||||
return comment;
|
||||
} catch (Throwable e) {
|
||||
ExceptionUtils.throwIfFatal(e);
|
||||
@@ -442,7 +467,7 @@ public class GalleryDetailParser {
|
||||
* Parse comments with html parser
|
||||
*/
|
||||
@NonNull
|
||||
public static GalleryComment[] parseComments(Document document) {
|
||||
public static GalleryCommentList parseComments(Document document) {
|
||||
try {
|
||||
Element cdiv = document.getElementById("cdiv");
|
||||
Elements c1s = cdiv.getElementsByClass("c1");
|
||||
@@ -454,7 +479,22 @@ public class GalleryDetailParser {
|
||||
list.add(comment);
|
||||
}
|
||||
}
|
||||
return list.toArray(new GalleryComment[list.size()]);
|
||||
|
||||
Element chd = cdiv.getElementById("chd");
|
||||
MutableBoolean hasMore = new MutableBoolean(false);
|
||||
NodeTraversor.traverse(new NodeVisitor() {
|
||||
@Override
|
||||
public void head(Node node, int depth) {
|
||||
if (node instanceof Element && ((Element) node).text().equals("click to show all")) {
|
||||
hasMore.value = true;
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void tail(Node node, int depth) { }
|
||||
}, chd);
|
||||
|
||||
return new GalleryCommentList(list.toArray(new GalleryComment[list.size()]), hasMore.value);
|
||||
} catch (Throwable e) {
|
||||
ExceptionUtils.throwIfFatal(e);
|
||||
e.printStackTrace();
|
||||
|
||||
@@ -16,6 +16,7 @@
|
||||
|
||||
package com.hippo.ehviewer.client.parser;
|
||||
|
||||
import android.text.TextUtils;
|
||||
import android.util.Log;
|
||||
import androidx.annotation.NonNull;
|
||||
import com.hippo.ehviewer.EhDB;
|
||||
@@ -26,7 +27,6 @@ import com.hippo.ehviewer.client.exception.ParseException;
|
||||
import com.hippo.util.ExceptionUtils;
|
||||
import com.hippo.util.JsoupUtils;
|
||||
import com.hippo.yorozuya.NumberUtils;
|
||||
import com.hippo.yorozuya.StringUtils;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Collections;
|
||||
import java.util.List;
|
||||
@@ -126,14 +126,28 @@ public class GalleryListParser {
|
||||
Element glname = JsoupUtils.getElementByClass(e, "glname");
|
||||
if (glname != null) {
|
||||
Element a = JsoupUtils.getElementByTag(glname, "a");
|
||||
if (a == null) {
|
||||
Element parent = glname.parent();
|
||||
if (parent != null && "a".equals(parent.tagName())) {
|
||||
a = parent;
|
||||
}
|
||||
}
|
||||
if (a != null) {
|
||||
GalleryDetailUrlParser.Result result = GalleryDetailUrlParser.parse(a.attr("href"));
|
||||
if (result != null) {
|
||||
gi.gid = result.gid;
|
||||
gi.token = result.token;
|
||||
gi.title = a.text().trim();
|
||||
}
|
||||
}
|
||||
|
||||
Element child = glname;
|
||||
Elements children = glname.children();
|
||||
while (children.size() != 0) {
|
||||
child = children.get(0);
|
||||
children = child.children();
|
||||
}
|
||||
gi.title = child.text().trim();
|
||||
|
||||
Element tbody = JsoupUtils.getElementByTag(glname, "tbody");
|
||||
if (tbody != null) {
|
||||
ArrayList<String> tags = new ArrayList<>();
|
||||
@@ -163,27 +177,35 @@ public class GalleryListParser {
|
||||
// Thumb
|
||||
Element glthumb = JsoupUtils.getElementByClass(e, "glthumb");
|
||||
if (glthumb != null) {
|
||||
// Thumb size
|
||||
Matcher m = PATTERN_THUMB_SIZE.matcher(glthumb.attr("style"));
|
||||
if (m.find()) {
|
||||
gi.thumbWidth = NumberUtils.parseIntSafely(m.group(2), 0);
|
||||
gi.thumbHeight = NumberUtils.parseIntSafely(m.group(1), 0);
|
||||
} else {
|
||||
Log.w(TAG, "Can't parse gallery info thumb size");
|
||||
gi.thumbWidth = 0;
|
||||
gi.thumbHeight = 0;
|
||||
}
|
||||
// Thumb url
|
||||
Element img = glthumb.children().first();
|
||||
Element img = glthumb.select("div:nth-child(1)>img").first();
|
||||
if (img != null) {
|
||||
gi.thumb = EhUtils.handleThumbUrlResolution(img.attr("src"));
|
||||
} else {
|
||||
String html = glthumb.html();
|
||||
int index1 = html.indexOf('~');
|
||||
int index2 = StringUtils.ordinalIndexOf(html, '~', 2);
|
||||
if (index1 < index2) {
|
||||
gi.thumb = EhUtils.handleThumbUrlResolution(
|
||||
"https://" +StringUtils.replace(html.substring(index1 + 1, index2), "~", "/"));
|
||||
// Thumb size
|
||||
Matcher m = PATTERN_THUMB_SIZE.matcher(img.attr("style"));
|
||||
if (m.find()) {
|
||||
gi.thumbWidth = NumberUtils.parseIntSafely(m.group(2), 0);
|
||||
gi.thumbHeight = NumberUtils.parseIntSafely(m.group(1), 0);
|
||||
} else {
|
||||
Log.w(TAG, "Can't parse gallery info thumb size");
|
||||
gi.thumbWidth = 0;
|
||||
gi.thumbHeight = 0;
|
||||
}
|
||||
// Thumb url
|
||||
String url = img.attr("data-src");
|
||||
if (TextUtils.isEmpty(url)) {
|
||||
url = img.attr("src");
|
||||
}
|
||||
if (TextUtils.isEmpty(url)) {
|
||||
url = null;
|
||||
}
|
||||
gi.thumb = EhUtils.handleThumbUrlResolution(url);
|
||||
}
|
||||
|
||||
// Pages
|
||||
Element div = glthumb.select("div:nth-child(2)>div:nth-child(2)>div:nth-child(2)").first();
|
||||
if (div != null) {
|
||||
Matcher matcher = PATTERN_PAGES.matcher(div.text());
|
||||
if (matcher.find()) {
|
||||
gi.pages = NumberUtils.parseIntSafely(matcher.group(1), 0);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -235,6 +257,7 @@ public class GalleryListParser {
|
||||
int uploaderIndex = 0;
|
||||
int pagesIndex = 1;
|
||||
if (gl == null) {
|
||||
// For extended
|
||||
gl = JsoupUtils.getElementByClass(e, "gl3e");
|
||||
uploaderIndex = 3;
|
||||
pagesIndex = 4;
|
||||
@@ -254,6 +277,17 @@ public class GalleryListParser {
|
||||
}
|
||||
}
|
||||
}
|
||||
// For thumbnail
|
||||
Element gl5t = JsoupUtils.getElementByClass(e, "gl5t");
|
||||
if (gl5t != null) {
|
||||
Element div = gl5t.select("div:nth-child(2)>div:nth-child(2)").first();
|
||||
if (div != null) {
|
||||
Matcher matcher = PATTERN_PAGES.matcher(div.text());
|
||||
if (matcher.find()) {
|
||||
gi.pages = NumberUtils.parseIntSafely(matcher.group(1), 0);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
gi.generateSLang();
|
||||
|
||||
@@ -288,7 +322,7 @@ public class GalleryListParser {
|
||||
//noinspection unchecked
|
||||
result.galleryInfoList = Collections.EMPTY_LIST;
|
||||
return result;
|
||||
} else if (body.contains("Currently Popular Recent Galleries")) {
|
||||
} else if (d.getElementsByClass("ptt").isEmpty()) {
|
||||
result.pages = 1;
|
||||
} else {
|
||||
result.pages = Integer.MAX_VALUE;
|
||||
@@ -311,6 +345,9 @@ public class GalleryListParser {
|
||||
list.add(gi);
|
||||
}
|
||||
}
|
||||
if (list.isEmpty()) {
|
||||
throw new ParseException("No gallery", body);
|
||||
}
|
||||
result.galleryInfoList = list;
|
||||
} catch (Throwable e) {
|
||||
ExceptionUtils.throwIfFatal(e);
|
||||
|
||||
@@ -0,0 +1,78 @@
|
||||
/*
|
||||
* Copyright 2019 Hippo Seven
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package com.hippo.ehviewer.preference;
|
||||
|
||||
import android.content.Context;
|
||||
import android.util.AttributeSet;
|
||||
import android.widget.Toast;
|
||||
import androidx.annotation.NonNull;
|
||||
import com.hippo.ehviewer.AppConfig;
|
||||
import com.hippo.ehviewer.EhDB;
|
||||
import com.hippo.ehviewer.GetText;
|
||||
import com.hippo.ehviewer.R;
|
||||
import com.hippo.util.ReadableTime;
|
||||
import java.io.File;
|
||||
|
||||
public class ExportDataPreference extends TaskPreference {
|
||||
|
||||
public ExportDataPreference(Context context) {
|
||||
super(context);
|
||||
}
|
||||
|
||||
public ExportDataPreference(Context context, AttributeSet attrs) {
|
||||
super(context, attrs);
|
||||
}
|
||||
|
||||
public ExportDataPreference(Context context, AttributeSet attrs, int defStyleAttr) {
|
||||
super(context, attrs, defStyleAttr);
|
||||
}
|
||||
|
||||
@NonNull
|
||||
@Override
|
||||
protected Task onCreateTask() {
|
||||
return new ExportDataTask(getContext());
|
||||
}
|
||||
|
||||
private static class ExportDataTask extends Task {
|
||||
|
||||
public ExportDataTask(@NonNull Context context) {
|
||||
super(context);
|
||||
}
|
||||
|
||||
@Override
|
||||
protected Object doInBackground(Void... voids) {
|
||||
File dir = AppConfig.getExternalDataDir();
|
||||
if (dir != null) {
|
||||
File file = new File(dir, ReadableTime.getFilenamableTime(System.currentTimeMillis()) + ".db");
|
||||
if (EhDB.exportDB(getApplication(), file)) {
|
||||
return file;
|
||||
}
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void onPostExecute(Object o) {
|
||||
Toast.makeText(getApplication(),
|
||||
(o instanceof File)
|
||||
? GetText.getString(R.string.settings_advanced_export_data_to, ((File) o).getPath())
|
||||
: GetText.getString(R.string.settings_advanced_export_data_failed),
|
||||
Toast.LENGTH_SHORT).show();
|
||||
super.onPostExecute(o);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -166,6 +166,10 @@ public abstract class TaskPreference extends DialogPreference {
|
||||
mApplication = (EhApplication) context.getApplicationContext();
|
||||
}
|
||||
|
||||
public EhApplication getApplication() {
|
||||
return mApplication;
|
||||
}
|
||||
|
||||
@Nullable
|
||||
public TaskPreference getPreference() {
|
||||
return mPreference;
|
||||
|
||||
@@ -61,6 +61,7 @@ import com.hippo.yorozuya.Utilities;
|
||||
import com.hippo.yorozuya.collect.SparseJLArray;
|
||||
import com.hippo.yorozuya.thread.PriorityThread;
|
||||
import com.hippo.yorozuya.thread.PriorityThreadFactory;
|
||||
import java.io.BufferedInputStream;
|
||||
import java.io.IOException;
|
||||
import java.io.InputStream;
|
||||
import java.io.OutputStream;
|
||||
@@ -1172,7 +1173,6 @@ public final class SpiderQueen implements Runnable {
|
||||
}
|
||||
|
||||
// Download image
|
||||
OutputStreamPipe pipe = null;
|
||||
InputStream is = null;
|
||||
try {
|
||||
if (DEBUG_LOG) {
|
||||
@@ -1208,49 +1208,93 @@ public final class SpiderQueen implements Runnable {
|
||||
extension = GalleryProvider2.SUPPORT_IMAGE_EXTENSIONS[0];
|
||||
}
|
||||
|
||||
// Get out put pipe
|
||||
pipe = mSpiderDen.openOutputStreamPipe(index, extension);
|
||||
if (null == pipe) {
|
||||
// Can't get pipe
|
||||
error = GetText.getString(R.string.error_write_failed);
|
||||
response.close();
|
||||
break;
|
||||
}
|
||||
|
||||
long contentLength = responseBody.contentLength();
|
||||
is = responseBody.byteStream();
|
||||
pipe.obtain();
|
||||
OutputStream os = pipe.open();
|
||||
|
||||
final byte data[] = new byte[1024 * 4];
|
||||
long receivedSize = 0;
|
||||
|
||||
while (!Thread.currentThread().isInterrupted()) {
|
||||
int bytesRead = is.read(data);
|
||||
if (bytesRead == -1) {
|
||||
OutputStreamPipe osPipe = null;
|
||||
try {
|
||||
// Get out put pipe
|
||||
osPipe = mSpiderDen.openOutputStreamPipe(index, extension);
|
||||
if (osPipe == null) {
|
||||
// Can't get pipe
|
||||
error = GetText.getString(R.string.error_write_failed);
|
||||
response.close();
|
||||
break;
|
||||
}
|
||||
os.write(data, 0, bytesRead);
|
||||
receivedSize += bytesRead;
|
||||
// Update page percent
|
||||
if (contentLength > 0) {
|
||||
mPagePercentMap.put(index, (float) receivedSize / contentLength);
|
||||
}
|
||||
// Notify listener
|
||||
notifyPageDownload(index, contentLength, receivedSize, bytesRead);
|
||||
}
|
||||
os.flush();
|
||||
|
||||
// check download size
|
||||
if (contentLength >= 0) {
|
||||
if (receivedSize < contentLength) {
|
||||
Log.e(TAG, "Can't download all of image data");
|
||||
error = "Incomplete";
|
||||
long contentLength = responseBody.contentLength();
|
||||
is = responseBody.byteStream();
|
||||
osPipe.obtain();
|
||||
OutputStream os = osPipe.open();
|
||||
|
||||
final byte[] data = new byte[1024 * 4];
|
||||
long receivedSize = 0;
|
||||
|
||||
while (!Thread.currentThread().isInterrupted()) {
|
||||
int bytesRead = is.read(data);
|
||||
if (bytesRead == -1) {
|
||||
response.close();
|
||||
break;
|
||||
}
|
||||
os.write(data, 0, bytesRead);
|
||||
receivedSize += bytesRead;
|
||||
// Update page percent
|
||||
if (contentLength > 0) {
|
||||
mPagePercentMap.put(index, (float) receivedSize / contentLength);
|
||||
}
|
||||
// Notify listener
|
||||
notifyPageDownload(index, contentLength, receivedSize, bytesRead);
|
||||
}
|
||||
os.flush();
|
||||
|
||||
// check download size
|
||||
if (contentLength >= 0) {
|
||||
if (receivedSize < contentLength) {
|
||||
Log.e(TAG, "Can't download all of image data");
|
||||
error = "Incomplete";
|
||||
forceHtml = true;
|
||||
continue;
|
||||
} else if (receivedSize > contentLength) {
|
||||
Log.w(TAG, "Received data is more than contentLength");
|
||||
}
|
||||
}
|
||||
} finally {
|
||||
if (osPipe != null) {
|
||||
osPipe.close();
|
||||
osPipe.release();
|
||||
}
|
||||
}
|
||||
|
||||
InputStreamPipe isPipe = null;
|
||||
try {
|
||||
// Get InputStreamPipe
|
||||
isPipe = mSpiderDen.openInputStreamPipe(index);
|
||||
if (isPipe == null) {
|
||||
// Can't get pipe
|
||||
error = GetText.getString(R.string.error_reading_failed);
|
||||
break;
|
||||
}
|
||||
|
||||
// Check plain txt
|
||||
isPipe.obtain();
|
||||
InputStream inputStream = new BufferedInputStream(isPipe.open());
|
||||
boolean isPlainTxt = true;
|
||||
for (;;) {
|
||||
int b = inputStream.read();
|
||||
if (b == -1) {
|
||||
break;
|
||||
}
|
||||
if (b > 126) {
|
||||
isPlainTxt = false;
|
||||
break;
|
||||
}
|
||||
}
|
||||
if (isPlainTxt) {
|
||||
error = GetText.getString(R.string.error_reading_failed);
|
||||
forceHtml = true;
|
||||
continue;
|
||||
} else if (receivedSize > contentLength) {
|
||||
Log.w(TAG, "Received data is more than contentLength");
|
||||
}
|
||||
} finally {
|
||||
if (isPipe != null) {
|
||||
isPipe.close();
|
||||
isPipe.release();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1274,10 +1318,6 @@ public final class SpiderQueen implements Runnable {
|
||||
forceHtml = true;
|
||||
} finally {
|
||||
IOUtils.closeQuietly(is);
|
||||
if (null != pipe) {
|
||||
pipe.close();
|
||||
pipe.release();
|
||||
}
|
||||
|
||||
if (DEBUG_LOG) {
|
||||
Log.d(TAG, "End download image " + index);
|
||||
|
||||
@@ -25,11 +25,14 @@ import android.widget.TextView;
|
||||
import android.widget.Toast;
|
||||
import androidx.annotation.NonNull;
|
||||
import androidx.annotation.Nullable;
|
||||
import androidx.appcompat.app.AlertDialog;
|
||||
import androidx.core.content.ContextCompat;
|
||||
import com.hippo.android.resource.AttrResources;
|
||||
import com.hippo.ehviewer.AppConfig;
|
||||
import com.hippo.ehviewer.R;
|
||||
import com.hippo.ripple.Ripple;
|
||||
import com.hippo.widget.DirExplorer;
|
||||
import com.hippo.yorozuya.ViewUtils;
|
||||
import com.hippo.yorozuya.FileUtils;
|
||||
import java.io.File;
|
||||
|
||||
public class DirPickerActivity extends ToolbarActivity
|
||||
@@ -46,6 +49,7 @@ public class DirPickerActivity extends ToolbarActivity
|
||||
private TextView mPath;
|
||||
@Nullable
|
||||
private DirExplorer mDirExplorer;
|
||||
private View mDefault;
|
||||
@Nullable
|
||||
private View mOk;
|
||||
|
||||
@@ -55,9 +59,10 @@ public class DirPickerActivity extends ToolbarActivity
|
||||
setContentView(R.layout.activity_dir_picker);
|
||||
setNavigationIcon(R.drawable.v_arrow_left_dark_x24);
|
||||
|
||||
mPath = (TextView) ViewUtils.$$(this, R.id.path);
|
||||
mDirExplorer = (DirExplorer) ViewUtils.$$(this, R.id.dir_explorer);
|
||||
mOk = ViewUtils.$$(this, R.id.ok);
|
||||
mPath = findViewById(R.id.path);
|
||||
mDirExplorer = findViewById(R.id.dir_explorer);
|
||||
mDefault = findViewById(R.id.preset);
|
||||
mOk = findViewById(R.id.ok);
|
||||
|
||||
File file;
|
||||
if (null == savedInstanceState) {
|
||||
@@ -71,6 +76,7 @@ public class DirPickerActivity extends ToolbarActivity
|
||||
|
||||
Ripple.addRipple(mOk, !AttrResources.getAttrBoolean(this, R.attr.isLightTheme));
|
||||
|
||||
mDefault.setOnClickListener(this);
|
||||
mOk.setOnClickListener(this);
|
||||
|
||||
mPath.setText(mDirExplorer.getCurrentFile().getPath());
|
||||
@@ -126,7 +132,31 @@ public class DirPickerActivity extends ToolbarActivity
|
||||
|
||||
@Override
|
||||
public void onClick(@NonNull View v) {
|
||||
if (mOk == v) {
|
||||
if (mDefault == v) {
|
||||
File[] externalFilesDirs = ContextCompat.getExternalFilesDirs(this, null);
|
||||
File[] dirs = new File[externalFilesDirs.length + 1];
|
||||
dirs[0] = AppConfig.getDefaultDownloadDir();
|
||||
for (int i = 0; i < externalFilesDirs.length; i++) {
|
||||
dirs[i + 1] = new File(externalFilesDirs[i], "download");
|
||||
}
|
||||
|
||||
CharSequence[] items = new CharSequence[dirs.length];
|
||||
items[0] = getString(R.string.default_directory);
|
||||
for (int i = 1; i < items.length; i++) {
|
||||
items[i] = getString(R.string.application_file_directory, i);
|
||||
}
|
||||
|
||||
new AlertDialog.Builder(this).setItems(items, (dialog, which) -> {
|
||||
File dir = dirs[which];
|
||||
if (!FileUtils.ensureDirectory(dir)) {
|
||||
Toast.makeText(DirPickerActivity.this, R.string.directory_not_writable, Toast.LENGTH_SHORT).show();
|
||||
return;
|
||||
}
|
||||
if (mDirExplorer != null) {
|
||||
mDirExplorer.setCurrentFile(dir);
|
||||
}
|
||||
}).show();
|
||||
} else if (mOk == v) {
|
||||
if (null == mDirExplorer) {
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -59,6 +59,7 @@ import com.hippo.ehviewer.gallery.DirGalleryProvider;
|
||||
import com.hippo.ehviewer.gallery.EhGalleryProvider;
|
||||
import com.hippo.ehviewer.gallery.GalleryProvider2;
|
||||
import com.hippo.ehviewer.widget.GalleryGuideView;
|
||||
import com.hippo.ehviewer.widget.GalleryHeader;
|
||||
import com.hippo.ehviewer.widget.ReversibleSeekBar;
|
||||
import com.hippo.glgallery.GalleryPageView;
|
||||
import com.hippo.glgallery.GalleryProvider;
|
||||
@@ -369,12 +370,26 @@ public class GalleryActivity extends EhActivity implements SeekBar.OnSeekBarChan
|
||||
case 2:
|
||||
orientation = ActivityInfo.SCREEN_ORIENTATION_SENSOR_LANDSCAPE;
|
||||
break;
|
||||
case 3:
|
||||
orientation = ActivityInfo.SCREEN_ORIENTATION_SENSOR;
|
||||
break;
|
||||
}
|
||||
setRequestedOrientation(orientation);
|
||||
|
||||
// Screen lightness
|
||||
setScreenLightness(Settings.getCustomScreenLightness(), Settings.getScreenLightness());
|
||||
|
||||
// Cutout
|
||||
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.P) {
|
||||
getWindow().getAttributes().layoutInDisplayCutoutMode = WindowManager.LayoutParams.LAYOUT_IN_DISPLAY_CUTOUT_MODE_SHORT_EDGES;
|
||||
|
||||
GalleryHeader galleryHeader = findViewById(R.id.gallery_header);
|
||||
galleryHeader.setOnApplyWindowInsetsListener((v, insets) -> {
|
||||
galleryHeader.setDisplayCutout(insets.getDisplayCutout());
|
||||
return insets;
|
||||
});
|
||||
}
|
||||
|
||||
if (Settings.getGuideGallery()) {
|
||||
FrameLayout mainLayout = (FrameLayout) ViewUtils.$$(this, R.id.main);
|
||||
mainLayout.addView(new GalleryGuideView(this));
|
||||
@@ -829,6 +844,9 @@ public class GalleryActivity extends EhActivity implements SeekBar.OnSeekBarChan
|
||||
case 2:
|
||||
orientation = ActivityInfo.SCREEN_ORIENTATION_SENSOR_LANDSCAPE;
|
||||
break;
|
||||
case 3:
|
||||
orientation = ActivityInfo.SCREEN_ORIENTATION_SENSOR;
|
||||
break;
|
||||
}
|
||||
setRequestedOrientation(orientation);
|
||||
mGalleryView.setLayoutMode(layoutMode);
|
||||
|
||||
@@ -0,0 +1,78 @@
|
||||
/*
|
||||
* Copyright 2019 Hippo Seven
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package com.hippo.ehviewer.ui.dialog;
|
||||
|
||||
import android.content.Context;
|
||||
import android.graphics.drawable.Drawable;
|
||||
import android.view.LayoutInflater;
|
||||
import android.view.View;
|
||||
import android.view.ViewGroup;
|
||||
import android.widget.BaseAdapter;
|
||||
import android.widget.TextView;
|
||||
import androidx.appcompat.content.res.AppCompatResources;
|
||||
import com.hippo.ehviewer.R;
|
||||
|
||||
public class SelectItemWithIconAdapter extends BaseAdapter {
|
||||
|
||||
private Context context;
|
||||
private LayoutInflater inflater;
|
||||
|
||||
private CharSequence[] texts;
|
||||
private int[] icons;
|
||||
|
||||
public SelectItemWithIconAdapter(Context context, CharSequence[] texts, int[] icons) {
|
||||
int count = texts.length;
|
||||
if (count != icons.length) {
|
||||
throw new IllegalArgumentException("Length conflict");
|
||||
}
|
||||
this.context = context;
|
||||
this.inflater = LayoutInflater.from(context);
|
||||
this.texts = texts;
|
||||
this.icons = icons;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getCount() {
|
||||
return texts.length;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Object getItem(int position) {
|
||||
return texts[position];
|
||||
}
|
||||
|
||||
@Override
|
||||
public long getItemId(int position) {
|
||||
return position;
|
||||
}
|
||||
|
||||
@Override
|
||||
public View getView(int position, View convertView, ViewGroup parent) {
|
||||
if (convertView == null) {
|
||||
convertView = inflater.inflate(R.layout.dialog_item_select_with_icon, parent, false);
|
||||
}
|
||||
TextView view = (TextView) convertView;
|
||||
|
||||
view.setText(texts[position]);
|
||||
|
||||
Drawable icon = AppCompatResources.getDrawable(context, icons[position]);
|
||||
icon.setBounds(0, 0, icon.getIntrinsicWidth(), icon.getIntrinsicHeight());
|
||||
view.setCompoundDrawables(icon, null, null, null);
|
||||
|
||||
return view;
|
||||
}
|
||||
}
|
||||
@@ -40,7 +40,6 @@ public class AdvancedFragment extends PreferenceFragment
|
||||
private static final String KEY_DUMP_LOGCAT = "dump_logcat";
|
||||
private static final String KEY_CLEAR_MEMORY_CACHE = "clear_memory_cache";
|
||||
private static final String KEY_APP_LANGUAGE = "app_language";
|
||||
private static final String KEY_EXPORT_DATA = "export_data";
|
||||
private static final String KEY_IMPORT_DATA = "import_data";
|
||||
|
||||
@Override
|
||||
@@ -51,12 +50,10 @@ public class AdvancedFragment extends PreferenceFragment
|
||||
Preference dumpLogcat = findPreference(KEY_DUMP_LOGCAT);
|
||||
Preference clearMemoryCache = findPreference(KEY_CLEAR_MEMORY_CACHE);
|
||||
Preference appLanguage = findPreference(KEY_APP_LANGUAGE);
|
||||
Preference exportData = findPreference(KEY_EXPORT_DATA);
|
||||
Preference importData = findPreference(KEY_IMPORT_DATA);
|
||||
|
||||
dumpLogcat.setOnPreferenceClickListener(this);
|
||||
clearMemoryCache.setOnPreferenceClickListener(this);
|
||||
exportData.setOnPreferenceClickListener(this);
|
||||
importData.setOnPreferenceClickListener(this);
|
||||
|
||||
appLanguage.setOnPreferenceChangeListener(this);
|
||||
@@ -88,18 +85,6 @@ public class AdvancedFragment extends PreferenceFragment
|
||||
} else if (KEY_CLEAR_MEMORY_CACHE.equals(key)) {
|
||||
((EhApplication) getActivity().getApplication()).clearMemoryCache();
|
||||
Runtime.getRuntime().gc();
|
||||
} else if (KEY_EXPORT_DATA.equals(key)) {
|
||||
File dir = AppConfig.getExternalDataDir();
|
||||
if (dir != null) {
|
||||
File file = new File(dir, ReadableTime.getFilenamableTime(System.currentTimeMillis()) + ".db");
|
||||
if (EhDB.exportDB(getActivity(), file)) {
|
||||
Toast.makeText(getActivity(),
|
||||
getString(R.string.settings_advanced_export_data_to, file.getPath()), Toast.LENGTH_SHORT).show();
|
||||
return true;
|
||||
}
|
||||
}
|
||||
Toast.makeText(getActivity(),R.string.settings_advanced_export_data_failed, Toast.LENGTH_SHORT).show();
|
||||
return true;
|
||||
} else if (KEY_IMPORT_DATA.equals(key)) {
|
||||
importData(getActivity());
|
||||
getActivity().setResult(Activity.RESULT_OK);
|
||||
|
||||
@@ -37,7 +37,6 @@ import com.h6ah4i.android.widget.advrecyclerview.animator.SwipeDismissItemAnimat
|
||||
import com.h6ah4i.android.widget.advrecyclerview.draggable.DraggableItemAdapter;
|
||||
import com.h6ah4i.android.widget.advrecyclerview.draggable.ItemDraggableRange;
|
||||
import com.h6ah4i.android.widget.advrecyclerview.draggable.RecyclerViewDragDropManager;
|
||||
import com.h6ah4i.android.widget.advrecyclerview.touchguard.RecyclerViewTouchActionGuardManager;
|
||||
import com.h6ah4i.android.widget.advrecyclerview.utils.AbstractDraggableItemViewHolder;
|
||||
import com.hippo.app.EditTextDialogBuilder;
|
||||
import com.hippo.easyrecyclerview.EasyRecyclerView;
|
||||
@@ -98,25 +97,21 @@ public class DownloadLabelsScene extends ToolbarScene {
|
||||
tip.setCompoundDrawables(null, drawable, null, null);
|
||||
tip.setText(R.string.no_download_label);
|
||||
|
||||
// touch guard manager (this class is required to suppress scrolling while swipe-dismiss animation is running)
|
||||
RecyclerViewTouchActionGuardManager guardManager = new RecyclerViewTouchActionGuardManager();
|
||||
guardManager.setInterceptVerticalScrollingWhileAnimationRunning(true);
|
||||
guardManager.setEnabled(true);
|
||||
// drag & drop manager
|
||||
RecyclerViewDragDropManager dragDropManager = new RecyclerViewDragDropManager();
|
||||
dragDropManager.setDraggingItemShadowDrawable(
|
||||
(NinePatchDrawable) context.getResources().getDrawable(R.drawable.shadow_8dp));
|
||||
|
||||
RecyclerView.Adapter adapter = new LabelAdapter();
|
||||
adapter.setHasStableIds(true);
|
||||
adapter = dragDropManager.createWrappedAdapter(adapter); // wrap for dragging
|
||||
mAdapter = adapter;
|
||||
final GeneralItemAnimator animator = new SwipeDismissItemAnimator();
|
||||
animator.setSupportsChangeAnimations(false);
|
||||
mRecyclerView.hasFixedSize();
|
||||
|
||||
mRecyclerView.setLayoutManager(new LinearLayoutManager(context));
|
||||
mRecyclerView.setAdapter(adapter);
|
||||
mRecyclerView.setItemAnimator(animator);
|
||||
guardManager.attachRecyclerView(mRecyclerView);
|
||||
|
||||
dragDropManager.attachRecyclerView(mRecyclerView);
|
||||
|
||||
updateView();
|
||||
@@ -382,9 +377,6 @@ public class DownloadLabelsScene extends ToolbarScene {
|
||||
}
|
||||
|
||||
EhApplication.getDownloadManager(context).moveLabel(fromPosition, toPosition);
|
||||
if (mAdapter != null && mList != null) {
|
||||
notifyItemMoved(fromPosition, toPosition);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -303,7 +303,6 @@ public class DownloadsScene extends ToolbarScene
|
||||
mRecyclerView.setLayoutManager(mLayoutManager);
|
||||
mRecyclerView.setSelector(Ripple.generateRippleDrawable(context, !AttrResources.getAttrBoolean(context, R.attr.isLightTheme), new ColorDrawable(Color.TRANSPARENT)));
|
||||
mRecyclerView.setDrawSelectorOnTop(true);
|
||||
mRecyclerView.hasFixedSize();
|
||||
mRecyclerView.setClipToPadding(false);
|
||||
mRecyclerView.setOnItemClickListener(this);
|
||||
mRecyclerView.setOnItemLongClickListener(this);
|
||||
|
||||
@@ -26,6 +26,7 @@ import android.graphics.Point;
|
||||
import android.graphics.drawable.ColorDrawable;
|
||||
import android.graphics.drawable.Drawable;
|
||||
import android.os.Bundle;
|
||||
import android.text.InputType;
|
||||
import android.text.Spannable;
|
||||
import android.text.SpannableStringBuilder;
|
||||
import android.text.TextUtils;
|
||||
@@ -52,6 +53,8 @@ import com.github.amlcurran.showcaseview.targets.PointTarget;
|
||||
import com.google.android.material.floatingactionbutton.FloatingActionButton;
|
||||
import com.hippo.android.resource.AttrResources;
|
||||
import com.hippo.annotation.Implemented;
|
||||
import com.hippo.app.EditTextDialogBuilder;
|
||||
import com.hippo.drawable.AddDeleteDrawable;
|
||||
import com.hippo.drawable.DrawerArrowDrawable;
|
||||
import com.hippo.easyrecyclerview.EasyRecyclerView;
|
||||
import com.hippo.easyrecyclerview.FastScroller;
|
||||
@@ -77,6 +80,7 @@ import com.hippo.refreshlayout.RefreshLayout;
|
||||
import com.hippo.ripple.Ripple;
|
||||
import com.hippo.scene.Announcer;
|
||||
import com.hippo.scene.SceneFragment;
|
||||
import com.hippo.util.AppHelper;
|
||||
import com.hippo.util.DrawableManager;
|
||||
import com.hippo.widget.ContentLayout;
|
||||
import com.hippo.widget.FabLayout;
|
||||
@@ -93,7 +97,8 @@ import java.util.List;
|
||||
public class FavoritesScene extends BaseScene implements
|
||||
EasyRecyclerView.OnItemClickListener, EasyRecyclerView.OnItemLongClickListener,
|
||||
FastScroller.OnDragHandlerListener, SearchBarMover.Helper, SearchBar.Helper,
|
||||
FabLayout.OnClickFabListener, EasyRecyclerView.CustomChoiceListener {
|
||||
FabLayout.OnClickFabListener, FabLayout.OnExpandListener,
|
||||
EasyRecyclerView.CustomChoiceListener {
|
||||
|
||||
private static final long ANIMATE_TIME = 300L;
|
||||
|
||||
@@ -124,6 +129,7 @@ public class FavoritesScene extends BaseScene implements
|
||||
@Nullable
|
||||
@ViewLifeCircle
|
||||
private DrawerArrowDrawable mLeftDrawable;
|
||||
private AddDeleteDrawable mActionFabDrawable;
|
||||
|
||||
@Nullable
|
||||
private EhDrawerLayout mDrawerLayout;
|
||||
@@ -262,7 +268,6 @@ public class FavoritesScene extends BaseScene implements
|
||||
mAdapter = new FavoritesAdapter(inflater, resources, mRecyclerView, Settings.getListMode());
|
||||
mRecyclerView.setSelector(Ripple.generateRippleDrawable(context, !AttrResources.getAttrBoolean(context, R.attr.isLightTheme), new ColorDrawable(Color.TRANSPARENT)));
|
||||
mRecyclerView.setDrawSelectorOnTop(true);
|
||||
mRecyclerView.hasFixedSize();
|
||||
mRecyclerView.setClipToPadding(false);
|
||||
mRecyclerView.setOnItemClickListener(this);
|
||||
mRecyclerView.setOnItemLongClickListener(this);
|
||||
@@ -282,10 +287,13 @@ public class FavoritesScene extends BaseScene implements
|
||||
updateSearchBar();
|
||||
mSearchBarMover = new SearchBarMover(this, mSearchBar, mRecyclerView);
|
||||
|
||||
mActionFabDrawable = new AddDeleteDrawable(context, resources.getColor(R.color.primary_drawable_dark));
|
||||
mFabLayout.getPrimaryFab().setImageDrawable(mActionFabDrawable);
|
||||
mFabLayout.setExpanded(false, false);
|
||||
mFabLayout.setAutoCancel(false);
|
||||
mFabLayout.setHidePrimaryFab(true);
|
||||
mFabLayout.setAutoCancel(true);
|
||||
mFabLayout.setHidePrimaryFab(false);
|
||||
mFabLayout.setOnClickFabListener(this);
|
||||
mFabLayout.setOnExpandListener(this);
|
||||
addAboveSnackView(mFabLayout);
|
||||
|
||||
// Restore search mode
|
||||
@@ -543,6 +551,8 @@ public class FavoritesScene extends BaseScene implements
|
||||
|
||||
if (mRecyclerView != null && mRecyclerView.isInCustomChoice()) {
|
||||
mRecyclerView.outOfCustomChoiceMode();
|
||||
} else if (mFabLayout != null && mFabLayout.isExpanded()) {
|
||||
mFabLayout.toggle();
|
||||
} else if (mSearchMode) {
|
||||
exitSearchMode(true);
|
||||
} else {
|
||||
@@ -738,19 +748,86 @@ public class FavoritesScene extends BaseScene implements
|
||||
onBackPressed();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onExpand(boolean expanded) {
|
||||
if (expanded) {
|
||||
mActionFabDrawable.setDelete(ANIMATE_TIME);
|
||||
} else {
|
||||
mActionFabDrawable.setAdd(ANIMATE_TIME);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
@Implemented(FabLayout.OnClickFabListener.class)
|
||||
public void onClickPrimaryFab(FabLayout view, FloatingActionButton fab) {
|
||||
if (mRecyclerView != null) {
|
||||
mRecyclerView.outOfCustomChoiceMode();
|
||||
if (mRecyclerView != null && mFabLayout != null) {
|
||||
if (mRecyclerView.isInCustomChoice()) {
|
||||
mRecyclerView.outOfCustomChoiceMode();
|
||||
} else {
|
||||
mFabLayout.toggle();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private void showGoToDialog() {
|
||||
Context context = getContext2();
|
||||
if (null == context || null == mHelper) {
|
||||
return;
|
||||
}
|
||||
|
||||
final int page = mHelper.getPageForTop();
|
||||
final int pages = mHelper.getPages();
|
||||
String hint = getString(R.string.go_to_hint, page + 1, pages);
|
||||
final EditTextDialogBuilder builder = new EditTextDialogBuilder(context, null, hint);
|
||||
builder.getEditText().setInputType(InputType.TYPE_CLASS_NUMBER | InputType.TYPE_NUMBER_FLAG_DECIMAL);
|
||||
final AlertDialog dialog = builder.setTitle(R.string.go_to)
|
||||
.setPositiveButton(android.R.string.ok, null)
|
||||
.show();
|
||||
dialog.getButton(DialogInterface.BUTTON_POSITIVE).setOnClickListener(v -> {
|
||||
if (null == mHelper) {
|
||||
dialog.dismiss();
|
||||
return;
|
||||
}
|
||||
|
||||
String text = builder.getText().trim();
|
||||
int goTo;
|
||||
try {
|
||||
goTo = Integer.parseInt(text) - 1;
|
||||
} catch (NumberFormatException e){
|
||||
builder.setError(getString(R.string.error_invalid_number));
|
||||
return;
|
||||
}
|
||||
if (goTo < 0 || goTo >= pages) {
|
||||
builder.setError(getString(R.string.error_out_of_range));
|
||||
return;
|
||||
}
|
||||
builder.setError(null);
|
||||
mHelper.goTo(goTo);
|
||||
AppHelper.hideSoftInput(dialog);
|
||||
dialog.dismiss();
|
||||
});
|
||||
}
|
||||
|
||||
@Override
|
||||
@Implemented(FabLayout.OnClickFabListener.class)
|
||||
public void onClickSecondaryFab(FabLayout view, FloatingActionButton fab, int position) {
|
||||
Context context = getContext2();
|
||||
if (null == context || null == mRecyclerView || null == mHelper || !mRecyclerView.isInCustomChoice()) {
|
||||
if (null == context || null == mRecyclerView || null == mHelper) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (!mRecyclerView.isInCustomChoice()) {
|
||||
switch (position) {
|
||||
case 0: // Go to
|
||||
if (mHelper.canGoTo()) {
|
||||
showGoToDialog();
|
||||
}
|
||||
break;
|
||||
case 1: // Refresh
|
||||
mHelper.refresh();
|
||||
break;
|
||||
}
|
||||
view.setExpanded(false);
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -766,7 +843,7 @@ public class FavoritesScene extends BaseScene implements
|
||||
}
|
||||
|
||||
switch (position) {
|
||||
case 0: { // Download
|
||||
case 2: { // Download
|
||||
Activity activity = getActivity2();
|
||||
if (activity != null) {
|
||||
CommonOperations.startDownload(getActivity2(), mModifyGiList, false);
|
||||
@@ -777,7 +854,7 @@ public class FavoritesScene extends BaseScene implements
|
||||
}
|
||||
break;
|
||||
}
|
||||
case 1: { // Delete
|
||||
case 3: { // Delete
|
||||
DeleteDialogHelper helper = new DeleteDialogHelper();
|
||||
new AlertDialog.Builder(context)
|
||||
.setTitle(R.string.delete_favorites_dialog_title)
|
||||
@@ -787,7 +864,7 @@ public class FavoritesScene extends BaseScene implements
|
||||
.show();
|
||||
break;
|
||||
}
|
||||
case 2: { // Move
|
||||
case 4: { // Move
|
||||
MoveDialogHelper helper = new MoveDialogHelper();
|
||||
// First is local favorite, the other 10 is cloud favorite
|
||||
String[] array = new String[11];
|
||||
@@ -803,11 +880,45 @@ public class FavoritesScene extends BaseScene implements
|
||||
}
|
||||
}
|
||||
|
||||
private Runnable showNormalFabsRunnable = new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
if (mFabLayout != null) {
|
||||
mFabLayout.setSecondaryFabVisibilityAt(0, true);
|
||||
mFabLayout.setSecondaryFabVisibilityAt(1, true);
|
||||
mFabLayout.setSecondaryFabVisibilityAt(2, false);
|
||||
mFabLayout.setSecondaryFabVisibilityAt(3, false);
|
||||
mFabLayout.setSecondaryFabVisibilityAt(4, false);
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
private void showNormalFabs() {
|
||||
// Delay showing normal fabs to avoid mutation
|
||||
SimpleHandler.getInstance().removeCallbacks(showNormalFabsRunnable);
|
||||
SimpleHandler.getInstance().postDelayed(showNormalFabsRunnable, 300);
|
||||
}
|
||||
|
||||
private void showSelectionFabs() {
|
||||
SimpleHandler.getInstance().removeCallbacks(showNormalFabsRunnable);
|
||||
|
||||
if (mFabLayout != null) {
|
||||
mFabLayout.setSecondaryFabVisibilityAt(0, false);
|
||||
mFabLayout.setSecondaryFabVisibilityAt(1, false);
|
||||
mFabLayout.setSecondaryFabVisibilityAt(2, true);
|
||||
mFabLayout.setSecondaryFabVisibilityAt(3, true);
|
||||
mFabLayout.setSecondaryFabVisibilityAt(4, true);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
@Implemented(EasyRecyclerView.CustomChoiceListener.class)
|
||||
public void onIntoCustomChoice(EasyRecyclerView view) {
|
||||
if (mFabLayout != null) {
|
||||
mFabLayout.setExpanded(true);
|
||||
showSelectionFabs();
|
||||
mFabLayout.setAutoCancel(false);
|
||||
// Delay expanding action to make layout work fine
|
||||
SimpleHandler.getInstance().post(() -> mFabLayout.setExpanded(true));
|
||||
}
|
||||
if (mHelper != null) {
|
||||
mHelper.setRefreshLayoutEnable(false);
|
||||
@@ -821,6 +932,8 @@ public class FavoritesScene extends BaseScene implements
|
||||
@Implemented(EasyRecyclerView.CustomChoiceListener.class)
|
||||
public void onOutOfCustomChoice(EasyRecyclerView view) {
|
||||
if (mFabLayout != null) {
|
||||
showNormalFabs();
|
||||
mFabLayout.setAutoCancel(true);
|
||||
mFabLayout.setExpanded(false);
|
||||
}
|
||||
if (mHelper != null) {
|
||||
|
||||
@@ -18,7 +18,6 @@ package com.hippo.ehviewer.ui.scene;
|
||||
|
||||
import android.animation.Animator;
|
||||
import android.annotation.SuppressLint;
|
||||
import android.app.Activity;
|
||||
import android.content.ClipData;
|
||||
import android.content.ClipboardManager;
|
||||
import android.content.Context;
|
||||
@@ -30,7 +29,6 @@ import android.graphics.drawable.ColorDrawable;
|
||||
import android.graphics.drawable.Drawable;
|
||||
import android.os.Bundle;
|
||||
import android.os.Looper;
|
||||
import android.os.Parcelable;
|
||||
import android.text.Spannable;
|
||||
import android.text.SpannableString;
|
||||
import android.text.SpannableStringBuilder;
|
||||
@@ -64,6 +62,8 @@ import com.hippo.ehviewer.client.EhClient;
|
||||
import com.hippo.ehviewer.client.EhRequest;
|
||||
import com.hippo.ehviewer.client.EhUrl;
|
||||
import com.hippo.ehviewer.client.data.GalleryComment;
|
||||
import com.hippo.ehviewer.client.data.GalleryCommentList;
|
||||
import com.hippo.ehviewer.client.data.GalleryDetail;
|
||||
import com.hippo.ehviewer.client.parser.VoteCommentParser;
|
||||
import com.hippo.ehviewer.ui.MainActivity;
|
||||
import com.hippo.reveal.ViewAnimationUtils;
|
||||
@@ -100,14 +100,14 @@ public final class GalleryCommentsScene extends ToolbarScene
|
||||
public static final String KEY_API_KEY = "api_key";
|
||||
public static final String KEY_GID = "gid";
|
||||
public static final String KEY_TOKEN = "token";
|
||||
public static final String KEY_COMMENTS = "comments";
|
||||
public static final String KEY_COMMENT_LIST = "comment_list";
|
||||
|
||||
private long mApiUid;
|
||||
private String mApiKey;
|
||||
private long mGid;
|
||||
private String mToken;
|
||||
@Nullable
|
||||
private GalleryComment[] mComments;
|
||||
private GalleryCommentList mCommentList;
|
||||
|
||||
@Nullable
|
||||
private EasyRecyclerView mRecyclerView;
|
||||
@@ -126,8 +126,15 @@ public final class GalleryCommentsScene extends ToolbarScene
|
||||
@Nullable
|
||||
private ViewTransition mViewTransition;
|
||||
|
||||
private Drawable mSendDrawable;
|
||||
private Drawable mPencilDrawable;
|
||||
private long mCommentId;
|
||||
|
||||
private boolean mInAnimation = false;
|
||||
|
||||
private boolean mShowAllComments = false;
|
||||
private boolean mRefreshingComments = false;
|
||||
|
||||
@Override
|
||||
public void onCreate(@Nullable Bundle savedInstanceState) {
|
||||
super.onCreate(savedInstanceState);
|
||||
@@ -148,10 +155,8 @@ public final class GalleryCommentsScene extends ToolbarScene
|
||||
mApiKey = args.getString(KEY_API_KEY);
|
||||
mGid = args.getLong(KEY_GID, -1L);
|
||||
mToken = args.getString(KEY_TOKEN, null);
|
||||
Parcelable[] parcelables = args.getParcelableArray(KEY_COMMENTS);
|
||||
if (parcelables instanceof GalleryComment[]) {
|
||||
mComments = (GalleryComment[]) parcelables;
|
||||
}
|
||||
mCommentList = args.getParcelable(KEY_COMMENT_LIST);
|
||||
mShowAllComments = mCommentList != null && !mCommentList.hasMore;
|
||||
}
|
||||
|
||||
private void onInit() {
|
||||
@@ -163,10 +168,8 @@ public final class GalleryCommentsScene extends ToolbarScene
|
||||
mApiKey = savedInstanceState.getString(KEY_API_KEY);
|
||||
mGid = savedInstanceState.getLong(KEY_GID, -1L);
|
||||
mToken = savedInstanceState.getString(KEY_TOKEN, null);
|
||||
Parcelable[] parcelables = savedInstanceState.getParcelableArray(KEY_COMMENTS);
|
||||
if (parcelables instanceof GalleryComment[]) {
|
||||
mComments = (GalleryComment[]) parcelables;
|
||||
}
|
||||
mCommentList = savedInstanceState.getParcelable(KEY_COMMENT_LIST);
|
||||
mShowAllComments = mCommentList != null && !mCommentList.hasMore;
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -176,7 +179,7 @@ public final class GalleryCommentsScene extends ToolbarScene
|
||||
outState.putString(KEY_API_KEY, mApiKey);
|
||||
outState.putLong(KEY_GID, mGid);
|
||||
outState.putString(KEY_TOKEN, mToken);
|
||||
outState.putParcelableArray(KEY_COMMENTS, mComments);
|
||||
outState.putParcelable(KEY_COMMENT_LIST, mCommentList);
|
||||
}
|
||||
|
||||
@Nullable
|
||||
@@ -201,6 +204,9 @@ public final class GalleryCommentsScene extends ToolbarScene
|
||||
drawable.setBounds(0, 0, drawable.getIntrinsicWidth(), drawable.getIntrinsicHeight());
|
||||
tip.setCompoundDrawables(null, drawable, null, null);
|
||||
|
||||
mSendDrawable = DrawableManager.getVectorDrawable(context, R.drawable.v_send_dark_x24);
|
||||
mPencilDrawable = DrawableManager.getVectorDrawable(context, R.drawable.v_pencil_dark_x24);
|
||||
|
||||
mAdapter = new CommentAdapter();
|
||||
mRecyclerView.setAdapter(mAdapter);
|
||||
mRecyclerView.setLayoutManager(new LinearLayoutManager(context,
|
||||
@@ -350,25 +356,27 @@ public final class GalleryCommentsScene extends ToolbarScene
|
||||
|
||||
private void showCommentDialog(int position) {
|
||||
final Context context = getContext2();
|
||||
if (null == context || null == mComments || position >= mComments.length || position < 0) {
|
||||
if (context == null || mCommentList == null || mCommentList.comments == null || position >= mCommentList.comments.length || position < 0) {
|
||||
return;
|
||||
}
|
||||
|
||||
final GalleryComment comment = mComments[position];
|
||||
final GalleryComment comment = mCommentList.comments[position];
|
||||
List<String> menu = new ArrayList<>();
|
||||
final IntList menuId = new IntList();
|
||||
Resources resources = context.getResources();
|
||||
if (0 == comment.id || mApiUid < 0) {
|
||||
// 0 id is uploader comment, can't vote
|
||||
// Not sign in, can't vote
|
||||
menu.add(resources.getString(R.string.copy_comment_text));
|
||||
menuId.add(R.id.copy);
|
||||
} else {
|
||||
menu.add(resources.getString(R.string.copy_comment_text));
|
||||
menuId.add(R.id.copy);
|
||||
menu.add(resources.getString(comment.voteUp ? R.string.cancel_vote_up : R.string.vote_up));
|
||||
|
||||
menu.add(resources.getString(R.string.copy_comment_text));
|
||||
menuId.add(R.id.copy);
|
||||
if (comment.editable) {
|
||||
menu.add(resources.getString(R.string.edit_comment));
|
||||
menuId.add(R.id.edit_comment);
|
||||
}
|
||||
if (comment.voteUpAble) {
|
||||
menu.add(resources.getString(comment.voteUpEd ? R.string.cancel_vote_up : R.string.vote_up));
|
||||
menuId.add(R.id.vote_up);
|
||||
menu.add(resources.getString(comment.voteDown ? R.string.cancel_vote_down : R.string.vote_down));
|
||||
}
|
||||
if (comment.voteDownAble) {
|
||||
menu.add(resources.getString(comment.voteDownEd ? R.string.cancel_vote_down : R.string.vote_down));
|
||||
menuId.add(R.id.vote_down);
|
||||
}
|
||||
if (!TextUtils.isEmpty(comment.voteState)) {
|
||||
@@ -399,6 +407,12 @@ public final class GalleryCommentsScene extends ToolbarScene
|
||||
case R.id.check_vote_status:
|
||||
showVoteStatusDialog(context, comment.voteState);
|
||||
break;
|
||||
case R.id.edit_comment:
|
||||
prepareEditComment(comment.id);
|
||||
if (!mInAnimation && mEditPanel != null && mEditPanel.getVisibility() != View.VISIBLE) {
|
||||
showEditPanel(true);
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
}).show();
|
||||
@@ -406,25 +420,38 @@ public final class GalleryCommentsScene extends ToolbarScene
|
||||
|
||||
@Override
|
||||
public boolean onItemClick(EasyRecyclerView parent, View view, int position, long id) {
|
||||
Activity activity = getActivity2();
|
||||
MainActivity activity = getActivity2();
|
||||
if (null == activity) {
|
||||
return false;
|
||||
}
|
||||
|
||||
RecyclerView.ViewHolder holder = parent.getChildViewHolder(view);
|
||||
if (holder instanceof CommentHolder) {
|
||||
CommentHolder commentHolder = (CommentHolder) holder;
|
||||
if (holder instanceof ActualCommentHolder) {
|
||||
ActualCommentHolder commentHolder = (ActualCommentHolder) holder;
|
||||
ClickableSpan span = commentHolder.comment.getCurrentSpan();
|
||||
commentHolder.comment.clearCurrentSpan();
|
||||
|
||||
if (span instanceof URLSpan) {
|
||||
UrlOpener.openUrl(activity, ((URLSpan) span).getURL(), true);
|
||||
return true;
|
||||
} else {
|
||||
showCommentDialog(position);
|
||||
}
|
||||
} else if (holder instanceof MoreCommentHolder && !mRefreshingComments && mAdapter != null) {
|
||||
mRefreshingComments = true;
|
||||
mShowAllComments = true;
|
||||
mAdapter.notifyItemChanged(position);
|
||||
|
||||
String url = getGalleryDetailUrl();
|
||||
if (url != null) {
|
||||
// Request
|
||||
EhRequest request = new EhRequest()
|
||||
.setMethod(EhClient.METHOD_GET_GALLERY_DETAIL)
|
||||
.setArgs(url)
|
||||
.setCallback(new RefreshCommentListener(activity, activity.getStageId(), getTag()));
|
||||
EhApplication.getEhClient(activity).execute(request);
|
||||
}
|
||||
}
|
||||
|
||||
showCommentDialog(position);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -433,13 +460,27 @@ public final class GalleryCommentsScene extends ToolbarScene
|
||||
return;
|
||||
}
|
||||
|
||||
if (mComments == null || mComments.length <= 0) {
|
||||
if (mCommentList == null || mCommentList.comments == null || mCommentList.comments.length <= 0) {
|
||||
mViewTransition.showView(1, animation);
|
||||
} else {
|
||||
mViewTransition.showView(0, animation);
|
||||
}
|
||||
}
|
||||
|
||||
private void prepareNewComment() {
|
||||
mCommentId = 0;
|
||||
if (mSendImage != null) {
|
||||
mSendImage.setImageDrawable(mSendDrawable);
|
||||
}
|
||||
}
|
||||
|
||||
private void prepareEditComment(long commentId) {
|
||||
mCommentId = commentId;
|
||||
if (mSendImage != null) {
|
||||
mSendImage.setImageDrawable(mPencilDrawable);
|
||||
}
|
||||
}
|
||||
|
||||
private void showEditPanelWithAnimation() {
|
||||
if (null == mFab || null == mEditPanel) {
|
||||
return;
|
||||
@@ -553,7 +594,7 @@ public final class GalleryCommentsScene extends ToolbarScene
|
||||
@Nullable
|
||||
private String getGalleryDetailUrl() {
|
||||
if (mGid != -1 && mToken != null) {
|
||||
return EhUrl.getGalleryDetailUrl(mGid, mToken, 0, false);
|
||||
return EhUrl.getGalleryDetailUrl(mGid, mToken, 0, mShowAllComments);
|
||||
} else {
|
||||
return null;
|
||||
}
|
||||
@@ -569,6 +610,7 @@ public final class GalleryCommentsScene extends ToolbarScene
|
||||
|
||||
if (mFab == v) {
|
||||
if (!mInAnimation) {
|
||||
prepareNewComment();
|
||||
showEditPanel(true);
|
||||
}
|
||||
} else if (mSendImage == v) {
|
||||
@@ -585,9 +627,9 @@ public final class GalleryCommentsScene extends ToolbarScene
|
||||
// Request
|
||||
EhRequest request = new EhRequest()
|
||||
.setMethod(EhClient.METHOD_GET_COMMENT_GALLERY)
|
||||
.setArgs(url, comment)
|
||||
.setArgs(url, comment, mCommentId != 0 ? Long.toString(mCommentId) : null)
|
||||
.setCallback(new CommentGalleryListener(context,
|
||||
activity.getStageId(), getTag()));
|
||||
activity.getStageId(), getTag(), mCommentId));
|
||||
EhApplication.getEhClient(context).execute(request);
|
||||
hideSoftInput();
|
||||
hideEditPanel(true);
|
||||
@@ -607,17 +649,73 @@ public final class GalleryCommentsScene extends ToolbarScene
|
||||
}
|
||||
}
|
||||
|
||||
private class CommentHolder extends RecyclerView.ViewHolder {
|
||||
private static final int TYPE_COMMENT = 0;
|
||||
private static final int TYPE_MORE = 1;
|
||||
private static final int TYPE_PROGRESS = 2;
|
||||
|
||||
public final TextView user;
|
||||
public final TextView time;
|
||||
public final LinkifyTextView comment;
|
||||
private abstract class CommentHolder extends RecyclerView.ViewHolder {
|
||||
public CommentHolder(LayoutInflater inflater, int resId, ViewGroup parent) {
|
||||
super(inflater.inflate(resId, parent, false));
|
||||
}
|
||||
}
|
||||
|
||||
public CommentHolder(View itemView) {
|
||||
super(itemView);
|
||||
user = (TextView) itemView.findViewById(R.id.user);
|
||||
time = (TextView) itemView.findViewById(R.id.time);
|
||||
comment = (LinkifyTextView) itemView.findViewById(R.id.comment);
|
||||
private class ActualCommentHolder extends CommentHolder {
|
||||
|
||||
private final TextView user;
|
||||
private final TextView time;
|
||||
private final LinkifyTextView comment;
|
||||
|
||||
public ActualCommentHolder(LayoutInflater inflater, ViewGroup parent) {
|
||||
super(inflater, R.layout.item_gallery_comment, parent);
|
||||
user = itemView.findViewById(R.id.user);
|
||||
time = itemView.findViewById(R.id.time);
|
||||
comment = itemView.findViewById(R.id.comment);
|
||||
}
|
||||
|
||||
private CharSequence generateComment(Context context, ObservedTextView textView, GalleryComment comment) {
|
||||
SpannableStringBuilder ssb = Html.fromHtml(comment.comment, new URLImageGetter(textView,
|
||||
EhApplication.getConaco(context)), null);
|
||||
|
||||
if (0 != comment.id && 0 != comment.score) {
|
||||
int score = comment.score;
|
||||
String scoreString = score > 0 ? "+" + score : Integer.toString(score);
|
||||
SpannableString ss = new SpannableString(scoreString);
|
||||
ss.setSpan(new RelativeSizeSpan(0.8f), 0, scoreString.length(), Spannable.SPAN_EXCLUSIVE_EXCLUSIVE);
|
||||
ss.setSpan(new StyleSpan(Typeface.BOLD), 0, scoreString.length(), Spannable.SPAN_EXCLUSIVE_EXCLUSIVE);
|
||||
ss.setSpan(new ForegroundColorSpan(AttrResources.getAttrColor(context, android.R.attr.textColorSecondary))
|
||||
, 0, scoreString.length(), Spannable.SPAN_EXCLUSIVE_EXCLUSIVE);
|
||||
ssb.append(" ").append(ss);
|
||||
}
|
||||
|
||||
if (comment.lastEdited != 0) {
|
||||
String str = context.getString(R.string.last_edited, ReadableTime.getTimeAgo(comment.lastEdited));
|
||||
SpannableString ss = new SpannableString(str);
|
||||
ss.setSpan(new RelativeSizeSpan(0.8f), 0, str.length(), Spannable.SPAN_EXCLUSIVE_EXCLUSIVE);
|
||||
ss.setSpan(new StyleSpan(Typeface.BOLD), 0, str.length(), Spannable.SPAN_EXCLUSIVE_EXCLUSIVE);
|
||||
ss.setSpan(new ForegroundColorSpan(AttrResources.getAttrColor(context, android.R.attr.textColorSecondary)),
|
||||
0, str.length(), Spannable.SPAN_EXCLUSIVE_EXCLUSIVE);
|
||||
ssb.append("\n\n").append(ss);
|
||||
}
|
||||
|
||||
return TextUrl.handleTextUrl(ssb);
|
||||
}
|
||||
|
||||
public void bind(GalleryComment value) {
|
||||
user.setText(value.user);
|
||||
time.setText(ReadableTime.getTimeAgo(value.time));
|
||||
comment.setText(generateComment(comment.getContext(), comment, value));
|
||||
}
|
||||
}
|
||||
|
||||
private class MoreCommentHolder extends CommentHolder {
|
||||
public MoreCommentHolder(LayoutInflater inflater, ViewGroup parent) {
|
||||
super(inflater, R.layout.item_gallery_comment_more, parent);
|
||||
}
|
||||
}
|
||||
|
||||
private class ProgressCommentHolder extends CommentHolder {
|
||||
public ProgressCommentHolder(LayoutInflater inflater, ViewGroup parent) {
|
||||
super(inflater, R.layout.item_gallery_comment_progress, parent);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -631,56 +729,89 @@ public final class GalleryCommentsScene extends ToolbarScene
|
||||
}
|
||||
|
||||
@Override
|
||||
public CommentHolder onCreateViewHolder(ViewGroup parent, int viewType) {
|
||||
return new CommentHolder(mInflater.inflate(R.layout.item_gallery_comment, parent, false));
|
||||
}
|
||||
|
||||
public CharSequence generateComment(Context context, ObservedTextView textView, GalleryComment comment) {
|
||||
SpannableStringBuilder ssb = Html.fromHtml(comment.comment, new URLImageGetter(textView,
|
||||
EhApplication.getConaco(context)), null);
|
||||
|
||||
if (0 != comment.id && 0 != comment.score) {
|
||||
int score = comment.score;
|
||||
String scoreString = score > 0 ? "+" + score : Integer.toString(score);
|
||||
SpannableString ss = new SpannableString(scoreString);
|
||||
ss.setSpan(new RelativeSizeSpan(0.8f), 0, scoreString.length(), Spannable.SPAN_EXCLUSIVE_EXCLUSIVE);
|
||||
ss.setSpan(new StyleSpan(Typeface.BOLD), 0, scoreString.length(), Spannable.SPAN_EXCLUSIVE_EXCLUSIVE);
|
||||
ss.setSpan(new ForegroundColorSpan(AttrResources.getAttrColor(context, android.R.attr.textColorSecondary))
|
||||
, 0, scoreString.length(), Spannable.SPAN_EXCLUSIVE_EXCLUSIVE);
|
||||
ssb.append(" ").append(ss);
|
||||
public CommentHolder onCreateViewHolder(@NonNull ViewGroup parent, int viewType) {
|
||||
switch (viewType) {
|
||||
case TYPE_COMMENT:
|
||||
return new ActualCommentHolder(mInflater, parent);
|
||||
case TYPE_MORE:
|
||||
return new MoreCommentHolder(mInflater, parent);
|
||||
case TYPE_PROGRESS:
|
||||
return new ProgressCommentHolder(mInflater, parent);
|
||||
default:
|
||||
throw new IllegalStateException("Invalid view type: " + viewType);
|
||||
}
|
||||
|
||||
return TextUrl.handleTextUrl(ssb);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onBindViewHolder(CommentHolder holder, int position) {
|
||||
public void onBindViewHolder(@NonNull CommentHolder holder, int position) {
|
||||
Context context = getContext2();
|
||||
if (null == context || null == mComments) {
|
||||
if (context == null || mCommentList == null) {
|
||||
return;
|
||||
}
|
||||
|
||||
GalleryComment comment = mComments[position];
|
||||
holder.user.setText(comment.user);
|
||||
holder.time.setText(ReadableTime.getTimeAgo(comment.time));
|
||||
holder.comment.setText(generateComment(context, holder.comment, comment));
|
||||
if (holder instanceof ActualCommentHolder) {
|
||||
((ActualCommentHolder) holder).bind(mCommentList.comments[position]);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getItemCount() {
|
||||
return mComments == null ? 0 : mComments.length;
|
||||
if (mCommentList == null || mCommentList.comments == null) {
|
||||
return 0;
|
||||
} else if (mCommentList.hasMore) {
|
||||
return mCommentList.comments.length + 1;
|
||||
} else {
|
||||
return mCommentList.comments.length;
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getItemViewType(int position) {
|
||||
if (position >= mCommentList.comments.length) {
|
||||
return mRefreshingComments ? TYPE_PROGRESS : TYPE_MORE;
|
||||
} else {
|
||||
return TYPE_COMMENT;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private void onCommentGallerySuccess(GalleryComment[] result) {
|
||||
if (null == mAdapter) {
|
||||
private void onRefreshGallerySuccess(GalleryCommentList result) {
|
||||
if (mAdapter == null) {
|
||||
return;
|
||||
}
|
||||
|
||||
mComments = result;
|
||||
mRefreshingComments = false;
|
||||
mCommentList = result;
|
||||
mAdapter.notifyDataSetChanged();
|
||||
|
||||
updateView(true);
|
||||
|
||||
Bundle re = new Bundle();
|
||||
re.putParcelable(KEY_COMMENT_LIST, result);
|
||||
setResult(SceneFragment.RESULT_OK, re);
|
||||
}
|
||||
|
||||
private void onRefreshGalleryFailure() {
|
||||
if (mAdapter == null) {
|
||||
return;
|
||||
}
|
||||
|
||||
mRefreshingComments = false;
|
||||
int position = mAdapter.getItemCount() - 1;
|
||||
if (position >= 0) {
|
||||
mAdapter.notifyItemChanged(position);
|
||||
}
|
||||
}
|
||||
|
||||
private void onCommentGallerySuccess(GalleryCommentList result) {
|
||||
if (mAdapter == null) {
|
||||
return;
|
||||
}
|
||||
|
||||
mCommentList = result;
|
||||
mAdapter.notifyDataSetChanged();
|
||||
Bundle re = new Bundle();
|
||||
re.putParcelableArray(KEY_COMMENTS, result);
|
||||
re.putParcelable(KEY_COMMENT_LIST, result);
|
||||
setResult(SceneFragment.RESULT_OK, re);
|
||||
|
||||
// Remove text
|
||||
@@ -692,13 +823,13 @@ public final class GalleryCommentsScene extends ToolbarScene
|
||||
}
|
||||
|
||||
private void onVoteCommentSuccess(VoteCommentParser.Result result) {
|
||||
if (null == mAdapter || null == mComments) {
|
||||
if (mAdapter == null || mCommentList == null || mCommentList.comments == null ) {
|
||||
return;
|
||||
}
|
||||
|
||||
int position = -1;
|
||||
for (int i = 0, n = mComments.length; i < n; i++) {
|
||||
GalleryComment comment = mComments[i];
|
||||
for (int i = 0, n = mCommentList.comments.length; i < n; i++) {
|
||||
GalleryComment comment = mCommentList.comments[i];
|
||||
if (comment.id == result.id) {
|
||||
position = i;
|
||||
break;
|
||||
@@ -711,32 +842,66 @@ public final class GalleryCommentsScene extends ToolbarScene
|
||||
}
|
||||
|
||||
// Update comment
|
||||
GalleryComment comment = mComments[position];
|
||||
GalleryComment comment = mCommentList.comments[position];
|
||||
comment.score = result.score;
|
||||
if (result.expectVote > 0) {
|
||||
comment.voteUp = 0 != result.vote;
|
||||
comment.voteDown = false;
|
||||
comment.voteUpEd = 0 != result.vote;
|
||||
comment.voteDownEd = false;
|
||||
} else {
|
||||
comment.voteDown = 0 != result.vote;
|
||||
comment.voteUp = false;
|
||||
comment.voteDownEd = 0 != result.vote;
|
||||
comment.voteUpEd = false;
|
||||
}
|
||||
|
||||
mAdapter.notifyItemChanged(position);
|
||||
|
||||
Bundle re = new Bundle();
|
||||
re.putParcelableArray(KEY_COMMENTS, mComments);
|
||||
re.putParcelable(KEY_COMMENT_LIST, mCommentList);
|
||||
setResult(SceneFragment.RESULT_OK, re);
|
||||
}
|
||||
|
||||
private static class CommentGalleryListener extends EhCallback<GalleryCommentsScene, GalleryComment[]> {
|
||||
private static class RefreshCommentListener extends EhCallback<GalleryCommentsScene, GalleryDetail> {
|
||||
|
||||
public CommentGalleryListener(Context context, int stageId, String sceneTag) {
|
||||
public RefreshCommentListener(Context context, int stageId, String sceneTag) {
|
||||
super(context, stageId, sceneTag);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onSuccess(GalleryComment[] result) {
|
||||
showTip(R.string.comment_successfully, LENGTH_SHORT);
|
||||
public void onSuccess(GalleryDetail result) {
|
||||
GalleryCommentsScene scene = getScene();
|
||||
if (scene != null) {
|
||||
scene.onRefreshGallerySuccess(result.comments);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onFailure(Exception e) {
|
||||
GalleryCommentsScene scene = getScene();
|
||||
if (scene != null) {
|
||||
scene.onRefreshGalleryFailure();
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onCancel() { }
|
||||
|
||||
@Override
|
||||
public boolean isInstance(SceneFragment scene) {
|
||||
return scene instanceof GalleryCommentsScene;
|
||||
}
|
||||
}
|
||||
|
||||
private static class CommentGalleryListener extends EhCallback<GalleryCommentsScene, GalleryCommentList> {
|
||||
|
||||
private long mCommentId;
|
||||
|
||||
public CommentGalleryListener(Context context, int stageId, String sceneTag, long commentId) {
|
||||
super(context, stageId, sceneTag);
|
||||
mCommentId = commentId;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onSuccess(GalleryCommentList result) {
|
||||
showTip(mCommentId != 0 ? R.string.edit_comment_successfully : R.string.comment_successfully, LENGTH_SHORT);
|
||||
|
||||
GalleryCommentsScene scene = getScene();
|
||||
if (scene != null) {
|
||||
@@ -746,7 +911,7 @@ public final class GalleryCommentsScene extends ToolbarScene
|
||||
|
||||
@Override
|
||||
public void onFailure(Exception e) {
|
||||
showTip(getContent().getString(R.string.comment_failed) + "\n" + ExceptionUtils.getReadableString(e), LENGTH_LONG);
|
||||
showTip(getContent().getString(mCommentId != 0 ? R.string.edit_comment_failed : R.string.comment_failed) + "\n" + ExceptionUtils.getReadableString(e), LENGTH_LONG);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -28,7 +28,6 @@ import android.graphics.drawable.Drawable;
|
||||
import android.net.Uri;
|
||||
import android.os.Bundle;
|
||||
import android.os.Environment;
|
||||
import android.os.Parcelable;
|
||||
import android.text.TextUtils;
|
||||
import android.util.Pair;
|
||||
import android.view.Gravity;
|
||||
@@ -72,6 +71,7 @@ import com.hippo.ehviewer.client.EhTagDatabase;
|
||||
import com.hippo.ehviewer.client.EhUrl;
|
||||
import com.hippo.ehviewer.client.EhUtils;
|
||||
import com.hippo.ehviewer.client.data.GalleryComment;
|
||||
import com.hippo.ehviewer.client.data.GalleryCommentList;
|
||||
import com.hippo.ehviewer.client.data.GalleryDetail;
|
||||
import com.hippo.ehviewer.client.data.GalleryInfo;
|
||||
import com.hippo.ehviewer.client.data.GalleryTagGroup;
|
||||
@@ -116,6 +116,7 @@ import java.io.OutputStream;
|
||||
import java.lang.annotation.Retention;
|
||||
import java.lang.annotation.RetentionPolicy;
|
||||
import java.util.List;
|
||||
import okhttp3.HttpUrl;
|
||||
|
||||
public class GalleryDetailScene extends BaseScene implements View.OnClickListener,
|
||||
com.hippo.ehviewer.download.DownloadManager.DownloadInfoListener,
|
||||
@@ -145,6 +146,8 @@ public class GalleryDetailScene extends BaseScene implements View.OnClickListene
|
||||
private static final String KEY_GALLERY_DETAIL = "gallery_detail";
|
||||
private static final String KEY_REQUEST_ID = "request_id";
|
||||
|
||||
private static final boolean TRANSITION_ANIMATION_DISABLED = true;
|
||||
|
||||
/*---------------
|
||||
View life cycle
|
||||
---------------*/
|
||||
@@ -741,6 +744,8 @@ public class GalleryDetailScene extends BaseScene implements View.OnClickListene
|
||||
int oldState = mState;
|
||||
mState = state;
|
||||
|
||||
animation = !TRANSITION_ANIMATION_DISABLED && animation;
|
||||
|
||||
switch (state) {
|
||||
case STATE_NORMAL:
|
||||
// Show mMainView
|
||||
@@ -852,7 +857,7 @@ public class GalleryDetailScene extends BaseScene implements View.OnClickListene
|
||||
mTorrent.setText(resources.getString(R.string.torrent_count, gd.torrentCount));
|
||||
|
||||
bindTags(gd.tags);
|
||||
bindComments(gd.comments);
|
||||
bindComments(gd.comments.comments);
|
||||
bindPreviews(gd);
|
||||
}
|
||||
|
||||
@@ -1092,7 +1097,7 @@ public class GalleryDetailScene extends BaseScene implements View.OnClickListene
|
||||
if (null != keyword) {
|
||||
ListUrlBuilder lub = new ListUrlBuilder();
|
||||
lub.setMode(ListUrlBuilder.MODE_NORMAL);
|
||||
lub.setKeyword(keyword);
|
||||
lub.setKeyword("\"" + keyword + "\"");
|
||||
GalleryListScene.startScene(this, lub);
|
||||
return;
|
||||
}
|
||||
@@ -1182,7 +1187,15 @@ public class GalleryDetailScene extends BaseScene implements View.OnClickListene
|
||||
} else if (mDownload == v) {
|
||||
GalleryInfo galleryInfo = getGalleryInfo();
|
||||
if (galleryInfo != null) {
|
||||
CommonOperations.startDownload(activity, galleryInfo, false);
|
||||
if (EhApplication.getDownloadManager(context).getDownloadState(galleryInfo.gid) == DownloadInfo.STATE_INVALID) {
|
||||
CommonOperations.startDownload(activity, galleryInfo, false);
|
||||
} else {
|
||||
new AlertDialog.Builder(context)
|
||||
.setTitle(R.string.download_remove_dialog_title)
|
||||
.setMessage(getString(R.string.download_remove_dialog_message, galleryInfo.title))
|
||||
.setPositiveButton(android.R.string.ok, (dialog1, which1) -> EhApplication.getDownloadManager(context).deleteDownload(galleryInfo.gid))
|
||||
.show();
|
||||
}
|
||||
}
|
||||
} else if (mRead == v) {
|
||||
GalleryInfo galleryInfo = null;
|
||||
@@ -1279,7 +1292,7 @@ public class GalleryDetailScene extends BaseScene implements View.OnClickListene
|
||||
args.putString(GalleryCommentsScene.KEY_API_KEY, mGalleryDetail.apiKey);
|
||||
args.putLong(GalleryCommentsScene.KEY_GID, mGalleryDetail.gid);
|
||||
args.putString(GalleryCommentsScene.KEY_TOKEN, mGalleryDetail.token);
|
||||
args.putParcelableArray(GalleryCommentsScene.KEY_COMMENTS, mGalleryDetail.comments);
|
||||
args.putParcelable(GalleryCommentsScene.KEY_COMMENT_LIST, mGalleryDetail.comments);
|
||||
startScene(new Announcer(GalleryCommentsScene.class)
|
||||
.setArgs(args)
|
||||
.setRequestCode(this, REQUEST_CODE_COMMENT_GALLERY));
|
||||
@@ -1435,16 +1448,12 @@ public class GalleryDetailScene extends BaseScene implements View.OnClickListene
|
||||
if (resultCode != RESULT_OK || data == null){
|
||||
break;
|
||||
}
|
||||
Parcelable[] array = data.getParcelableArray(GalleryCommentsScene.KEY_COMMENTS);
|
||||
if (!(array instanceof GalleryComment[])) {
|
||||
break;
|
||||
}
|
||||
GalleryComment[] comments = (GalleryComment[]) array;
|
||||
if (mGalleryDetail == null) {
|
||||
GalleryCommentList comments = data.getParcelable(GalleryCommentsScene.KEY_COMMENT_LIST);
|
||||
if (mGalleryDetail == null && comments == null) {
|
||||
break;
|
||||
}
|
||||
mGalleryDetail.comments = comments;
|
||||
bindComments(comments);
|
||||
bindComments(comments.comments);
|
||||
break;
|
||||
default:
|
||||
super.onSceneResult(requestCode, resultCode, data);
|
||||
@@ -1867,6 +1876,7 @@ public class GalleryDetailScene extends BaseScene implements View.OnClickListene
|
||||
FileUtils.sanitizeFilename(name + ".torrent"));
|
||||
r.allowScanningByMediaScanner();
|
||||
r.setNotificationVisibility(DownloadManager.Request.VISIBILITY_VISIBLE_NOTIFY_COMPLETED);
|
||||
r.addRequestHeader("Cookie", EhApplication.getEhCookieStore(context).getCookieHeader(HttpUrl.get(url)));
|
||||
DownloadManager dm = (DownloadManager) context.getSystemService(Context.DOWNLOAD_SERVICE);
|
||||
if (dm != null) {
|
||||
try {
|
||||
|
||||
@@ -36,6 +36,7 @@ import com.hippo.easyrecyclerview.EasyRecyclerView;
|
||||
import com.hippo.easyrecyclerview.LinearDividerItemDecoration;
|
||||
import com.hippo.ehviewer.R;
|
||||
import com.hippo.ehviewer.Settings;
|
||||
import com.hippo.ehviewer.UrlOpener;
|
||||
import com.hippo.ehviewer.client.EhUrl;
|
||||
import com.hippo.ehviewer.client.EhUtils;
|
||||
import com.hippo.ehviewer.client.data.GalleryDetail;
|
||||
@@ -51,6 +52,9 @@ public final class GalleryInfoScene extends ToolbarScene implements EasyRecycler
|
||||
public static final String KEY_KEYS = "keys";
|
||||
public static final String KEY_VALUES = "values";
|
||||
|
||||
private static final int INDEX_URL = 3;
|
||||
private static final int INDEX_PARENT = 10;
|
||||
|
||||
/*---------------
|
||||
Whole life cycle
|
||||
---------------*/
|
||||
@@ -199,15 +203,19 @@ public final class GalleryInfoScene extends ToolbarScene implements EasyRecycler
|
||||
public boolean onItemClick(EasyRecyclerView parent, View view, int position, long id) {
|
||||
Context context = getContext2();
|
||||
if (null != context && 0 != position && null != mValues) {
|
||||
ClipboardManager cmb = (ClipboardManager) context.getSystemService(Context.CLIPBOARD_SERVICE);
|
||||
cmb.setPrimaryClip(ClipData.newPlainText(null, mValues.get(position)));
|
||||
if (position == INDEX_PARENT) {
|
||||
UrlOpener.openUrl(context, mValues.get(position), true);
|
||||
} else {
|
||||
ClipboardManager cmb = (ClipboardManager) context.getSystemService(Context.CLIPBOARD_SERVICE);
|
||||
cmb.setPrimaryClip(ClipData.newPlainText(null, mValues.get(position)));
|
||||
|
||||
if (position == 3) {
|
||||
// Save it to avoid detect the gallery
|
||||
Settings.putClipboardTextHashCode(mValues.get(position).hashCode());
|
||||
if (position == INDEX_URL) {
|
||||
// Save it to avoid detect the gallery
|
||||
Settings.putClipboardTextHashCode(mValues.get(position).hashCode());
|
||||
}
|
||||
|
||||
showTip(R.string.copied_to_clipboard, LENGTH_SHORT);
|
||||
}
|
||||
|
||||
showTip(R.string.copied_to_clipboard, LENGTH_SHORT);
|
||||
return true;
|
||||
} else {
|
||||
return false;
|
||||
|
||||
@@ -82,6 +82,7 @@ import com.hippo.ehviewer.download.DownloadManager;
|
||||
import com.hippo.ehviewer.ui.CommonOperations;
|
||||
import com.hippo.ehviewer.ui.GalleryActivity;
|
||||
import com.hippo.ehviewer.ui.MainActivity;
|
||||
import com.hippo.ehviewer.ui.dialog.SelectItemWithIconAdapter;
|
||||
import com.hippo.ehviewer.widget.GalleryInfoContentHelper;
|
||||
import com.hippo.ehviewer.widget.SearchBar;
|
||||
import com.hippo.ehviewer.widget.SearchLayout;
|
||||
@@ -608,7 +609,6 @@ public final class GalleryListScene extends BaseScene
|
||||
mRecyclerView, Settings.getListMode());
|
||||
mRecyclerView.setSelector(Ripple.generateRippleDrawable(context, !AttrResources.getAttrBoolean(context, R.attr.isLightTheme), new ColorDrawable(Color.TRANSPARENT)));
|
||||
mRecyclerView.setDrawSelectorOnTop(true);
|
||||
mRecyclerView.hasFixedSize();
|
||||
mRecyclerView.setClipToPadding(false);
|
||||
mRecyclerView.setOnItemClickListener(this);
|
||||
mRecyclerView.setOnItemLongClickListener(this);
|
||||
@@ -1062,39 +1062,24 @@ public final class GalleryListScene extends BaseScene
|
||||
return true;
|
||||
}
|
||||
|
||||
boolean download;
|
||||
switch (mDownloadManager.getDownloadState(gi.gid)) {
|
||||
default:
|
||||
case DownloadInfo.STATE_INVALID:
|
||||
download = true;
|
||||
break;
|
||||
case DownloadInfo.STATE_NONE:
|
||||
download = true;
|
||||
break;
|
||||
case DownloadInfo.STATE_WAIT:
|
||||
download = false;
|
||||
break;
|
||||
case DownloadInfo.STATE_DOWNLOAD:
|
||||
download = false;
|
||||
break;
|
||||
case DownloadInfo.STATE_FINISH:
|
||||
download = true;
|
||||
break;
|
||||
case DownloadInfo.STATE_FAILED:
|
||||
download = true;
|
||||
break;
|
||||
}
|
||||
boolean favourite = gi.favoriteSlot == -2;
|
||||
boolean downloaded = mDownloadManager.getDownloadState(gi.gid) != DownloadInfo.STATE_INVALID;
|
||||
boolean favourited = gi.favoriteSlot != -2;
|
||||
|
||||
CharSequence[] items = new CharSequence[] {
|
||||
context.getString(R.string.read),
|
||||
context.getString(download ? R.string.download : R.string.stop_downloading),
|
||||
context.getString(favourite ? R.string.add_to_favourites : R.string.remove_from_favourites),
|
||||
context.getString(downloaded ? R.string.delete_downloads : R.string.download),
|
||||
context.getString(favourited ? R.string.remove_from_favourites : R.string.add_to_favourites),
|
||||
};
|
||||
|
||||
int[] icons = new int[] {
|
||||
R.drawable.v_book_open_x24,
|
||||
downloaded ? R.drawable.v_delete_x24 : R.drawable.v_download_x24,
|
||||
favourited ? R.drawable.v_heart_broken_x24 : R.drawable.v_heart_x24,
|
||||
};
|
||||
|
||||
new AlertDialog.Builder(context)
|
||||
.setTitle(EhUtils.getSuitableTitle(gi))
|
||||
.setItems(items, (dialog, which) -> {
|
||||
.setAdapter(new SelectItemWithIconAdapter(context, items, icons), (dialog, which) -> {
|
||||
switch (which) {
|
||||
case 0: // Read
|
||||
Intent intent = new Intent(activity, GalleryActivity.class);
|
||||
@@ -1103,17 +1088,21 @@ public final class GalleryListScene extends BaseScene
|
||||
startActivity(intent);
|
||||
break;
|
||||
case 1: // Download
|
||||
if (download) {
|
||||
CommonOperations.startDownload(activity, gi, false);
|
||||
if (downloaded) {
|
||||
new AlertDialog.Builder(context)
|
||||
.setTitle(R.string.download_remove_dialog_title)
|
||||
.setMessage(getString(R.string.download_remove_dialog_message, gi.title))
|
||||
.setPositiveButton(android.R.string.ok, (dialog1, which1) -> mDownloadManager.deleteDownload(gi.gid))
|
||||
.show();
|
||||
} else {
|
||||
mDownloadManager.stopDownload(gi.gid);
|
||||
CommonOperations.startDownload(activity, gi, false);
|
||||
}
|
||||
break;
|
||||
case 2: // Favorites
|
||||
if (favourite) {
|
||||
CommonOperations.addToFavorites(activity, gi, new AddToFavoriteListener(context, activity.getStageId(), getTag()));
|
||||
} else {
|
||||
if (favourited) {
|
||||
CommonOperations.removeFromFavorites(activity, gi, new RemoveFromFavoriteListener(context, activity.getStageId(), getTag()));
|
||||
} else {
|
||||
CommonOperations.addToFavorites(activity, gi, new AddToFavoriteListener(context, activity.getStageId(), getTag()));
|
||||
}
|
||||
break;
|
||||
}
|
||||
@@ -1354,7 +1343,13 @@ public final class GalleryListScene extends BaseScene
|
||||
return;
|
||||
}
|
||||
} else {
|
||||
int oldMode = mUrlBuilder.getMode();
|
||||
// If it's MODE_SUBSCRIPTION, keep it
|
||||
int newMode = oldMode == ListUrlBuilder.MODE_SUBSCRIPTION
|
||||
? ListUrlBuilder.MODE_SUBSCRIPTION
|
||||
: ListUrlBuilder.MODE_NORMAL;
|
||||
mUrlBuilder.reset();
|
||||
mUrlBuilder.setMode(newMode);
|
||||
mUrlBuilder.setKeyword(query);
|
||||
}
|
||||
onUpdateUrlBuilder();
|
||||
|
||||
@@ -128,7 +128,6 @@ public class HistoryScene extends ToolbarScene
|
||||
mRecyclerView.setLayoutManager(layoutManager);
|
||||
mRecyclerView.setSelector(Ripple.generateRippleDrawable(context, !AttrResources.getAttrBoolean(context, R.attr.isLightTheme), new ColorDrawable(Color.TRANSPARENT)));
|
||||
mRecyclerView.setDrawSelectorOnTop(true);
|
||||
mRecyclerView.hasFixedSize();
|
||||
mRecyclerView.setClipToPadding(false);
|
||||
mRecyclerView.setOnItemClickListener(this);
|
||||
mRecyclerView.setOnItemLongClickListener(this);
|
||||
|
||||
@@ -29,12 +29,11 @@ import androidx.annotation.Nullable;
|
||||
import androidx.appcompat.app.AlertDialog;
|
||||
import androidx.recyclerview.widget.LinearLayoutManager;
|
||||
import androidx.recyclerview.widget.RecyclerView;
|
||||
import com.h6ah4i.android.widget.advrecyclerview.animator.DraggableItemAnimator;
|
||||
import com.h6ah4i.android.widget.advrecyclerview.animator.GeneralItemAnimator;
|
||||
import com.h6ah4i.android.widget.advrecyclerview.animator.SwipeDismissItemAnimator;
|
||||
import com.h6ah4i.android.widget.advrecyclerview.draggable.DraggableItemAdapter;
|
||||
import com.h6ah4i.android.widget.advrecyclerview.draggable.ItemDraggableRange;
|
||||
import com.h6ah4i.android.widget.advrecyclerview.draggable.RecyclerViewDragDropManager;
|
||||
import com.h6ah4i.android.widget.advrecyclerview.touchguard.RecyclerViewTouchActionGuardManager;
|
||||
import com.h6ah4i.android.widget.advrecyclerview.utils.AbstractDraggableItemViewHolder;
|
||||
import com.hippo.easyrecyclerview.EasyRecyclerView;
|
||||
import com.hippo.ehviewer.EhDB;
|
||||
@@ -95,26 +94,21 @@ public final class QuickSearchScene extends ToolbarScene {
|
||||
tip.setCompoundDrawables(null, drawable, null, null);
|
||||
tip.setText(R.string.no_quick_search);
|
||||
|
||||
// touch guard manager (this class is required to suppress scrolling while swipe-dismiss animation is running)
|
||||
RecyclerViewTouchActionGuardManager guardManager = new RecyclerViewTouchActionGuardManager();
|
||||
guardManager.setInterceptVerticalScrollingWhileAnimationRunning(true);
|
||||
guardManager.setEnabled(true);
|
||||
// drag & drop manager
|
||||
RecyclerViewDragDropManager dragDropManager = new RecyclerViewDragDropManager();
|
||||
dragDropManager.setDraggingItemShadowDrawable(
|
||||
(NinePatchDrawable) context.getResources().getDrawable(R.drawable.shadow_8dp));
|
||||
// swipe manager
|
||||
|
||||
RecyclerView.Adapter adapter = new QuickSearchAdapter();
|
||||
adapter.setHasStableIds(true);
|
||||
adapter = dragDropManager.createWrappedAdapter(adapter); // wrap for dragging
|
||||
mAdapter = adapter;
|
||||
final GeneralItemAnimator animator = new SwipeDismissItemAnimator();
|
||||
animator.setSupportsChangeAnimations(false);
|
||||
mRecyclerView.hasFixedSize();
|
||||
|
||||
final GeneralItemAnimator animator = new DraggableItemAnimator();
|
||||
mRecyclerView.setLayoutManager(new LinearLayoutManager(context));
|
||||
mRecyclerView.setAdapter(adapter);
|
||||
mRecyclerView.setItemAnimator(animator);
|
||||
guardManager.attachRecyclerView(mRecyclerView);
|
||||
|
||||
dragDropManager.attachRecyclerView(mRecyclerView);
|
||||
|
||||
updateView();
|
||||
@@ -257,7 +251,6 @@ public final class QuickSearchScene extends ToolbarScene {
|
||||
EhDB.moveQuickSearch(fromPosition, toPosition);
|
||||
final QuickSearch item = mQuickSearchList.remove(fromPosition);
|
||||
mQuickSearchList.add(toPosition, item);
|
||||
notifyItemMoved(fromPosition, toPosition);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -39,7 +39,6 @@ import com.hippo.ehviewer.client.EhUrl;
|
||||
import com.hippo.ehviewer.client.EhUtils;
|
||||
import com.hippo.ehviewer.client.parser.ProfileParser;
|
||||
import com.hippo.ehviewer.ui.MainActivity;
|
||||
import com.hippo.ehviewer.widget.RecaptchaView;
|
||||
import com.hippo.scene.Announcer;
|
||||
import com.hippo.scene.SceneFragment;
|
||||
import com.hippo.util.ExceptionUtils;
|
||||
@@ -68,8 +67,6 @@ public final class SignInScene extends SolidScene implements EditText.OnEditorAc
|
||||
private EditText mUsername;
|
||||
@Nullable
|
||||
private EditText mPassword;
|
||||
private EditText mRecaptcha;
|
||||
private RecaptchaView mRecaptchaView;
|
||||
@Nullable
|
||||
private View mRegister;
|
||||
@Nullable
|
||||
@@ -127,8 +124,6 @@ public final class SignInScene extends SolidScene implements EditText.OnEditorAc
|
||||
mPasswordLayout = (TextInputLayout) ViewUtils.$$(loginForm, R.id.password_layout);
|
||||
mPassword = mPasswordLayout.getEditText();
|
||||
AssertUtils.assertNotNull(mPassword);
|
||||
mRecaptcha = (EditText) ViewUtils.$$(loginForm, R.id.recaptcha);
|
||||
mRecaptchaView = (RecaptchaView) ViewUtils.$$(loginForm, R.id.recaptcha_image);
|
||||
mRegister = ViewUtils.$$(loginForm, R.id.register);
|
||||
mSignIn = ViewUtils.$$(loginForm, R.id.sign_in);
|
||||
mSignInViaWebView = (TextView) ViewUtils.$$(loginForm, R.id.sign_in_via_webview);
|
||||
@@ -284,15 +279,12 @@ public final class SignInScene extends SolidScene implements EditText.OnEditorAc
|
||||
// Clean up for sign in
|
||||
EhUtils.signOut(context);
|
||||
|
||||
String challenge = mRecaptchaView.getChallenge();
|
||||
String response = mRecaptcha.getText().toString();
|
||||
|
||||
EhCallback callback = new SignInListener(context,
|
||||
activity.getStageId(), getTag());
|
||||
mRequestId = ((EhApplication) context.getApplicationContext()).putGlobalStuff(callback);
|
||||
EhRequest request = new EhRequest()
|
||||
.setMethod(EhClient.METHOD_SIGN_IN)
|
||||
.setArgs(username, password, challenge, response)
|
||||
.setArgs(username, password)
|
||||
.setCallback(callback);
|
||||
EhApplication.getEhClient(context).execute(request);
|
||||
|
||||
@@ -335,7 +327,7 @@ public final class SignInScene extends SolidScene implements EditText.OnEditorAc
|
||||
|
||||
new AlertDialog.Builder(context)
|
||||
.setTitle(R.string.sign_in_failed)
|
||||
.setMessage(ExceptionUtils.getReadableString(e))
|
||||
.setMessage(ExceptionUtils.getReadableString(e) + "\n\n" + getString(R.string.sign_in_failed_tip))
|
||||
.setPositiveButton(R.string.get_it, null)
|
||||
.show();
|
||||
}
|
||||
|
||||
@@ -0,0 +1,205 @@
|
||||
/*
|
||||
* Copyright 2019 Hippo Seven
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package com.hippo.ehviewer.widget;
|
||||
|
||||
import android.content.Context;
|
||||
import android.graphics.Rect;
|
||||
import android.os.Build;
|
||||
import android.util.AttributeSet;
|
||||
import android.view.DisplayCutout;
|
||||
import android.view.View;
|
||||
import android.view.ViewGroup;
|
||||
import androidx.annotation.Nullable;
|
||||
import androidx.annotation.RequiresApi;
|
||||
import com.hippo.ehviewer.R;
|
||||
import com.hippo.yorozuya.ObjectUtils;
|
||||
|
||||
public class GalleryHeader extends ViewGroup {
|
||||
|
||||
private DisplayCutout displayCutout;
|
||||
|
||||
private View battery;
|
||||
private View progress;
|
||||
private View clock;
|
||||
|
||||
private Rect batteryRect = new Rect();
|
||||
private Rect progressRect = new Rect();
|
||||
private Rect clockRect = new Rect();
|
||||
|
||||
private int[] location = new int[2];
|
||||
|
||||
private int lastX = 0;
|
||||
private int lastY = 0;
|
||||
|
||||
public GalleryHeader(Context context, AttributeSet attrs) {
|
||||
super(context, attrs);
|
||||
}
|
||||
|
||||
@RequiresApi(api = Build.VERSION_CODES.P)
|
||||
public void setDisplayCutout(@Nullable DisplayCutout displayCutout) {
|
||||
if (!ObjectUtils.equal(this.displayCutout, displayCutout)) {
|
||||
this.displayCutout = displayCutout;
|
||||
requestLayout();
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void onFinishInflate() {
|
||||
super.onFinishInflate();
|
||||
|
||||
battery = findViewById(R.id.battery);
|
||||
progress = findViewById(R.id.progress);
|
||||
clock = findViewById(R.id.clock);
|
||||
}
|
||||
|
||||
private void measureChild(Rect rect, View view, int width, int paddingLeft, int paddingRight) {
|
||||
int left;
|
||||
MarginLayoutParams lp = (MarginLayoutParams) view.getLayoutParams();
|
||||
if (view == battery) {
|
||||
left = paddingLeft + lp.leftMargin;
|
||||
} else if (view == progress) {
|
||||
left = paddingLeft + (width - paddingLeft - paddingRight) / 2 - view.getMeasuredWidth() / 2;
|
||||
} else {
|
||||
left = width - paddingRight - lp.rightMargin - view.getMeasuredWidth();
|
||||
}
|
||||
rect.set(left, lp.topMargin, left + view.getMeasuredWidth(), lp.topMargin + view.getMeasuredHeight());
|
||||
}
|
||||
|
||||
@RequiresApi(api = Build.VERSION_CODES.P)
|
||||
private boolean offsetVertically(Rect rect, View view, int width) {
|
||||
int offset = 0;
|
||||
|
||||
measureChild(rect, view, width, 0, 0);
|
||||
rect.offset(lastX, lastY);
|
||||
|
||||
for (Rect notch : displayCutout.getBoundingRects()) {
|
||||
if (Rect.intersects(notch, rect)) {
|
||||
offset = Math.max(offset, notch.bottom - lastY);
|
||||
}
|
||||
}
|
||||
|
||||
if (offset != 0) {
|
||||
rect.offset(-lastX, -lastY);
|
||||
rect.offset(0, offset);
|
||||
return true;
|
||||
} else {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
@RequiresApi(api = Build.VERSION_CODES.P)
|
||||
private int getOffsetLeft(Rect rect, View view, int width) {
|
||||
int offset = 0;
|
||||
|
||||
measureChild(rect, view, width, 0, 0);
|
||||
rect.offset(lastX, lastY);
|
||||
|
||||
for (Rect notch : displayCutout.getBoundingRects()) {
|
||||
if (Rect.intersects(notch, rect)) {
|
||||
offset = Math.max(offset, notch.right - lastX);
|
||||
}
|
||||
}
|
||||
|
||||
return offset;
|
||||
}
|
||||
|
||||
@RequiresApi(api = Build.VERSION_CODES.P)
|
||||
private int getOffsetRight(Rect rect, View view, int width) {
|
||||
int offset = 0;
|
||||
|
||||
measureChild(rect, view, width, 0, 0);
|
||||
rect.offset(lastX, lastY);
|
||||
|
||||
for (Rect notch : displayCutout.getBoundingRects()) {
|
||||
if (Rect.intersects(notch, rect)) {
|
||||
offset = Math.max(offset, lastX + width - notch.left);
|
||||
}
|
||||
}
|
||||
|
||||
return offset;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) {
|
||||
if (MeasureSpec.getMode(widthMeasureSpec) != MeasureSpec.EXACTLY) {
|
||||
throw new IllegalStateException();
|
||||
}
|
||||
int width = MeasureSpec.getSize(widthMeasureSpec);
|
||||
|
||||
int height = 0;
|
||||
for (int i = 0; i < getChildCount(); i++) {
|
||||
View child = getChildAt(i);
|
||||
measureChild(child, widthMeasureSpec, heightMeasureSpec);
|
||||
MarginLayoutParams lp = (MarginLayoutParams) child.getLayoutParams();
|
||||
height = Math.max(height, child.getMeasuredHeight() + lp.topMargin);
|
||||
}
|
||||
|
||||
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.P && displayCutout != null) {
|
||||
// Check progress covered
|
||||
if (offsetVertically(progressRect, progress, width)) {
|
||||
offsetVertically(batteryRect, battery, width);
|
||||
offsetVertically(clockRect, clock, width);
|
||||
height = Math.max(progressRect.bottom, Math.max(batteryRect.bottom, clockRect.bottom));
|
||||
} else {
|
||||
// Clamp left and right
|
||||
int paddingLeft = getOffsetLeft(batteryRect, battery, width);
|
||||
int paddingRight = getOffsetRight(clockRect, clock, width);
|
||||
measureChild(batteryRect, battery, width, paddingLeft, paddingRight);
|
||||
measureChild(progressRect, progress, width, paddingLeft, paddingRight);
|
||||
measureChild(clockRect, clock, width, paddingLeft, paddingRight);
|
||||
}
|
||||
} else {
|
||||
measureChild(batteryRect, battery, width, 0, 0);
|
||||
measureChild(progressRect, progress, width, 0, 0);
|
||||
measureChild(clockRect, clock, width, 0, 0);
|
||||
}
|
||||
|
||||
setMeasuredDimension(width, height);
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void onLayout(boolean changed, int l, int t, int r, int b) {
|
||||
battery.layout(batteryRect.left, batteryRect.top, batteryRect.right, batteryRect.bottom);
|
||||
progress.layout(progressRect.left, progressRect.top, progressRect.right, progressRect.bottom);
|
||||
clock.layout(clockRect.left, clockRect.top, clockRect.right, clockRect.bottom);
|
||||
|
||||
getLocationOnScreen(location);
|
||||
if (lastX != location[0] || lastY != location[1]) {
|
||||
lastX = location[0];
|
||||
lastY = location[1];
|
||||
requestLayout();
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public MarginLayoutParams generateLayoutParams(AttributeSet attrs) {
|
||||
return new MarginLayoutParams(getContext(), attrs);
|
||||
}
|
||||
|
||||
@Override
|
||||
protected boolean checkLayoutParams(ViewGroup.LayoutParams p) {
|
||||
return p instanceof MarginLayoutParams;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected MarginLayoutParams generateLayoutParams(ViewGroup.LayoutParams lp) {
|
||||
if (lp instanceof MarginLayoutParams) {
|
||||
return new MarginLayoutParams((MarginLayoutParams) lp);
|
||||
}
|
||||
return new MarginLayoutParams(lp);
|
||||
}
|
||||
}
|
||||
@@ -1,183 +0,0 @@
|
||||
/*
|
||||
* Copyright 2017 Hippo Seven
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package com.hippo.ehviewer.widget;
|
||||
|
||||
/*
|
||||
* Created by Hippo on 2017/8/20.
|
||||
*/
|
||||
|
||||
import android.content.Context;
|
||||
import android.graphics.Color;
|
||||
import android.os.Parcel;
|
||||
import android.os.Parcelable;
|
||||
import android.text.TextUtils;
|
||||
import android.util.AttributeSet;
|
||||
import android.view.View;
|
||||
import androidx.annotation.NonNull;
|
||||
import com.hippo.android.recaptcha.RecaptchaV1;
|
||||
import com.hippo.drawable.TextDrawable;
|
||||
import com.hippo.ehviewer.R;
|
||||
import com.hippo.widget.LoadImageView;
|
||||
import com.hippo.yorozuya.SimpleHandler;
|
||||
|
||||
public class RecaptchaView extends LoadImageView implements RecaptchaV1.RecaptchaCallback, View.OnClickListener {
|
||||
|
||||
private static final String CHALLENGE = "6LdtfgYAAAAAALjIPPiCgPJJah8MhAUpnHcKF8u_";
|
||||
|
||||
private boolean loading = false;
|
||||
private String challenge;
|
||||
private String image;
|
||||
|
||||
private TextDrawable waitingDrawable;
|
||||
private TextDrawable loadingDrawable;
|
||||
private TextDrawable failureDrawable;
|
||||
|
||||
public RecaptchaView(Context context) {
|
||||
super(context);
|
||||
init();
|
||||
}
|
||||
|
||||
public RecaptchaView(Context context, AttributeSet attrs) {
|
||||
super(context, attrs);
|
||||
init();
|
||||
}
|
||||
|
||||
private void init() {
|
||||
setOnClickListener(this);
|
||||
if (waitingDrawable == null) {
|
||||
waitingDrawable = new TextDrawable(getContext().getString(R.string.recaptcha_none), 0.6f);
|
||||
waitingDrawable.setBackgroundColor(Color.GRAY);
|
||||
waitingDrawable.setTextColor(Color.WHITE);
|
||||
}
|
||||
load(waitingDrawable);
|
||||
}
|
||||
|
||||
public String getChallenge() {
|
||||
return challenge;
|
||||
}
|
||||
|
||||
public void load() {
|
||||
if (loading) {
|
||||
return;
|
||||
}
|
||||
loading = false;
|
||||
challenge = null;
|
||||
image = null;
|
||||
|
||||
if (loadingDrawable == null) {
|
||||
loadingDrawable = new TextDrawable(getContext().getString(R.string.recaptcha_loading), 0.6f);
|
||||
loadingDrawable.setBackgroundColor(Color.GRAY);
|
||||
loadingDrawable.setTextColor(Color.WHITE);
|
||||
}
|
||||
load(loadingDrawable);
|
||||
|
||||
RecaptchaV1.recaptcha(getContext(), CHALLENGE, SimpleHandler.getInstance(), this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onClick(@NonNull View v) {
|
||||
load();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onSuccess(@NonNull String challenge, @NonNull String image) {
|
||||
this.loading = false;
|
||||
this.challenge = challenge;
|
||||
this.image = image;
|
||||
|
||||
load(image, image);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onFailure() {
|
||||
this.loading = false;
|
||||
this.challenge = null;
|
||||
this.image = null;
|
||||
|
||||
if (failureDrawable == null) {
|
||||
failureDrawable = new TextDrawable(getContext().getString(R.string.recaptcha_failure), 0.6f);
|
||||
failureDrawable.setBackgroundColor(Color.GRAY);
|
||||
failureDrawable.setTextColor(Color.WHITE);
|
||||
}
|
||||
load(failureDrawable);
|
||||
}
|
||||
|
||||
@Override
|
||||
protected Parcelable onSaveInstanceState() {
|
||||
SavedState ss = new SavedState(super.onSaveInstanceState());
|
||||
ss.loading = loading;
|
||||
ss.challenge = challenge;
|
||||
ss.image = image;
|
||||
return ss;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void onRestoreInstanceState(Parcelable state) {
|
||||
if (!(state instanceof SavedState)) {
|
||||
super.onRestoreInstanceState(state);
|
||||
return;
|
||||
}
|
||||
|
||||
SavedState ss = (SavedState) state;
|
||||
super.onRestoreInstanceState(ss.getSuperState());
|
||||
|
||||
if (ss.loading) {
|
||||
load();
|
||||
} else if (!TextUtils.isEmpty(ss.challenge) && !TextUtils.isEmpty(ss.image)) {
|
||||
onSuccess(ss.challenge, ss.image);
|
||||
}
|
||||
}
|
||||
|
||||
private static class SavedState extends BaseSavedState {
|
||||
|
||||
private boolean loading;
|
||||
private String challenge;
|
||||
private String image;
|
||||
|
||||
public SavedState(Parcelable superState) {
|
||||
super(superState);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void writeToParcel(Parcel out, int flags) {
|
||||
super.writeToParcel(out, flags);
|
||||
out.writeByte(loading ? (byte) 1 : (byte) 0);
|
||||
out.writeString(challenge);
|
||||
out.writeString(image);
|
||||
}
|
||||
|
||||
public static final Parcelable.Creator<SavedState> CREATOR
|
||||
= new Parcelable.Creator<SavedState>() {
|
||||
@Override
|
||||
public SavedState createFromParcel(Parcel in) {
|
||||
return new SavedState(in);
|
||||
}
|
||||
|
||||
@Override
|
||||
public SavedState[] newArray(int size) {
|
||||
return new SavedState[size];
|
||||
}
|
||||
};
|
||||
|
||||
public SavedState(Parcel source) {
|
||||
super(source);
|
||||
loading = source.readByte() != 0;
|
||||
challenge = source.readString();
|
||||
image = source.readString();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -85,6 +85,19 @@ public class CookieRepository implements CookieJar {
|
||||
}
|
||||
}
|
||||
|
||||
public String getCookieHeader(HttpUrl url) {
|
||||
List<Cookie> cookies = getCookies(url);
|
||||
StringBuilder cookieHeader = new StringBuilder();
|
||||
for (int i = 0, size = cookies.size(); i < size; i++) {
|
||||
if (i > 0) {
|
||||
cookieHeader.append("; ");
|
||||
}
|
||||
Cookie cookie = cookies.get(i);
|
||||
cookieHeader.append(cookie.name()).append('=').append(cookie.value());
|
||||
}
|
||||
return cookieHeader.toString();
|
||||
}
|
||||
|
||||
public synchronized List<Cookie> getCookies(HttpUrl url) {
|
||||
List<Cookie> accepted = new ArrayList<>();
|
||||
List<Cookie> expired = new ArrayList<>();
|
||||
|
||||
@@ -0,0 +1,26 @@
|
||||
/*
|
||||
* Copyright 2019 Hippo Seven
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package com.hippo.util;
|
||||
|
||||
public class MutableBoolean {
|
||||
|
||||
public boolean value;
|
||||
|
||||
public MutableBoolean(boolean value) {
|
||||
this.value = value;
|
||||
}
|
||||
}
|
||||
@@ -16,17 +16,16 @@
|
||||
|
||||
package com.hippo.util;
|
||||
|
||||
import android.annotation.SuppressLint;
|
||||
import android.content.Context;
|
||||
import android.content.res.Resources;
|
||||
|
||||
import com.hippo.ehviewer.R;
|
||||
|
||||
import java.text.SimpleDateFormat;
|
||||
import java.util.Calendar;
|
||||
import java.util.Date;
|
||||
import java.util.Locale;
|
||||
import java.util.TimeZone;
|
||||
|
||||
@SuppressLint("SimpleDateFormat")
|
||||
public final class ReadableTime {
|
||||
|
||||
private static Resources sResources;
|
||||
@@ -56,30 +55,21 @@ public final class ReadableTime {
|
||||
R.plurals.second
|
||||
};
|
||||
|
||||
private static final Calendar sCalendar = Calendar.getInstance(TimeZone.getTimeZone("GMT+08:00"));
|
||||
private static final Calendar sCalendar = Calendar.getInstance();
|
||||
private static final Object sCalendarLock = new Object();
|
||||
|
||||
private static final SimpleDateFormat DATE_FORMAT_WITHOUT_YEAR =
|
||||
new SimpleDateFormat("MMM d", Locale.getDefault());
|
||||
private static final SimpleDateFormat DATE_FORMAT_WITHOUT_YEAR = new SimpleDateFormat("MMM d");
|
||||
private static final SimpleDateFormat DATE_FORMAT_WITH_YEAR = new SimpleDateFormat("MMM d, yyyy");
|
||||
|
||||
private static final SimpleDateFormat DATE_FORMAT_WIT_YEAR =
|
||||
new SimpleDateFormat("yyy MMM d", Locale.getDefault());
|
||||
private static final SimpleDateFormat DATE_FORMAT_WITHOUT_YEAR_ZH = new SimpleDateFormat("M月d日");
|
||||
private static final SimpleDateFormat DATE_FORMAT_WITH_YEAR_ZH = new SimpleDateFormat("yyyy年M月d日");
|
||||
|
||||
private static final SimpleDateFormat DATE_FORMAT =
|
||||
new SimpleDateFormat("yy-MM-dd HH:mm", Locale.getDefault());
|
||||
private static final SimpleDateFormat DATE_FORMAT = new SimpleDateFormat("yy-MM-dd HH:mm");
|
||||
private static final Object sDateFormatLock1 = new Object();
|
||||
|
||||
private static final SimpleDateFormat FILENAMABLE_DATE_FORMAT =
|
||||
new SimpleDateFormat("yyyy-MM-dd-HH-mm-ss-SSS", Locale.getDefault());
|
||||
private static final SimpleDateFormat FILENAMABLE_DATE_FORMAT = new SimpleDateFormat("yyyy-MM-dd-HH-mm-ss-SSS");
|
||||
private static final Object sDateFormatLock2 = new Object();
|
||||
|
||||
static {
|
||||
// The website use GMT+08:00, so tell user the same
|
||||
DATE_FORMAT.setTimeZone(TimeZone.getTimeZone("GMT+08:00"));
|
||||
|
||||
DATE_FORMAT_WITHOUT_YEAR.setTimeZone(TimeZone.getTimeZone("GMT+08:00"));
|
||||
}
|
||||
|
||||
public static void initialize(Context context) {
|
||||
sResources = context.getApplicationContext().getResources();
|
||||
}
|
||||
@@ -134,11 +124,12 @@ public final class ReadableTime {
|
||||
int nowYear = sCalendar.get(Calendar.YEAR);
|
||||
sCalendar.setTime(timeDate);
|
||||
int timeYear = sCalendar.get(Calendar.YEAR);
|
||||
boolean isZh = Locale.getDefault().getLanguage().equals("zh");
|
||||
|
||||
if (nowYear == timeYear) {
|
||||
return DATE_FORMAT_WITHOUT_YEAR.format(timeDate);
|
||||
return (isZh ? DATE_FORMAT_WITHOUT_YEAR_ZH : DATE_FORMAT_WITHOUT_YEAR).format(timeDate);
|
||||
} else {
|
||||
return DATE_FORMAT_WIT_YEAR.format(timeDate);
|
||||
return (isZh ? DATE_FORMAT_WITH_YEAR_ZH : DATE_FORMAT_WITH_YEAR).format(timeDate);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -105,6 +105,19 @@ public class FabLayout extends ViewGroup implements View.OnClickListener {
|
||||
return (FloatingActionButton) getChildAt(index);
|
||||
}
|
||||
|
||||
public void setSecondaryFabVisibilityAt(int index, boolean visible) {
|
||||
View fab = getSecondaryFabAt(index);
|
||||
if (fab != null) {
|
||||
if (visible && fab.getVisibility() == View.GONE) {
|
||||
fab.animate().cancel();
|
||||
fab.setVisibility(mExpanded ? View.VISIBLE : View.INVISIBLE);
|
||||
} else if (!visible && fab.getVisibility() != View.GONE) {
|
||||
fab.animate().cancel();
|
||||
fab.setVisibility(View.GONE);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) {
|
||||
AssertUtils.assertEquals("Measure mode must be MeasureSpec.EXACTLY",
|
||||
@@ -230,6 +243,9 @@ public class FabLayout extends ViewGroup implements View.OnClickListener {
|
||||
int checkCount = mHidePrimaryFab ? count : count - 1;
|
||||
for (int i = 0; i < checkCount; i++) {
|
||||
View child = getChildAt(i);
|
||||
if (child.getVisibility() == GONE) {
|
||||
continue;
|
||||
}
|
||||
child.setVisibility(expanded ? View.VISIBLE : View.INVISIBLE);
|
||||
if (expanded) {
|
||||
child.setAlpha(1f);
|
||||
@@ -242,6 +258,9 @@ public class FabLayout extends ViewGroup implements View.OnClickListener {
|
||||
|
||||
for (int i = 0; i < count - 1; i++) {
|
||||
View child = getChildAt(i);
|
||||
if (child.getVisibility() == GONE) {
|
||||
continue;
|
||||
}
|
||||
setSecondaryFabAnimation(child, expanded, expanded);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,29 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
~ Copyright 2019 Hippo Seven
|
||||
~
|
||||
~ Licensed under the Apache License, Version 2.0 (the "License");
|
||||
~ you may not use this file except in compliance with the License.
|
||||
~ You may obtain a copy of the License at
|
||||
~
|
||||
~ http://www.apache.org/licenses/LICENSE-2.0
|
||||
~
|
||||
~ Unless required by applicable law or agreed to in writing, software
|
||||
~ distributed under the License is distributed on an "AS IS" BASIS,
|
||||
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
~ See the License for the specific language governing permissions and
|
||||
~ limitations under the License.
|
||||
-->
|
||||
|
||||
<vector
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:height="24dp"
|
||||
android:width="24dp"
|
||||
android:viewportWidth="24"
|
||||
android:viewportHeight="24">
|
||||
|
||||
<path
|
||||
android:fillColor="?attr/drawableColorPrimary"
|
||||
android:pathData="@string/pd_download"/>
|
||||
|
||||
</vector>
|
||||
@@ -0,0 +1,29 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
~ Copyright 2019 Hippo Seven
|
||||
~
|
||||
~ Licensed under the Apache License, Version 2.0 (the "License");
|
||||
~ you may not use this file except in compliance with the License.
|
||||
~ You may obtain a copy of the License at
|
||||
~
|
||||
~ http://www.apache.org/licenses/LICENSE-2.0
|
||||
~
|
||||
~ Unless required by applicable law or agreed to in writing, software
|
||||
~ distributed under the License is distributed on an "AS IS" BASIS,
|
||||
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
~ See the License for the specific language governing permissions and
|
||||
~ limitations under the License.
|
||||
-->
|
||||
|
||||
<vector
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:height="24dp"
|
||||
android:width="24dp"
|
||||
android:viewportWidth="24"
|
||||
android:viewportHeight="24">
|
||||
|
||||
<path
|
||||
android:fillColor="?attr/drawableColorPrimary"
|
||||
android:pathData="@string/pd_heart_broken"/>
|
||||
|
||||
</vector>
|
||||
@@ -0,0 +1,29 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
~ Copyright 2019 Hippo Seven
|
||||
~
|
||||
~ Licensed under the Apache License, Version 2.0 (the "License");
|
||||
~ you may not use this file except in compliance with the License.
|
||||
~ You may obtain a copy of the License at
|
||||
~
|
||||
~ http://www.apache.org/licenses/LICENSE-2.0
|
||||
~
|
||||
~ Unless required by applicable law or agreed to in writing, software
|
||||
~ distributed under the License is distributed on an "AS IS" BASIS,
|
||||
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
~ See the License for the specific language governing permissions and
|
||||
~ limitations under the License.
|
||||
-->
|
||||
|
||||
<vector
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:height="24dp"
|
||||
android:width="24dp"
|
||||
android:viewportWidth="24"
|
||||
android:viewportHeight="24">
|
||||
|
||||
<path
|
||||
android:fillColor="?attr/drawableColorPrimary"
|
||||
android:pathData="@string/pd_heart"/>
|
||||
|
||||
</vector>
|
||||
@@ -0,0 +1,29 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
~ Copyright 2019 Hippo Seven
|
||||
~
|
||||
~ Licensed under the Apache License, Version 2.0 (the "License");
|
||||
~ you may not use this file except in compliance with the License.
|
||||
~ You may obtain a copy of the License at
|
||||
~
|
||||
~ http://www.apache.org/licenses/LICENSE-2.0
|
||||
~
|
||||
~ Unless required by applicable law or agreed to in writing, software
|
||||
~ distributed under the License is distributed on an "AS IS" BASIS,
|
||||
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
~ See the License for the specific language governing permissions and
|
||||
~ limitations under the License.
|
||||
-->
|
||||
|
||||
<vector
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:height="24dp"
|
||||
android:width="24dp"
|
||||
android:viewportWidth="24"
|
||||
android:viewportHeight="24">
|
||||
|
||||
<path
|
||||
android:fillColor="@color/primary_drawable_dark"
|
||||
android:pathData="@string/pd_pencil"/>
|
||||
|
||||
</vector>
|
||||
@@ -38,13 +38,27 @@
|
||||
android:layout_height="0dp"
|
||||
android:layout_weight="1"/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/ok"
|
||||
style="?attr/buttonBarButtonStyle"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="right"
|
||||
android:text="@android:string/ok"
|
||||
android:textColor="?attr/colorPrimary"/>
|
||||
<FrameLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/preset"
|
||||
style="?attr/buttonBarButtonStyle"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="left"
|
||||
android:text="@string/preset"
|
||||
android:textColor="?attr/colorAccent"/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/ok"
|
||||
style="?attr/buttonBarButtonStyle"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="right"
|
||||
android:text="@android:string/ok"
|
||||
android:textColor="?attr/colorPrimary"/>
|
||||
|
||||
</FrameLayout>
|
||||
</LinearLayout>
|
||||
@@ -26,34 +26,42 @@
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"/>
|
||||
|
||||
<com.hippo.widget.TextClock
|
||||
android:id="@+id/clock"
|
||||
android:layout_width="wrap_content"
|
||||
<com.hippo.ehviewer.widget.GalleryHeader
|
||||
android:id="@+id/gallery_header"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="right"
|
||||
android:layout_marginTop="@dimen/gallery_widget_margin_v"
|
||||
android:layout_marginRight="@dimen/gallery_widget_margin_h"
|
||||
android:textColor="?android:attr/textColorSecondary"/>
|
||||
android:layout_gravity="top">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/progress"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:layout_marginTop="@dimen/gallery_widget_margin_v"
|
||||
android:textColor="?android:attr/textColorSecondary"/>
|
||||
<com.hippo.widget.TextClock
|
||||
android:id="@+id/clock"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="right"
|
||||
android:layout_marginTop="@dimen/gallery_widget_margin_v"
|
||||
android:layout_marginRight="@dimen/gallery_widget_margin_h"
|
||||
android:textColor="?android:attr/textColorSecondary"/>
|
||||
|
||||
<com.hippo.widget.BatteryView
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
android:id="@+id/battery"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="left"
|
||||
android:layout_marginTop="@dimen/gallery_widget_margin_v"
|
||||
android:layout_marginLeft="@dimen/gallery_widget_margin_h"
|
||||
android:drawablePadding="4dp"
|
||||
app:color="?android:attr/textColorSecondary"
|
||||
app:warningColor="@color/red_500"/>
|
||||
<TextView
|
||||
android:id="@+id/progress"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:layout_marginTop="@dimen/gallery_widget_margin_v"
|
||||
android:textColor="?android:attr/textColorSecondary"/>
|
||||
|
||||
<com.hippo.widget.BatteryView
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
android:id="@+id/battery"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="left"
|
||||
android:layout_marginTop="@dimen/gallery_widget_margin_v"
|
||||
android:layout_marginLeft="@dimen/gallery_widget_margin_h"
|
||||
android:drawablePadding="4dp"
|
||||
app:color="?android:attr/textColorSecondary"
|
||||
app:warningColor="@color/red_500"/>
|
||||
|
||||
</com.hippo.ehviewer.widget.GalleryHeader>
|
||||
|
||||
<com.hippo.ehviewer.widget.SeekBarPanel
|
||||
android:id="@+id/seek_bar_panel"
|
||||
|
||||
@@ -0,0 +1,34 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Copyright (C) 2014 The Android Open Source Project
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
|
||||
<!--
|
||||
This layout file is used by the AlertDialog when displaying a list of items.
|
||||
This layout file is inflated and used as the TextView to display individual
|
||||
items.
|
||||
-->
|
||||
<TextView xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:id="@android:id/text1"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:minHeight="?android:attr/listPreferredItemHeightSmall"
|
||||
android:textAppearance="?android:attr/textAppearanceListItemSmall"
|
||||
android:textColor="?android:attr/textColorAlertDialogListItem"
|
||||
android:gravity="center_vertical"
|
||||
android:paddingLeft="?attr/listPreferredItemPaddingLeft"
|
||||
android:paddingRight="?attr/listPreferredItemPaddingRight"
|
||||
android:drawablePadding="@dimen/keyline_margin"
|
||||
android:ellipsize="marquee"/>
|
||||
@@ -45,7 +45,6 @@
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical">
|
||||
|
||||
@@ -0,0 +1,31 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
~ Copyright 2019 Hippo Seven
|
||||
~
|
||||
~ Licensed under the Apache License, Version 2.0 (the "License");
|
||||
~ you may not use this file except in compliance with the License.
|
||||
~ You may obtain a copy of the License at
|
||||
~
|
||||
~ http://www.apache.org/licenses/LICENSE-2.0
|
||||
~
|
||||
~ Unless required by applicable law or agreed to in writing, software
|
||||
~ distributed under the License is distributed on an "AS IS" BASIS,
|
||||
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
~ See the License for the specific language governing permissions and
|
||||
~ limitations under the License.
|
||||
-->
|
||||
|
||||
<FrameLayout
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:padding="@dimen/keyline_margin">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/click_more_comments"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center"
|
||||
android:text="@string/click_more_comments"/>
|
||||
|
||||
</FrameLayout>
|
||||
@@ -0,0 +1,31 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
~ Copyright 2019 Hippo Seven
|
||||
~
|
||||
~ Licensed under the Apache License, Version 2.0 (the "License");
|
||||
~ you may not use this file except in compliance with the License.
|
||||
~ You may obtain a copy of the License at
|
||||
~
|
||||
~ http://www.apache.org/licenses/LICENSE-2.0
|
||||
~
|
||||
~ Unless required by applicable law or agreed to in writing, software
|
||||
~ distributed under the License is distributed on an "AS IS" BASIS,
|
||||
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
~ See the License for the specific language governing permissions and
|
||||
~ limitations under the License.
|
||||
-->
|
||||
|
||||
<FrameLayout
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:padding="@dimen/keyline_margin">
|
||||
|
||||
<com.hippo.widget.ProgressView
|
||||
android:id="@+id/progress"
|
||||
style="@style/ProgressView"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center"/>
|
||||
|
||||
</FrameLayout>
|
||||
@@ -47,28 +47,44 @@
|
||||
<com.google.android.material.floatingactionbutton.FloatingActionButton
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
app:srcCompat="@drawable/v_download_dark_x24"
|
||||
app:srcCompat="@drawable/v_go_to_dark_x24"
|
||||
app:backgroundTint="?attr/widgetColorThemeAccent"
|
||||
style="@style/Widget.Design.FloatingActionButton.Mini"/>
|
||||
|
||||
<com.google.android.material.floatingactionbutton.FloatingActionButton
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
app:srcCompat="@drawable/v_refresh_dark_x24"
|
||||
app:backgroundTint="?attr/widgetColorThemeAccent"
|
||||
style="@style/Widget.Design.FloatingActionButton.Mini"/>
|
||||
|
||||
<com.google.android.material.floatingactionbutton.FloatingActionButton
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
app:srcCompat="@drawable/v_download_dark_x24"
|
||||
app:backgroundTint="?attr/widgetColorThemeAccent"
|
||||
style="@style/Widget.Design.FloatingActionButton.Mini"
|
||||
android:visibility="gone"/>
|
||||
|
||||
<com.google.android.material.floatingactionbutton.FloatingActionButton
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
app:srcCompat="@drawable/v_delete_dark_x24"
|
||||
app:backgroundTint="?attr/widgetColorThemeAccent"
|
||||
style="@style/Widget.Design.FloatingActionButton.Mini"/>
|
||||
style="@style/Widget.Design.FloatingActionButton.Mini"
|
||||
android:visibility="gone"/>
|
||||
|
||||
<com.google.android.material.floatingactionbutton.FloatingActionButton
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
app:srcCompat="@drawable/v_folder_move_dark_x24"
|
||||
app:backgroundTint="?attr/widgetColorThemeAccent"
|
||||
style="@style/Widget.Design.FloatingActionButton.Mini"/>
|
||||
style="@style/Widget.Design.FloatingActionButton.Mini"
|
||||
android:visibility="gone"/>
|
||||
|
||||
<com.google.android.material.floatingactionbutton.FloatingActionButton
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
app:srcCompat="@drawable/v_close_dark_x24"
|
||||
app:backgroundTint="?attr/widgetColorThemePrimary"
|
||||
style="@style/Widget.Design.FloatingActionButton"/>
|
||||
|
||||
|
||||
@@ -75,8 +75,7 @@
|
||||
android:layout_width="56dp"
|
||||
android:layout_height="56dp"
|
||||
android:layout_gravity="bottom"
|
||||
android:padding="16dp"
|
||||
app:srcCompat="@drawable/v_send_dark_x24"/>
|
||||
android:padding="16dp"/>
|
||||
|
||||
</LinearLayout>
|
||||
</com.hippo.reveal.RevealLinearLayout>
|
||||
|
||||
@@ -47,7 +47,6 @@
|
||||
android:layout_gravity="center"
|
||||
android:gravity="center_horizontal"
|
||||
android:drawablePadding="8dp"
|
||||
android:text="@string/no_one_comments_gallery"
|
||||
style="@style/TextAppearance.AppCompat.Medium"/>
|
||||
|
||||
</FrameLayout>
|
||||
@@ -73,40 +73,13 @@
|
||||
android:id="@+id/password"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:imeOptions="actionNext"
|
||||
android:imeOptions="actionDone"
|
||||
android:inputType="textPassword"
|
||||
android:maxLines="1"
|
||||
android:singleLine="true"/>
|
||||
|
||||
</com.google.android.material.textfield.TextInputLayout>
|
||||
|
||||
<com.google.android.material.textfield.TextInputLayout
|
||||
android:id="@+id/recaptcha_layout"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:minWidth="@dimen/single_max_width"
|
||||
android:hint="@string/recaptcha">
|
||||
|
||||
<com.hippo.widget.HackyTextInputEditText
|
||||
android:id="@+id/recaptcha"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:imeOptions="actionDone"
|
||||
android:inputType="text"
|
||||
android:maxLines="1"
|
||||
android:singleLine="true"/>
|
||||
|
||||
</com.google.android.material.textfield.TextInputLayout>
|
||||
|
||||
<com.hippo.ehviewer.widget.RecaptchaView
|
||||
android:id="@+id/recaptcha_image"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="48dp"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:minWidth="@dimen/single_max_width"
|
||||
android:scaleType="fitCenter"/>
|
||||
|
||||
<Space
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="0dp"
|
||||
|
||||
@@ -22,6 +22,7 @@
|
||||
<!-- Category -->
|
||||
|
||||
<string name="homepage">Página de inicio</string>
|
||||
<string name="subscription">Suscripción</string>
|
||||
<string name="whats_hot">Destacado</string>
|
||||
<string name="favourite">Favoritos</string>
|
||||
<string name="history">Historial</string>
|
||||
@@ -64,9 +65,9 @@
|
||||
<string name="error_cannot_parse_the_url">No se puede analizar el URL</string>
|
||||
<string name="error_not_folder_path">Sin ruta del directorio</string>
|
||||
<string name="error_no_provider">Sin proveedor</string>
|
||||
<string name="error_decoding_failed">Decodificacion fallida</string>
|
||||
<string name="error_decoding_failed">Decodificación fallida</string>
|
||||
<string name="error_not_found">No encontrado</string>
|
||||
<string name="error_empty">Vacio</string>
|
||||
<string name="error_empty">Vacío</string>
|
||||
<string name="error_reading_failed">Lectura Fallida</string>
|
||||
<string name="error_out_of_range">Fuera de rango</string>
|
||||
<string name="error_write_failed">Falla en la escritura</string>
|
||||
@@ -82,9 +83,9 @@
|
||||
<string name="error_username_cannot_empty">El usuario no puede estar vacío</string>
|
||||
<string name="skip_signing_in">Saltar inicio de sesión</string>
|
||||
<string name="sign_in_failed">Inicio de sesión fallido</string>
|
||||
<string name="sign_in_failed_plain">Tal ves sea debido a un error de actualización de el sitio web o algo mal sucedió. Puedes intentar iniciar sesión vía WebView, ingresar una cookie o saltar el inicio de sesión presionando el boton de abajo.\nEs posible que te salga un \"Panda Triste\" después de saltar el inicio de sesión. Intente \"Ingresar via cookies\" primero si ha iniciado sesión en la versión 0.6.x de HeViewer.</string>
|
||||
<string name="sign_in_failed_plain">Tal ves sea debido a un error de actualización de el sitio web o algo mal sucedió. Puedes intentar iniciar sesión vía WebView, ingresar una cookie o saltar el inicio de sesión presionando el botón de abajo.\nEs posible que te salga un \"Panda Triste\" después de saltar el inicio de sesión. Intente \"Ingresar vía cookies\" primero si ha iniciado sesión en la versión 0.6.x de HeViewer.</string>
|
||||
<string name="press_twice_exit">Presione una vez más para salir</string>
|
||||
<string name="content_layout_restore_tip">Puslar para reintentar</string>
|
||||
<string name="content_layout_restore_tip">Pulsar para reintentar</string>
|
||||
<string name="write_rationale">EhViewer solicitará el permiso WRITE_EXTERNAL_STORAGE para descargar galerías. ¿Desea conceder el permiso?</string>
|
||||
<string name="you_rejected_me">Me has rechazado :(</string>
|
||||
<string name="analytics_explain">Would you mind if the developer collected your device information and your usage? It will help the developer a lot.<br><br>Data analysis service is provided by Google Analytics for Firebase. Its privacy policy can be found at <a href="https://www.google.com/policies/privacy/">https://www.google.com/policies/privacy/</a>.<br><br>If you agree to join data analysis, your device information and your usage will be collected, including but not limited to Android API version, equipment model, language residence, the application version, conversion time, function times. The developer promise that these information will NOT be collected, including phone number, e-mail address, IMEI.<br><br>Your information will not be collected until you agree to join data analysis.<br><br>The collected information will be analyzed by Google Analytics for Firebase. The analysis report can only be viewed by the developer of this application.</string>
|
||||
@@ -119,7 +120,7 @@
|
||||
<string name="search_specify_tag">Etiquetas específicas</string>
|
||||
<string name="search_enable_advance">Habilitar opciones avanzadas</string>
|
||||
|
||||
<string name="search_tip">Búsqueda normal: Solo busca.\n\nUploader especifico: Listar de galerías subidas por el uploader. Otras opciones serán ignoradas.\n\nEtiquetas específicas: Listar las galerías que contienen la etiqueta. Solo se acepta una etiqueta. Otras opciones serán ignoradas.</string>
|
||||
<string name="search_tip">Búsqueda normal: Solo busca.\n\nBúsqueda de suscripción: Buscar etiquetas suscriptas.n\nUploader especifico: Listar de galerías subidas por el uploader. Otras opciones serán ignoradas.\n\nEtiquetas específicas: Listar las galerías que contienen la etiqueta. Solo se acepta una etiqueta. Otras opciones serán ignoradas.</string>
|
||||
|
||||
<string name="search_sname">Buscar galerías</string>
|
||||
<string name="search_stags">Buscar etiquetas de galería</string>
|
||||
@@ -130,12 +131,18 @@
|
||||
<string name="search_sdt2">Buscar etiquetas pobres</string>
|
||||
<string name="search_sh">Mostrar galerías borradas</string>
|
||||
<string name="search_sr">Valoración mínima:</string>
|
||||
|
||||
<string name="search_subscription_search">Búsqueda de etiquetas suscritas</string>
|
||||
<string name="select_image">Seleccionar imagen</string>
|
||||
<string name="search_uss">Usar búsqueda similar</string>
|
||||
<string name="search_osc">Buscar solo portadas</string>
|
||||
<string name="search_se">Mostrar borrados</string>
|
||||
<string name="select_image_first">Seleccione la imagen primero</string>
|
||||
<string name="search_sp">Páginas:</string>
|
||||
<string name="search_sp_to">hasta</string>
|
||||
<string name="search_sf">Deshabilitar filtros para:</string>
|
||||
<string name="search_sfl">Lenguaje</string>
|
||||
<string name="search_sfu">Uploader</string>
|
||||
<string name="search_sft">Etiqueta</string>
|
||||
|
||||
<string name="quick_search">Búsqueda rápida</string>
|
||||
<string name="quick_search_tip">Pulsar \"+\" para añadir a la búsqueda rápida</string>
|
||||
@@ -190,8 +197,8 @@
|
||||
<string name="torrents">Torrents</string>
|
||||
<string name="favorited">Favorito</string>
|
||||
<string name="not_favorited">No en favoritos</string>
|
||||
<string name="add_favorites_dialog_title">Añadir a favoritos</string>
|
||||
<string name="remember_favorite_collection">Recordar favoritos</string>
|
||||
<string name="add_favorites_dialog_title">Añadir a favoritos - Elige categoría</string>
|
||||
<string name="remember_favorite_collection">Recordar categoría</string>
|
||||
<string name="remove_from_favorite_success">Eliminado de favoritos</string>
|
||||
<string name="add_to_favorite_failure">No se ha podido agregar a favoritos</string>
|
||||
<string name="remove_from_favorite_failure">Error al borrar de favoritos</string>
|
||||
@@ -251,7 +258,7 @@
|
||||
<string name="check_vote_status">Verificar estado del voto</string>
|
||||
|
||||
<!-- Gallery Previews -->
|
||||
<string name="gallery_previews">Vista previa de la galeria</string>
|
||||
<string name="gallery_previews">Vista previa de la galería</string>
|
||||
<string name="go_to">Ir a</string>
|
||||
|
||||
<!-- Download -->
|
||||
@@ -274,6 +281,8 @@
|
||||
<string name="download_remove_dialog_message">¿Borrar %s de la lista de descargas?</string>
|
||||
<string name="download_remove_dialog_message_2">¿Borrar %d galerías de la lista de descargas?</string>
|
||||
<string name="download_remove_dialog_check_text">Borrar imágenes</string>
|
||||
<string name="download_reset_reading_progress">Reiniciar progreso de lectura</string>
|
||||
<string name="reset_reading_progress_message">¿Deseas reiniciar el progreso de lectura en todas las galerías?</string>
|
||||
<string name="stat_download_action_stop_all">Detener todo</string>
|
||||
<string name="drawer_download_label_title">Etiquetas</string>
|
||||
<string name="default_download_label_name">Predeterminado</string>
|
||||
@@ -303,14 +312,6 @@
|
||||
<string name="no_history">Las galerías visualizadas se muestran aquí</string>
|
||||
<string name="clear_all_history">¿Limpiar historial?</string>
|
||||
|
||||
<!-- Filter -->
|
||||
<string name="filter_title">Título</string>
|
||||
<string name="filter_uploader">Uploader</string>
|
||||
<string name="filter_tag">Etiqueta</string>
|
||||
<string name="filter_tag_namespace">Etiqueta de espacio de nombres</string>
|
||||
<string name="tip">Sugerencia</string>
|
||||
<string name="show_definition">Mostrar definición</string>
|
||||
|
||||
<!-- Set Security -->
|
||||
<string name="set_pattern_protection">Establecer protección por patrón</string>
|
||||
<string name="set_pattern_protection_tip">Dibuje un patrón para establecer la protección por patrón. \nDéjelo en blanco para quitar la protección por patrón</string>
|
||||
@@ -332,8 +333,11 @@
|
||||
<string name="settings_eh_sign_out_warning">¿Estás seguro de cerrar sesión?</string>
|
||||
<string name="settings_eh_sign_out_yes">@android:string/ok</string>
|
||||
<string name="settings_eh_sign_out_tip">Sesión cerrada. Reinicie la aplicación para volver iniciar sesión</string>
|
||||
<string name="settings_u_config">Configuración de EHentai</string>
|
||||
<string name="settings_u_config">Configuración de EHentai</string>
|
||||
<string name="settings_u_config_summary">Configurar en la página de EHentai</string>
|
||||
<string name="settings_my_tags">Mis etiquetas</string>
|
||||
<string name="settings_my_tags_summary">Ver página de etiquetas en EHentai</string>
|
||||
<string name="settings_eh_launch_page">Página al iniciar aplicación</string>
|
||||
<string name="settings_eh_gallery_site">Seleccionar galería</string>
|
||||
<string name="settings_eh_list_mode">Modo lista</string>
|
||||
<string name="settings_eh_list_mode_detail">Con detalles</string>
|
||||
@@ -356,9 +360,12 @@
|
||||
<string name="settings_eh_excluded_tag_namespaces">Excluir etiquetas espacios de nombres</string>
|
||||
<string name="settings_eh_excluded_tag_namespaces_summary">Excluir ciertos espacios de nombres de una búsqueda de etiquetas por defecto</string>
|
||||
<string name="settings_eh_show_jpn_title">Mostrar títulos en japonés</string>
|
||||
<string name="settings_eh_show_jpn_title_summary">Es necesario habilitar los títulos en japonés en la propia página de EHentai</string>
|
||||
<string name="settings_eh_show_gallery_pages">Mostrar número de páginas de la galería</string>
|
||||
<string name="settings_eh_show_gallery_pages_summary">Se verá cuántas páginas tiene una galería</string>
|
||||
<string name="settings_eh_cellular_network_warning">Advertencia de redes moviles</string>
|
||||
<string name="settings_eh_filter">Filtrado de galerías</string>
|
||||
<string name="settings_eh_filter_summary">Filtrado de galerías por título, uploader y etiquetas. Para más detalles presiona el ícono (i) en la parte superior del menú</string>
|
||||
<string name="settings_eh_cellular_network_warning">Advertencia de redes móviles</string>
|
||||
|
||||
<string name="settings_read">Lectura</string>
|
||||
<string name="settings_read_screen_rotation">Orientación de la pantalla</string>
|
||||
@@ -370,10 +377,10 @@
|
||||
<string name="settings_read_reading_direction_right_to_Left">Derecha a izquierda</string>
|
||||
<string name="settings_read_reading_direction_top_to_bottom">Arriba hacia abajo</string>
|
||||
<string name="settings_read_page_scaling">Escala de página</string>
|
||||
<string name="settings_read_page_scaling_actual_size">Tamaño actual</string>
|
||||
<string name="settings_read_page_scaling_fit_to_width">Ajustar a lo ancho</string>
|
||||
<string name="settings_read_page_scaling_fit_to_height">Ajustar a la altura</string>
|
||||
<string name="settings_read_page_scaling_fit_to_screen">Ajustar a la pantalla</string>
|
||||
<string name="settings_read_page_scaling_actual_size">Tamaño original</string>
|
||||
<string name="settings_read_page_scaling_fit_to_width">Ajustar a anchura</string>
|
||||
<string name="settings_read_page_scaling_fit_to_height">Ajustar a altura</string>
|
||||
<string name="settings_read_page_scaling_fit_to_screen">Ajustar a pantalla</string>
|
||||
<string name="settings_read_page_scaling_fixed_scale">Escala fija</string>
|
||||
<string name="settings_read_start_position">Posición de inicio</string>
|
||||
<string name="settings_read_start_position_top_left">Arriba a la izquierda</string>
|
||||
@@ -382,6 +389,7 @@
|
||||
<string name="settings_read_start_position_bottom_right">Abajo a la derecha</string>
|
||||
<string name="settings_read_start_position_center">Centro</string>
|
||||
<string name="settings_read_keep_screen_on">Pantalla siempre encendida</string>
|
||||
<string name="settings_read_show_page_interval">Mostrar intervalo de página</string>
|
||||
<string name="settings_read_show_clock">Mostrar hora</string>
|
||||
<string name="settings_read_show_progress">Mostrar progreso de lectura</string>
|
||||
<string name="settings_read_show_battery">Mostrar porcentaje de la batería</string>
|
||||
@@ -394,8 +402,8 @@
|
||||
<string name="settings_download_download_location">Ruta de descargas</string>
|
||||
<string name="settings_download_invalid_download_location">Ruta de descarga invalida</string>
|
||||
<string name="settings_download_cant_get_download_location">No se puede obtener ruta de descargas</string>
|
||||
<string name="settings_download_pick_dir_kk">No puedes escribir ningún tipo de datos en tu memoria SD externa en Android 4.4+ a no ser que la hayas hakeado. Pero <SD card>/Android/data/com.hippo.ehviewer es especial, puedes escribir en ello.</string>
|
||||
<string name="settings_download_pick_dir_l">Anroid 5.0+ proporciona una nueva API para escribir en una tarjeta SD externa. Haga click en el boton \"DOCUMENT\" si desea establecer la ruta de descarga en una tarjeta SD.</string>
|
||||
<string name="settings_download_pick_dir_kk">No puedes escribir ningún tipo de datos en tu memoria SD externa en Android 4.4+ a no ser que la hayas hackeado. Pero <SD card>/Android/data/com.hippo.ehviewer es especial, puedes escribir en ello.</string>
|
||||
<string name="settings_download_pick_dir_l">Anroid 5.0+ proporciona una nueva API para escribir en una tarjeta SD externa. Haga clic en el botón \"DOCUMENT\" si desea establecer la ruta de descarga en una tarjeta SD.</string>
|
||||
<string name="settings_download_document">Document</string>
|
||||
<string name="settings_download_continue">Continuar</string>
|
||||
<string name="settings_download_media_scan">Permitir escaneo de medios</string>
|
||||
@@ -412,7 +420,7 @@
|
||||
<string name="settings_download_download_origin_image_summary">¡Cuidado! Podrías recibir error 509</string>
|
||||
<string name="settings_download_restore_download_items">Restaurar los elementos de descarga</string>
|
||||
<string name="settings_download_restore_download_items_summary">Restaurar todos los elementos de descarga en la ruta de descarga</string>
|
||||
<string name="settings_download_restoring">Restaurando...</string>
|
||||
<string name="settings_download_restoring">Restaurando…</string>
|
||||
<string name="settings_download_restore_not_found">No se han encontrado elementos para restaurar</string>
|
||||
<string name="settings_download_restore_failed">Restauración fallida</string>
|
||||
<string name="settings_download_restore_successfully">Restauración de %d elementos completados</string>
|
||||
@@ -434,7 +442,7 @@
|
||||
<string name="settings_advanced_clear_memory_cache">Borrar caché de memoria</string>
|
||||
<string name="settings_advanced_clear_memory_cache_summary">Borrar vistas previas, galerías, información y caché de memoria</string>
|
||||
<string name="settings_advanced_read_cache_size">Tamaño del caché (archivos temporales)</string>
|
||||
<string name="settings_advanced_app_language_title">Idioma de la aplicación</string>
|
||||
<string name="settings_advanced_app_language_title">Idioma de la aplicación</string>
|
||||
<string name="settings_advanced_proxy">Proxy</string>
|
||||
<string name="settings_advanced_proxy_summary_1">%1$s %2$s:%3$d</string>
|
||||
<string name="settings_advanced_proxy_summary_2">%1$s</string>
|
||||
@@ -474,7 +482,7 @@
|
||||
<string name="cant_get_data_dir">No se puede obtener el directorio de datos</string>
|
||||
<string name="cant_find_any_data">No se pueden encuentran datos</string>
|
||||
<string name="cant_read_the_file">No se puede leer el archivo</string>
|
||||
<string name="app_language_system">Lenguaje del sistema (Defecto)</string>
|
||||
<string name="app_language_system">Lenguaje del sistema (Defecto)</string>
|
||||
|
||||
<!-- ExcludedLanguagesScene -->
|
||||
<string name="excluded_languages">Excluir idiomas</string>
|
||||
@@ -498,7 +506,7 @@
|
||||
<string name="language_portuguese">Portugués</string>
|
||||
<string name="language_russian">Ruso</string>
|
||||
<string name="language_spanish">Español</string>
|
||||
<string name="language_thai">Tailandes</string>
|
||||
<string name="language_thai">Tailandés</string>
|
||||
<string name="language_vietnamese">Vietnamita</string>
|
||||
<string name="language_na">N/A</string>
|
||||
<string name="language_other">Otros</string>
|
||||
@@ -595,9 +603,24 @@
|
||||
<string name="error_something_wrong_happened">Ocurrió algo malo</string>
|
||||
<string name="dialog_archive_title">H@H Downloader</string>
|
||||
<string name="settings_privacy">Privacidad</string>
|
||||
<string name="filter">Bloqueo de galerías</string>
|
||||
<string name="no_filter">Las etiquetas bloqueadas se mostrarán acá</string>
|
||||
<string name="filter_title">Título</string>
|
||||
<string name="filter_uploader">Uploader</string>
|
||||
<string name="filter_tag">Etiqueta</string>
|
||||
<string name="filter_tag_namespace">Etiqueta namespace</string>
|
||||
<string name="delete_filter">¿Borrar \"%s\"?</string>
|
||||
<string name="tip">Tip</string>
|
||||
<string name="add_filter">Bloquear etiqueta</string>
|
||||
<string name="filter_the_tag">¿Deseas bloquear la etiqueta \"%s\"?</string>
|
||||
<string name="show_definition">Ver definición de la etiqueta</string>
|
||||
<string name="filter_added">Etiqueta bloqueada</string>
|
||||
<string name="filter_text">Escribe la etiqueta</string>
|
||||
<string name="filter_tip">Este sistema de bloqueo filtrará las galerías de EHentai que contengan la etiqueta especificada acá.\n\nBloqueo de título: excluye las galerías cuyo título contenga la palabra.\n\nBloqueo de uploader: Excluye las galerías que publicadas por el uploader.\n\nBloqueo de etiqueta: excluye galerías que contengan la etiqueta, tomará más tiempo en obtener la lista de galerías.\n\nBloqueo de etiqueta namespace: excluye galerías que contengan la etiqueta namespace, tomará más tiempo en obtener la lista de galerías. Nota: Con namespace quiere decir etiquetas como "male", "female", "misc", entre otros.</string>
|
||||
|
||||
<string name="settings_privacy_secure">Impedir capturas de pantalla</string>
|
||||
<string name="settings_privacy_secure_summary">Si habilitas esta opción no podrás hacer captura de pantalla y el sistema no mostrará una previsualización en el multitareas.\n\nDeberás reiniciar la aplicación para activar esta función.</string>
|
||||
<string name="page_menu_save_to">Guardar a...</string>
|
||||
<string name="page_menu_save_to">Guardar en…</string>
|
||||
<string name="enable_fingerprint">Usar huellas digitales para desbloquear</string>
|
||||
<string name="u_config">Ajustes EHentai</string>
|
||||
<string name="apply">Aplicar</string>
|
||||
@@ -614,7 +637,7 @@
|
||||
<string name="invalid_host">Anfitrión inválida</string>
|
||||
<string name="invalid_ip">IP inválida</string>
|
||||
<string name="recaptcha_none">Toca acá</string>
|
||||
<string name="recaptcha_loading">Cargando...</string>
|
||||
<string name="recaptcha_loading">Cargando…</string>
|
||||
<string name="recaptcha_failure">Fallado</string>
|
||||
<string name="theme_light">Tema claro</string>
|
||||
<string name="theme_dark">Tema oscuro</string>
|
||||
@@ -623,5 +646,5 @@
|
||||
<string name="settings_eh_theme_light">Claro</string>
|
||||
<string name="settings_eh_theme_dark">Oscuro</string>
|
||||
<string name="settings_eh_theme_black">Negro</string>
|
||||
|
||||
|
||||
</resources>
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
~ Copyright 2016 Hippo Seven
|
||||
~ Copyright 2016 Hippo Sevenerror_please_login_first
|
||||
~
|
||||
~ Licensed under the Apache License, Version 2.0 (the "License");
|
||||
~ you may not use this file except in compliance with the License.
|
||||
@@ -91,12 +91,17 @@
|
||||
<string name="error_cant_save_image">无法保存图片</string>
|
||||
<string name="error_invalid_number">非法数字</string>
|
||||
<string name="error_please_login_first">请先登陆</string>
|
||||
<string name="error_empty_html">页面内容为空</string>
|
||||
<string name="error_cant_get_image">无法获取图片</string>
|
||||
|
||||
<string name="kokomade_tip">设置->Eh->画廊站点->e-hentai</string>
|
||||
|
||||
<string name="app_waring">本应用中内容来自互联网,部分内容可能对您的生理及心理造成难以恢复的伤害。本应用作者不会对由本应用造成的任何后果负责。\n\n未成年人应在监护人指导下使用本应用。</string>
|
||||
<string name="error_username_cannot_empty">用户名不可为空</string>
|
||||
<string name="error_password_cannot_empty">密码不可为空</string>
|
||||
<string name="skip_signing_in">跳过登录</string>
|
||||
<string name="sign_in_failed">登录失败</string>
|
||||
<string name="sign_in_failed_tip">若持续出错,请尝试“通过网页登录”或“通过 Cookie 登录”。</string>
|
||||
<string name="sign_in_failed_plain">这可能是网站更新导致的,也有可能是发生了奇怪的事情。您可以选择在登录按钮下方通过网页登录或者输入 cookie,或者跳过登录。跳过登录可能导致无法正常使用应用。如果你已经在 0.6.x 版登录过了,请优先尝试选择“通过 Cookie 登录”。</string>
|
||||
<string name="press_twice_exit">再按一次退出</string>
|
||||
<string name="content_layout_restore_tip">点击重试</string>
|
||||
@@ -169,6 +174,7 @@
|
||||
<string name="remove_from_favourites">移除收藏</string>
|
||||
|
||||
<string name="stop_downloading">停止下载</string>
|
||||
<string name="delete_downloads">删除下载</string>
|
||||
|
||||
<string name="quick_search">快速搜索</string>
|
||||
<string name="quick_search_tip">点击“+”来添加快速搜索</string>
|
||||
@@ -278,6 +284,9 @@
|
||||
<string name="comment_successfully">评论成功</string>
|
||||
<string name="comment_failed">评论失败</string>
|
||||
<string name="copy_comment_text">复制评论文字</string>
|
||||
<string name="edit_comment">修改评论</string>
|
||||
<string name="edit_comment_successfully">评论已被修改</string>
|
||||
<string name="edit_comment_failed">修改评论失败</string>
|
||||
<string name="vote_up">深表赞同</string>
|
||||
<string name="cancel_vote_up">不再深表赞同</string>
|
||||
<string name="vote_down">垃圾评论</string>
|
||||
@@ -288,6 +297,8 @@
|
||||
<string name="cancel_vote_down_successfully">已不再钦定为垃圾评论</string>
|
||||
<string name="vote_failed">投票失败</string>
|
||||
<string name="check_vote_status">查看投票情况</string>
|
||||
<string name="click_more_comments">点击加载更多评论</string>
|
||||
<string name="last_edited">上次修改时间:%s</string>
|
||||
|
||||
<!-- Gallery Previews -->
|
||||
<string name="gallery_previews">画廊预览</string>
|
||||
@@ -388,6 +399,11 @@
|
||||
<string name="invalid_host">无效的 host</string>
|
||||
<string name="invalid_ip">无效的 IP</string>
|
||||
|
||||
<!-- DirPickerActivity -->
|
||||
<string name="preset">预设</string>
|
||||
<string name="default_directory">默认目录</string>
|
||||
<string name="application_file_directory">应用文件目录 %d (应用卸载后会被删除)</string>
|
||||
|
||||
<!-- Gallery Activity -->
|
||||
<string name="page_menu_title">第 %d 页</string>
|
||||
<string name="page_menu_refresh">@string/refresh</string>
|
||||
@@ -459,6 +475,7 @@
|
||||
<string name="settings_read_screen_rotation_default">系统默认</string>
|
||||
<string name="settings_read_screen_rotation_portrait">竖屏</string>
|
||||
<string name="settings_read_screen_rotation_landscape">横屏</string>
|
||||
<string name="settings_read_screen_rotation_sensor">自动旋转</string>
|
||||
<string name="settings_read_reading_direction">阅读方向</string>
|
||||
<string name="settings_read_reading_direction_left_to_right">从左至右</string>
|
||||
<string name="settings_read_reading_direction_right_to_Left">从右至左</string>
|
||||
|
||||
@@ -91,12 +91,17 @@
|
||||
<string name="error_cant_save_image">無法保存圖片</string>
|
||||
<string name="error_invalid_number">非法數字</string>
|
||||
<string name="error_please_login_first">請先登陸</string>
|
||||
<string name="error_empty_html">頁面內容為空</string>
|
||||
<string name="error_cant_get_image">無法獲取圖片</string>
|
||||
|
||||
<string name="kokomade_tip">設置->Eh->畫廊站點->e-hentai</string>
|
||||
|
||||
<string name="app_waring">本應用中內容來自互聯網,部分內容可能對您的生理及心理造成難以恢復的傷害。本應用作者不會對由本應用造成的任何後果負責。\n\n未成年人應在監護人指導下使用本應用。</string>
|
||||
<string name="error_username_cannot_empty">用户名不可為空</string>
|
||||
<string name="error_password_cannot_empty">密碼不可為空</string>
|
||||
<string name="skip_signing_in">跳過登錄</string>
|
||||
<string name="sign_in_failed">登錄失敗</string>
|
||||
<string name="sign_in_failed_tip">若持續出錯,請嘗試“通過網頁登錄”或“通過 Cookie 登錄”。</string>
|
||||
<string name="sign_in_failed_plain">這可能是網站更新導致的,也有可能是發生了奇怪的事情。您可以選擇在登錄按鈕下方通過網頁登錄或者輸入 cookie,或者跳過登錄。跳過登錄可能導致無法正常使用應用。如果你已經在 0.6.x 版登錄過了,請優先嚐試選擇“通過 Cookie 登錄”。</string>
|
||||
<string name="press_twice_exit">再按一次退出</string>
|
||||
<string name="content_layout_restore_tip">點擊重試</string>
|
||||
@@ -169,6 +174,7 @@
|
||||
<string name="remove_from_favourites">移除收藏</string>
|
||||
|
||||
<string name="stop_downloading">停止下載</string>
|
||||
<string name="delete_downloads">刪除下載</string>
|
||||
|
||||
<string name="quick_search">快速搜索</string>
|
||||
<string name="quick_search_tip">點擊“+”來添加快速搜索</string>
|
||||
@@ -278,6 +284,9 @@
|
||||
<string name="comment_successfully">評論成功</string>
|
||||
<string name="comment_failed">評論失敗</string>
|
||||
<string name="copy_comment_text">複製評論文字</string>
|
||||
<string name="edit_comment">修改評論</string>
|
||||
<string name="edit_comment_successfully">評論已被修改</string>
|
||||
<string name="edit_comment_failed">修改評論失敗</string>
|
||||
<string name="vote_up">深表贊同</string>
|
||||
<string name="cancel_vote_up">不再深表贊同</string>
|
||||
<string name="vote_down">垃圾評論</string>
|
||||
@@ -288,6 +297,8 @@
|
||||
<string name="cancel_vote_down_successfully">已不再欽定為垃圾評論</string>
|
||||
<string name="vote_failed">投票失敗</string>
|
||||
<string name="check_vote_status">查看投票情況</string>
|
||||
<string name="click_more_comments">點擊加載更多評論</string>
|
||||
<string name="last_edited">上次修改時間:%s</string>
|
||||
|
||||
<!-- Gallery Previews -->
|
||||
<string name="gallery_previews">畫廊預覽</string>
|
||||
@@ -388,6 +399,11 @@
|
||||
<string name="invalid_host">無效的 host</string>
|
||||
<string name="invalid_ip">無效的 IP</string>
|
||||
|
||||
<!-- DirPickerActivity -->
|
||||
<string name="preset">預設</string>
|
||||
<string name="default_directory">默認目錄</string>
|
||||
<string name="application_file_directory">應用文件目錄 %d (應用卸載後會被刪除)</string>
|
||||
|
||||
<!-- Gallery Activity -->
|
||||
<string name="page_menu_title">第 %d 頁</string>
|
||||
<string name="page_menu_refresh">@string/refresh</string>
|
||||
|
||||
@@ -91,12 +91,17 @@
|
||||
<string name="error_cant_save_image">無法儲存圖片</string>
|
||||
<string name="error_invalid_number">無效的數字</string>
|
||||
<string name="error_please_login_first">請先登陸</string>
|
||||
<string name="error_empty_html">頁面內容為空</string>
|
||||
<string name="error_cant_get_image">無法獲取圖片</string>
|
||||
|
||||
<string name="kokomade_tip">設定->Eh->圖庫站台->e-hentai</string>
|
||||
|
||||
<string name="app_waring">本應用程式中內容來自網際網路,部分內容可能對您的生理及心理造成難以恢復的傷害。本應用程式的作者不會對由其所造成的任何影響負責。\n\n未成年人應在監護人指導下使用本應用程式。</string>
|
||||
<string name="error_username_cannot_empty">使用者名稱欄位不能為空</string>
|
||||
<string name="error_password_cannot_empty">密碼欄位不能為空</string>
|
||||
<string name="skip_signing_in">略過登入</string>
|
||||
<string name="sign_in_failed">登入失敗</string>
|
||||
<string name="sign_in_failed_tip">若持續出錯,請嘗試“通過網頁登入”或“通過 Cookie 登入”。</string>
|
||||
<string name="sign_in_failed_plain">這可能是網站更新造成的,也有可能是哪裡出錯了。您可以選擇在登入按鈕下方透過網頁登入或者輸入 cookie,也可以略過登入。略過登入可能導致無法正常使用應用程式。如果你已經在 0.6.x 版登入過了,請先試試“透過 Cookie 登入”。</string>
|
||||
<string name="press_twice_exit">再按一次離開</string>
|
||||
<string name="content_layout_restore_tip">點擊重試</string>
|
||||
@@ -169,6 +174,7 @@
|
||||
<string name="remove_from_favourites">移除收藏</string>
|
||||
|
||||
<string name="stop_downloading">停止下載</string>
|
||||
<string name="delete_downloads">刪除下載</string>
|
||||
|
||||
<string name="quick_search">快速搜尋</string>
|
||||
<string name="quick_search_tip">點擊“+”以新增快速搜尋</string>
|
||||
@@ -277,6 +283,9 @@
|
||||
<string name="comment_successfully">留言成功</string>
|
||||
<string name="comment_failed">留言失敗</string>
|
||||
<string name="copy_comment_text">複製留言文字</string>
|
||||
<string name="edit_comment">修改留言</string>
|
||||
<string name="edit_comment_successfully">留言已被修改</string>
|
||||
<string name="edit_comment_failed">修改留言失敗</string>
|
||||
<string name="vote_up">推</string>
|
||||
<string name="cancel_vote_up">收回推</string>
|
||||
<string name="vote_down">噓</string>
|
||||
@@ -287,6 +296,8 @@
|
||||
<string name="cancel_vote_down_successfully">已經收回噓了</string>
|
||||
<string name="vote_failed">推噓失敗</string>
|
||||
<string name="check_vote_status">檢視推噓狀態</string>
|
||||
<string name="click_more_comments">點選載入更多留言</string>
|
||||
<string name="last_edited">上次修改時間:%s</string>
|
||||
|
||||
<!-- Gallery Previews -->
|
||||
<string name="gallery_previews">圖庫預覽</string>
|
||||
@@ -387,6 +398,11 @@
|
||||
<string name="invalid_host">無效的 host</string>
|
||||
<string name="invalid_ip">無效的 IP</string>
|
||||
|
||||
<!-- DirPickerActivity -->
|
||||
<string name="preset">預設</string>
|
||||
<string name="default_directory">預設目錄</string>
|
||||
<string name="application_file_directory">應用檔案目錄 %d (應用解除安裝後會被刪除)</string>
|
||||
|
||||
<!-- Gallery Activity -->
|
||||
<string name="page_menu_title">第 %d 頁</string>
|
||||
<string name="page_menu_refresh">@string/refresh</string>
|
||||
|
||||
@@ -156,12 +156,14 @@
|
||||
<item>@string/settings_read_screen_rotation_default</item>
|
||||
<item>@string/settings_read_screen_rotation_portrait</item>
|
||||
<item>@string/settings_read_screen_rotation_landscape</item>
|
||||
<item>@string/settings_read_screen_rotation_sensor</item>
|
||||
</string-array>
|
||||
|
||||
<string-array name="screen_rotation_entry_values" translatable="false">
|
||||
<item>0</item>
|
||||
<item>1</item>
|
||||
<item>2</item>
|
||||
<item>3</item>
|
||||
</string-array>
|
||||
|
||||
<string-array name="reading_direction_entries">
|
||||
|
||||
@@ -26,6 +26,7 @@
|
||||
<item name="vote_up" type="id"/>
|
||||
<item name="vote_down" type="id"/>
|
||||
<item name="check_vote_status" type="id"/>
|
||||
<item name="edit_comment" type="id"/>
|
||||
|
||||
<item name="fab_translation_y" type="id"/>
|
||||
<item name="fab_translation_y_animator" type="id"/>
|
||||
|
||||
@@ -29,6 +29,7 @@
|
||||
<string name="pd_homepage" translatable="false">M10,20V14H14V20H19V12H22L12,3L2,12H5V20H10Z</string>
|
||||
<string name="pd_fire" translatable="false">M11.71,19C9.93,19 8.5,17.59 8.5,15.86C8.5,14.24 9.53,13.1 11.3,12.74C13.07,12.38 14.9,11.53 15.92,10.16C16.31,11.45 16.5,12.81 16.5,14.2C16.5,16.84 14.36,19 11.71,19M13.5,0.67C13.5,0.67 14.24,3.32 14.24,5.47C14.24,7.53 12.89,9.2 10.83,9.2C8.76,9.2 7.2,7.53 7.2,5.47L7.23,5.1C5.21,7.5 4,10.61 4,14A8,8 0 0,0 12,22A8,8 0 0,0 20,14C20,8.6 17.41,3.8 13.5,0.67Z</string>
|
||||
<string name="pd_heart" translatable="false">M12,21.35L10.55,20.03C5.4,15.36 2,12.27 2,8.5C2,5.41 4.42,3 7.5,3C9.24,3 10.91,3.81 12,5.08C13.09,3.81 14.76,3 16.5,3C19.58,3 22,5.41 22,8.5C22,12.27 18.6,15.36 13.45,20.03L12,21.35Z</string>
|
||||
<string name="pd_heart_broken" translatable="false">M12,21.35L10.55,20.03C5.4,15.36 2,12.27 2,8.5C2,5.41 4.42,3 7.5,3C8.17,3 8.82,3.12 9.44,3.33L13,9.35L9,14.35L12,21.35V21.35M16.5,3C19.58,3 22,5.41 22,8.5C22,12.27 18.6,15.36 13.45,20.03L12,21.35L11,14.35L15.5,9.35L12.85,4.27C13.87,3.47 15.17,3 16.5,3Z</string>
|
||||
<string name="pd_history" translatable="false">M11,7V12.11L15.71,14.9L16.5,13.62L12.5,11.25V7M12.5,2C8.97,2 5.91,3.92 4.27,6.77L2,4.5V11H8.5L5.75,8.25C6.96,5.73 9.5,4 12.5,4A7.5,7.5 0 0,1 20,11.5A7.5,7.5 0 0,1 12.5,19C9.23,19 6.47,16.91 5.44,14H3.34C4.44,18.03 8.11,21 12.5,21C17.74,21 22,16.75 22,11.5A9.5,9.5 0 0,0 12.5,2Z</string>
|
||||
<string name="pd_book_open" translatable="false">M21,4C19.9,3.7,18.7,3.5,17.5,3.5C15.6,3.5,13.4,3.9,12,5C10.6,3.9,8.4,3.5,6.5,3.5S2.5,3.9,1,5V19.6C1,19.9,1.3,20.1,1.5,20.1C1.6,20.1,1.6,20.1,1.8,20.1C3.1,19.5,5.1,19,6.5,19C8.4,19,10.6,19.4,12,20.5C13.4,19.6,15.8,19,17.5,19C19.1,19,20.9,19.3,22.3,20C22.4,20.1,22.4,20.1,22.6,20.1C22.9,20.1,23.1,19.8,23.1,19.6V5C22.4,4.6,21.8,4.3,21,4M21,17.5C19.9,17.1,18.7,17,17.5,17C15.8,17,13.4,17.6,12,18.5V7C13.4,6.2,15.8,5.5,17.5,5.5C18.7,5.5,19.9,5.7,21,6V17.5Z</string>
|
||||
<string name="pd_delete" translatable="false">M19,4H15.5L14.5,3H9.5L8.5,4H5V6H19M6,19A2,2 0 0,0 8,21H16A2,2 0 0,0 18,19V7H6V19Z</string>
|
||||
@@ -65,6 +66,7 @@
|
||||
<string name="pd_file_image" translatable="false">M13,9H18.5L13,3.5V9M6,2H14L20,8V20A2,2 0 0,1 18,22H6C4.89,22 4,21.1 4,20V4C4,2.89 4.89,2 6,2M6,20H15L18,20V12L14,16L12,14L6,20M8,9A2,2 0 0,0 6,11A2,2 0 0,0 8,13A2,2 0 0,0 10,11A2,2 0 0,0 8,9Z</string>
|
||||
<string name="pd_eh_subscription" translatable="false">M20,8H4V6h16V8 M18,2H6v2h12V2 M20,10H4c-1.1,0-2,0.9-2,2v8c0,1.1,0.9,2,2,2h16c1.1,0,2-0.9,2-2v-8C22,10.9,21.1,10,20,10zM11,14H7v1h4v2H7v1h4v2H5v-8h6V14z M19,20h-2v-3h-2v3h-2v-8h2v3h2v-3h2V20z</string>
|
||||
<string name="pd_copy" translatable="false">M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z</string>
|
||||
<string name="pd_pencil" translatable="false">M20.71,7.04C21.1,6.65 21.1,6 20.71,5.63L18.37,3.29C18,2.9 17.35,2.9 16.96,3.29L15.12,5.12L18.87,8.87M3,17.25V21H6.75L17.81,9.93L14.06,6.18L3,17.25Z</string>
|
||||
|
||||
<string name="pd_big_label" translatable="false">M12.88,2H4V11L14.97,22.14L24,13.1L12.88,2ZM7.26,5.26C7.96,4.58,9.06,4.58,9.74,5.26C10.42,5.96,10.42,7.06,9.74,7.74S7.94,8.42,7.26,7.74S6.58,5.94,7.26,5.26ZM14.98,19.3L8.76,12.95L14.88,6.83L21.18,13.11L14.98,19.31ZM11.6,21.56L10.23,23L0,12.74V5H2V11.9L11.6,21.56Z</string>
|
||||
<string name="pd_big_search" translatable="false">M20.46,14.65C21.86,16.15,20.31,18.6,18.32,17.87C19.78,17.57,20.79,16.37,20.46,14.65ZM4.32,17.87C6.32,18.6,7.86,16.17,6.46,14.65C6.79,16.38,5.78,17.55,4.32,17.87ZM16.87,4.3C16.6,3.56,15.87,3,15,3C13.7,3,12.7,4.24,13.1,5.58C14.2,5.18,15.44,4.48,16.87,4.31ZM24,16C24,18.76,21.76,21,19,21C14.96,21,14.84,16.88,12,16.88S9.04,21,5,21C2.24,21,0,18.76,0,16C0,13.87,1.53,11.43,3.94,7.18C5.84,3.81,8.69,5.92,10.76,6.58C11.54,6.85,12.41,6.88,13.24,6.58C15.3,5.92,18.14,3.81,20.06,7.18C22.46,11.43,24,13.88,24,16ZM8,16C8,14.35,6.65,13,5,13S2,14.35,2,16S3.35,19,5,19S8,17.65,8,16ZM13,14C13,13.45,12.55,13,12,13S11,13.45,11,14S11.45,15,12,15S13,14.55,13,14ZM22,16C22,14.35,20.65,13,19,13S16,14.35,16,16S17.35,19,19,19S22,17.65,22,16ZM9,3C8.14,3,7.4,3.55,7.13,4.3C8.56,4.48,9.79,5.2,10.9,5.58C11.3,4.24,10.3,3,9,3Z</string>
|
||||
|
||||
@@ -133,12 +133,17 @@
|
||||
<string name="error_cant_save_image">Can\'t save image</string>
|
||||
<string name="error_invalid_number">Invalid number</string>
|
||||
<string name="error_please_login_first">Please login first</string>
|
||||
<string name="error_empty_html">Empty page</string>
|
||||
<string name="error_cant_get_image">Can\'t get image</string>
|
||||
|
||||
<string name="kokomade_tip">Settings->Eh->Gallery Site->e-hentai</string>
|
||||
|
||||
<string name="app_waring">The content of this application is from the Internet. Some of it may do physical or mental harm to you. You have learnt the risks above and would like to undertake them.</string>
|
||||
<string name="error_username_cannot_empty">Username cannot be an empty string</string>
|
||||
<string name="error_password_cannot_empty">Password cannot be an empty string</string>
|
||||
<string name="skip_signing_in">Continue without signing in</string>
|
||||
<string name="sign_in_failed">Sign in failed</string>
|
||||
<string name="sign_in_failed_tip">If this issue continues, try \"Sign in via WebView\" or \"Sign in via cookies\"</string>
|
||||
<string name="sign_in_failed_plain">Perhaps it is a mistake due to website update or something wrong happened. You may try sign in via WebView or enter cookie or skip signing in under sign in button. But you may be a "Sad Panda" after skipping signing in. Try "Sign in via cookies" first if you had signed in on 0.6.x version.</string>
|
||||
<string name="press_twice_exit">Press twice to exit</string>
|
||||
<string name="content_layout_restore_tip">Tap to retry</string>
|
||||
@@ -213,6 +218,7 @@
|
||||
<string name="remove_from_favourites">Remove from favourites</string>
|
||||
|
||||
<string name="stop_downloading">Stop downloading</string>
|
||||
<string name="delete_downloads">Delete downloads</string>
|
||||
|
||||
<string name="quick_search">Quick search</string>
|
||||
<string name="quick_search_tip">Tap \"+\" to add Quick Search</string>
|
||||
@@ -324,6 +330,9 @@
|
||||
<string name="comment_successfully">Comment post successfully</string>
|
||||
<string name="comment_failed">Failed to post the comment</string>
|
||||
<string name="copy_comment_text">Copy comment text</string>
|
||||
<string name="edit_comment">Edit comment</string>
|
||||
<string name="edit_comment_successfully">The comment has been edited</string>
|
||||
<string name="edit_comment_failed">Failed to edit the comment</string>
|
||||
<string name="vote_up">Vote up</string>
|
||||
<string name="cancel_vote_up">Cancel up-vote</string>
|
||||
<string name="vote_down">Vote down</string>
|
||||
@@ -334,6 +343,8 @@
|
||||
<string name="cancel_vote_down_successfully">Down-vote cancelled successfully</string>
|
||||
<string name="vote_failed">Vote failed</string>
|
||||
<string name="check_vote_status">View vote details</string>
|
||||
<string name="click_more_comments">Click to load more comments</string>
|
||||
<string name="last_edited">Last edited: %s</string>
|
||||
|
||||
<!-- Gallery Previews -->
|
||||
<string name="gallery_previews">Gallery Previews</string>
|
||||
@@ -434,6 +445,11 @@
|
||||
<string name="invalid_host">Invalid host</string>
|
||||
<string name="invalid_ip">Invalid IP</string>
|
||||
|
||||
<!-- DirPickerActivity -->
|
||||
<string name="preset">Preset</string>
|
||||
<string name="default_directory">Default directory</string>
|
||||
<string name="application_file_directory">App file directory %d (it will be remove after uninstalling the app)</string>
|
||||
|
||||
<!-- Gallery Activity -->
|
||||
<string name="page_menu_title">Page %d</string>
|
||||
<string name="page_menu_refresh">@string/refresh</string>
|
||||
@@ -504,6 +520,7 @@
|
||||
<string name="settings_read_screen_rotation_default">Default</string>
|
||||
<string name="settings_read_screen_rotation_portrait">Portrait</string>
|
||||
<string name="settings_read_screen_rotation_landscape">Landscape</string>
|
||||
<string name="settings_read_screen_rotation_sensor">Auto rotate</string>
|
||||
<string name="settings_read_reading_direction">Reading direction</string>
|
||||
<string name="settings_read_reading_direction_left_to_right">Left to right</string>
|
||||
<string name="settings_read_reading_direction_right_to_Left">Right to left</string>
|
||||
|
||||
@@ -207,13 +207,13 @@
|
||||
<!-- ============ -->
|
||||
<!-- Widget Theme -->
|
||||
<!-- ============ -->
|
||||
<style name="CommentEditText" parent="Theme.AppCompat">
|
||||
<style name="CommentEditText" parent="ThemeOverlay.AppCompat">
|
||||
<item name="colorPrimary">@color/colorPrimary</item>
|
||||
<item name="colorPrimaryDark">@color/colorPrimaryDark</item>
|
||||
<item name="colorAccent">@android:color/white</item>
|
||||
</style>
|
||||
|
||||
<style name="RatingBarTheme" parent="Theme.AppCompat">
|
||||
<style name="RatingBarTheme" parent="ThemeOverlay.AppCompat">
|
||||
<item name="colorControlNormal">@color/yellow_800</item>
|
||||
<item name="colorControlActivated">@color/yellow_800</item>
|
||||
</style>
|
||||
|
||||
@@ -80,7 +80,7 @@
|
||||
android:summary="@string/settings_advanced_custom_hosts_summary"
|
||||
app:activity="com.hippo.ehviewer.ui.HostsActivity"/>
|
||||
|
||||
<Preference
|
||||
<com.hippo.ehviewer.preference.ExportDataPreference
|
||||
android:key="export_data"
|
||||
android:title="@string/settings_advanced_export_data"
|
||||
android:summary="@string/settings_advanced_export_data_summary"/>
|
||||
|
||||
@@ -19,6 +19,7 @@ package com.hippo.ehviewer.client.parser;
|
||||
import static org.junit.Assert.assertEquals;
|
||||
import static org.junit.Assert.assertNotEquals;
|
||||
import static org.junit.Assert.assertNotNull;
|
||||
import static org.junit.Assert.assertNull;
|
||||
|
||||
import com.hippo.ehviewer.client.EhUtils;
|
||||
import edu.emory.mathcs.backport.java.util.Arrays;
|
||||
@@ -33,18 +34,31 @@ import org.robolectric.ParameterizedRobolectricTestRunner;
|
||||
@RunWith(ParameterizedRobolectricTestRunner.class)
|
||||
public class GalleryListParserTest {
|
||||
|
||||
private static final String MINIMAL = "GalleryListParserTestMinimal.html";
|
||||
private static final String COMPAT = "GalleryListParserTestCompat.html";
|
||||
private static final String EXTENDED = "GalleryListParserTestExtended.html";
|
||||
private static final String THUMBNAIL = "GalleryListParserTestThumbnail.html";
|
||||
private static final String E_MINIMAL = "GalleryListParserTestEMinimal.html";
|
||||
private static final String E_MINIMAL_PLUS = "GalleryListParserTestEMinimalPlus.html";
|
||||
private static final String E_COMPAT = "GalleryListParserTestECompat.html";
|
||||
private static final String E_EXTENDED = "GalleryListParserTestEExtended.html";
|
||||
private static final String E_THUMBNAIL = "GalleryListParserTestEThumbnail.html";
|
||||
|
||||
private static final String EX_MINIMAL = "GalleryListParserTestExMinimal.html";
|
||||
private static final String EX_MINIMAL_PLUS = "GalleryListParserTestExMinimalPlus.html";
|
||||
private static final String EX_COMPAT = "GalleryListParserTestExCompat.html";
|
||||
private static final String EX_EXTENDED = "GalleryListParserTestExExtended.html";
|
||||
private static final String EX_THUMBNAIL = "GalleryListParserTestExThumbnail.html";
|
||||
|
||||
@ParameterizedRobolectricTestRunner.Parameters(name = "{index}-{0}")
|
||||
public static List data() {
|
||||
return Arrays.asList(new Object[][] {
|
||||
{ MINIMAL },
|
||||
{ COMPAT },
|
||||
{ EXTENDED },
|
||||
{ THUMBNAIL },
|
||||
{ E_MINIMAL },
|
||||
{ E_MINIMAL_PLUS },
|
||||
{ E_COMPAT },
|
||||
{ E_EXTENDED },
|
||||
{ E_THUMBNAIL },
|
||||
{ EX_MINIMAL },
|
||||
{ EX_MINIMAL_PLUS },
|
||||
{ EX_COMPAT },
|
||||
{ EX_EXTENDED },
|
||||
{ EX_THUMBNAIL },
|
||||
});
|
||||
}
|
||||
|
||||
@@ -62,7 +76,7 @@ public class GalleryListParserTest {
|
||||
|
||||
GalleryListParser.Result result = GalleryListParser.parse(body);
|
||||
|
||||
assertEquals(50, result.galleryInfoList.size());
|
||||
assertEquals(25, result.galleryInfoList.size());
|
||||
|
||||
result.galleryInfoList.forEach(gi -> {
|
||||
assertNotEquals(0, gi.gid);
|
||||
@@ -78,12 +92,19 @@ public class GalleryListParserTest {
|
||||
assertNotNull(gi.thumb);
|
||||
assertNotNull(gi.posted);
|
||||
assertNotEquals(0.0, gi.rating);
|
||||
if (MINIMAL.equals(file) || COMPAT.equals(file) || EXTENDED.equals(file)) {
|
||||
if (E_MINIMAL.equals(file) ||
|
||||
E_MINIMAL_PLUS.equals(file) ||
|
||||
E_COMPAT.equals(file) ||
|
||||
E_EXTENDED.equals(file) ||
|
||||
EX_MINIMAL.equals(file) ||
|
||||
EX_MINIMAL_PLUS.equals(file) ||
|
||||
EX_COMPAT.equals(file) ||
|
||||
EX_EXTENDED.equals(file)) {
|
||||
assertNotNull(gi.uploader);
|
||||
} else {
|
||||
assertNull(gi.uploader);
|
||||
}
|
||||
if (COMPAT.equals(file) || EXTENDED.equals(file)) {
|
||||
assertNotEquals(0, gi.pages);
|
||||
}
|
||||
assertNotEquals(0, gi.pages);
|
||||
});
|
||||
}
|
||||
}
|
||||
-27
@@ -1,27 +0,0 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||||
<head>
|
||||
<title>ExHentai.org</title>
|
||||
<link rel="stylesheet" type="text/css" href="https://exhentai.org/z/0340/x.css" />
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript">
|
||||
function popUp(URL,w,h) {
|
||||
window.open(URL,"_pu"+(Math.random()+"").replace(/0\./,""),"toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width="+w+",height="+h+",left="+((screen.width-w)/2)+",top="+((screen.height-h)/2));
|
||||
return false;
|
||||
}
|
||||
</script>
|
||||
<div id="nb" class="nosel"><div><a class="nbw" href="https://exhentai.org/">Front<span class="nbw1"> Page</span></a></div><div><a href="https://exhentai.org/watched">Watched</a></div><div><a href="https://exhentai.org/popular">Popular</a></div><div><a href="https://exhentai.org/torrents.php">Torrents</a></div><div><a href="https://exhentai.org/favorites.php">Fav<span class="nbw1">orite</span>s</a></div><div><a href="https://exhentai.org/uconfig.php">Settings</a></div><div><a href="https://exhentai.org/upload/manage.php"><span class="nbw2">My </span>Uploads</a></div><div><a href="https://exhentai.org/mytags">My Tags</a></div></div>
|
||||
<div class="ido">
|
||||
<div id="toppane">
|
||||
<h1 class="ih">ExHentai.org - The X Makes It Sound Cool</h1><div id="searchbox" class="idi"><form action="https://exhentai.org/" method="get" style="margin:0px; padding:0px"><input type="hidden" id="f_cats" name="f_cats" value="512" disabled="disabled" /><table class="itc"><tr><td><div id="cat_2" class="cs ct2" onclick="toggle_category(2)">Doujinshi</div></td><td><div id="cat_4" class="cs ct3" onclick="toggle_category(4)">Manga</div></td><td><div id="cat_8" class="cs ct4" onclick="toggle_category(8)">Artist CG</div></td><td><div id="cat_16" class="cs ct5" onclick="toggle_category(16)">Game CG</div></td><td><div id="cat_512" class="cs cta" onclick="toggle_category(512)" data-disabled="1">Western</div></td></tr><tr><td><div id="cat_256" class="cs ct9" onclick="toggle_category(256)">Non-H</div></td><td><div id="cat_32" class="cs ct6" onclick="toggle_category(32)">Image Set</div></td><td><div id="cat_64" class="cs ct7" onclick="toggle_category(64)">Cosplay</div></td><td><div id="cat_128" class="cs ct8" onclick="toggle_category(128)">Asian Porn</div></td><td><div id="cat_1" class="cs ct1" onclick="toggle_category(1)">Misc</div></td></tr></table><p class="nopm"><input type="text" id="f_search" name="f_search" placeholder="Search Keywords" size="50" maxlength="200" /><input type="submit" value="Apply Filter" onclick="search_presubmit()" /><input type="button" value="Clear Filter" onclick="top.location.href='https://exhentai.org/'; return false" /></p><p class="nopm" style="margin-top:4px"><a href="#" rel="nofollow" onclick="toggle_advsearch_pane(this); return false">Show Advanced Options</a> <a href="#" rel="nofollow" onclick="toggle_filesearch_pane(this); return false">Show File Search</a></p><div id="advdiv" style="display:none"></div></form></div><div id="fsdiv" class="idi" style="margin-top:10px; display:none"></div>
|
||||
<script type="text/javascript" src="https://exhentai.org/z/0340/ehg_index.c.js"></script>
|
||||
|
||||
<script type="text/javascript">
|
||||
var ulhost = "https://exhentai.org/upload/";
|
||||
var getrowurl = "https://exhentai.org/?page={?page?}";
|
||||
</script>
|
||||
|
||||
</div><div style="position:relative; z-index:2"><p class="ip">Showing page 1 of 592,397 results</p><div id="dms"><div><select onchange="document.location='https://exhentai.org/?inline_set=dm_' + this.value"><option value="m">Minimal</option><option value="l" selected="selected">Compact</option><option value="e">Extended</option><option value="t">Thumbnail</option></select></div></div><table class="ptt" style="margin:2px auto 0px"><tr><td class="ptdd"><</td><td class="ptds"><a href="https://exhentai.org/?from=1383595" onclick="return false">1</a></td><td onclick="document.location=this.firstChild.href"><a href="https://exhentai.org/?page=1" onclick="return false">2</a></td><td onclick="document.location=this.firstChild.href"><a href="https://exhentai.org/?page=2" onclick="return false">3</a></td><td onclick="document.location=this.firstChild.href"><a href="https://exhentai.org/?page=3" onclick="return false">4</a></td><td onclick="document.location=this.firstChild.href"><a href="https://exhentai.org/?page=4" onclick="return false">5</a></td><td onclick="document.location=this.firstChild.href"><a href="https://exhentai.org/?page=5" onclick="return false">6</a></td><td onclick="document.location=this.firstChild.href"><a href="https://exhentai.org/?page=6" onclick="return false">7</a></td><td onclick="var page=prompt('Jump to page: (1-11848)', 1); if(page != null) document.location='https://exhentai.org/?page='+Math.min(11847, Math.max(0, page - 1))+''">...</td><td onclick="document.location=this.firstChild.href"><a href="https://exhentai.org/?page=11847" onclick="return false">11848</a></td><td onclick="document.location=this.firstChild.href"><a href="https://exhentai.org/?page=1" onclick="return false">></a></td></tr></table><table class="itg glt"><tr><th></th><th>Published</th><th>Title</th><th class="glhide">Uploader</th></tr><tr><td class="gl1c glcat"><div class="cn ct6" onclick="document.location='https://exhentai.org/imageset'">Image Set</div></td><td class="gl2c"><div class="glthumb" id="i1383685" style="border:2px solid #0000FF;top:-1px;left:-120px;height:354px;width:250px"><img src="https://exhentai.org/t/4c/d2/4cd25d762b88198c488d505a34cb2d9788e9af00-3137024-2480-3508-png_250.jpg" alt="Artist - lihobuut (일호붓)" /></div><div class="glnew" onclick="popUp('https://exhentai.org/gallerypopups.php?gid=1383685&t=a02791a295&act=addfav',675,415)" id="posted_1383685">2019-03-19 09:48</div><div class="ir" style="background-position:0px -21px;opacity:1"></div><div class="gldown"><a href="https://exhentai.org/gallerytorrents.php?gid=1383685&t=a02791a295" onclick="return popUp('https://exhentai.org/gallerytorrents.php?gid=1383685&t=a02791a295', 610, 590)" rel="nofollow"><img src="https://exhentai.org/img/t.png" alt="T" title="Show torrents" /></a></div></td><td class="gl3c glname" onmouseover="show_image_pane(1383685);preload_pane_image_delayed(0,1383685,1383678)" onmouseout="hide_image_pane(1383685);preload_pane_image_cancel()" onclick="return open_gallery(this,event,'https://exhentai.org/g/1383685/a02791a295/')"><div><a href="https://exhentai.org/g/1383685/a02791a295/">Artist - lihobuut (일호붓)</a></div><div><div class="gt" title="parody:girls frontline">girls frontline</div><div class="gt" title="female:big breasts">f:big breasts</div><div class="gt" title="female:leotard">f:leotard</div><div class="gt" title="female:military">f:military</div><div class="gt" title="female:stockings">f:stockings</div><div class="gt" title="female:swimsuit">f:swimsuit</div><div class="gt" title=":lihobuut">lihobuut</div></div></td><td class="gl4c glhide"><div><a href="https://exhentai.org/uploader/Assassin_">Assassin_</a></div><div>404 pages</div></td></tr><tr><td class="gl1c glcat"><div class="cn ct1" onclick="document.location='https://exhentai.org/misc'">Misc</div></td><td class="gl2c"><div class="glthumb" id="i1383678" style="border:2px solid #000000;top:-7px;left:-120px;height:360px;width:250px">inits~exhentai.org~t/e6/c8/e6c887198530269ec3defc3cc9266561e86de8cf-150593-1513-2173-jpg_250.jpg~Artist -CHS工作室-共享妻子 2019-3-16</div><div class="glnew" onclick="popUp('https://exhentai.org/gallerypopups.php?gid=1383678&t=e91b82c2b9&act=addfav',675,415)" id="posted_1383678">2019-03-19 09:46</div><div class="ir" style="background-position:-32px -1px;opacity:0.46666666666667"></div><div class="gldown"><img src="https://exhentai.org/img/td.png" alt="T" title="No torrents available" /></div></td><td class="gl3c glname" onmouseover="show_image_pane(1383678);preload_pane_image_delayed(1383685,1383678,1383664)" onmouseout="hide_image_pane(1383678);preload_pane_image_cancel()" onclick="return open_gallery(this,event,'https://exhentai.org/g/1383678/e91b82c2b9/')"><div><a href="https://exhentai.org/g/1383678/e91b82c2b9/">Artist -CHS工作室-共享妻子 2019-3-16</a></div><div><div class="gt" title=":3d">3d</div></div></td><td class="gl4c glhide"><div><a href="https://exhentai.org/uploader/cLine truncated
|
||||
</body>
|
||||
</html>
|
||||
+33
@@ -0,0 +1,33 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||||
<head>
|
||||
<title>E-Hentai Galleries - The Free Hentai Doujinshi, Manga and Image Gallery System</title>
|
||||
<link rel="stylesheet" type="text/css" href="https://e-hentai.org/z/0347/g.css" />
|
||||
<meta name="description" content="With more than half a million absolutely free hentai doujinshi, manga, cosplay and CG galleries, E-Hentai Galleries is the world's largest free Hentai archive." />
|
||||
<meta name="RATING" content="RTA-5042-1996-1400-1577-RTA" />
|
||||
<meta name="juicyads-site-verification" content="0f3e47704e352bf534e98d4d45411fda" />
|
||||
<link rel="alternate" type="application/atom+xml" title="E-Hentai Galleries Content Feed" href="https://e-hentai.org/rss/ehg.xml" />
|
||||
<link rel="alternate" type="application/atom+xml" title="EHTracker Torrent Feed" href="https://e-hentai.org/rss/ehtracker.xml" />
|
||||
<link rel="search" href="https://ehgt.org/g/opensearchdescription.xml" type="application/opensearchdescription+xml" title="E-Hentai Galleries Search" />
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript">
|
||||
function popUp(URL,w,h) {
|
||||
window.open(URL,"_pu"+(Math.random()+"").replace(/0\./,""),"toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width="+w+",height="+h+",left="+((screen.width-w)/2)+",top="+((screen.height-h)/2));
|
||||
return false;
|
||||
}
|
||||
</script>
|
||||
<div id="nb" class="nosel"><div><a class="nbw" href="https://e-hentai.org/">Front<span class="nbw1"> Page</span></a></div><div><a href="https://e-hentai.org/watched">Watched</a></div><div><a href="https://e-hentai.org/popular">Popular</a></div><div><a href="https://e-hentai.org/torrents.php">Torrents</a></div><div><a href="https://e-hentai.org/favorites.php">Fav<span class="nbw1">orite</span>s</a></div><div><a href="https://e-hentai.org/home.php"><span class="nbw2">My </span>Home</a></div><div><a href="https://upload.e-hentai.org/manage.php"><span class="nbw2">My </span>Uploads</a></div><div><a href="https://e-hentai.org/toplist.php">Toplists</a></div><div><a href="https://e-hentai.org/bounty.php">Bounties</a></div><div><a href="https://e-hentai.org/news.php">News</a></div><div><a href="https://forums.e-hentai.org/">Forums</a></div><div><a href="https://ehwiki.org/">Wiki</a></div><div><a href="https://hentaiverse.org/" onclick="popUp('https://hentaiverse.org/',1250,720); return false">H<span class="nbw1">entai</span>V<span class="nbw1">erse</span></a></div></div>
|
||||
<div class="ido">
|
||||
<div id="toppane">
|
||||
<h1 class="ih">E-Hentai Galleries: The Free Hentai Doujinshi, Manga and Image Gallery System</h1><div id="searchbox" class="idi"><form action="https://e-hentai.org/" method="get" style="margin:0px; padding:0px"><input type="hidden" id="f_cats" name="f_cats" value="767" /><table class="itc"><tr><td><div id="cat_2" class="cs ct2" onclick="toggle_category(2)" data-disabled="1">Doujinshi</div></td><td><div id="cat_4" class="cs ct3" onclick="toggle_category(4)" data-disabled="1">Manga</div></td><td><div id="cat_8" class="cs ct4" onclick="toggle_category(8)" data-disabled="1">Artist CG</div></td><td><div id="cat_16" class="cs ct5" onclick="toggle_category(16)" data-disabled="1">Game CG</div></td><td><div id="cat_512" class="cs cta" onclick="toggle_category(512)" data-disabled="1">Western</div></td></tr><tr><td><div id="cat_256" class="cs ct9" onclick="toggle_category(256)">Non-H</div></td><td><div id="cat_32" class="cs ct6" onclick="toggle_category(32)" data-disabled="1">Image Set</div></td><td><div id="cat_64" class="cs ct7" onclick="toggle_category(64)" data-disabled="1">Cosplay</div></td><td><div id="cat_128" class="cs ct8" onclick="toggle_category(128)" data-disabled="1">Asian Porn</div></td><td><div id="cat_1" class="cs ct1" onclick="toggle_category(1)" data-disabled="1">Misc</div></td></tr></table><p class="nopm"><input type="text" id="f_search" name="f_search" placeholder="Search Keywords" size="50" maxlength="200" /><input type="submit" value="Apply Filter" onclick="search_presubmit()" /><input type="button" value="Clear Filter" onclick="top.location.href='https://e-hentai.org/'; return false" /></p><p class="nopm" style="margin-top:4px"><a href="#" rel="nofollow" onclick="toggle_advsearch_pane(this); return false">Show Advanced Options</a> <a href="#" rel="nofollow" onclick="toggle_filesearch_pane(this); return false">Show File Search</a></p><div id="advdiv" style="display:none"></div></form></div><div id="fsdiv" class="idi" style="margin-top:10px; display:none"></div>
|
||||
<script type="text/javascript" src="https://e-hentai.org/z/0347/ehg_index.c.js"></script>
|
||||
|
||||
<script type="text/javascript">
|
||||
var ulhost = "https://upload.e-hentai.org/";
|
||||
var getrowurl = "https://e-hentai.org/?page={?page?}&f_cats=767";
|
||||
</script>
|
||||
|
||||
</div><div style="position:relative; z-index:2"><p class="ip">Showing 48,197 results</p><div id="dms"><div><select onchange="document.location='https://e-hentai.org/?f_cats=767&inline_set=dm_' + this.value"><option value="m">Minimal</option><option value="p">Minimal+</option><option value="l" selected="selected">Compact</option><option value="e">Extended</option><option value="t">Thumbnail</option></select></div></div><table class="ptt" style="margin:2px auto 0px"><tr><td class="ptdd"><</td><td class="ptds"><a href="https://e-hentai.org/?f_cats=767&from=1391690" onclick="return false">1</a></td><td onclick="document.location=this.firstChild.href"><a href="https://e-hentai.org/?page=1&f_cats=767" onclick="return false">2</a></td><td onclick="document.location=this.firstChild.href"><a href="https://e-hentai.org/?page=2&f_cats=767" onclick="return false">3</a></td><td onclick="document.location=this.firstChild.href"><a href="https://e-hentai.org/?page=3&f_cats=767" onclick="return false">4</a></td><td onclick="document.location=this.firstChild.href"><a href="https://e-hentai.org/?page=4&f_cats=767" onclick="return false">5</a></td><td onclick="document.location=this.firstChild.href"><a href="https://e-hentai.org/?page=5&f_cats=767" onclick="return false">6</a></td><td onclick="document.location=this.firstChild.href"><a href="https://e-hentai.org/?page=6&f_cats=767" onclick="return false">7</a></td><td onclick="var page=prompt('Jump to page: (1-1928)', 1); if(page != null) document.location='https://e-hentai.org/?page='+Math.min(1927, Math.max(0, page - 1))+'&f_cats=767'">...</td><td onclick="document.location=this.firstChild.href"><a href="https://e-hentai.org/?page=1927&f_cats=767" onclick="return false">1928</a></td><td onclick="document.location=this.firstChild.href"><a href="https://e-hentai.org/?page=1&f_cats=767" onclick="return false">></a></td></tr></table><table class="itg gltc"><tr><th></th><th>Published</th><th>Title</th><th class="glhide">Uploader</th></tr><tr data-new="1"><td class="gl1c glcat"><div class="cn ct9" onclick="document.location='https://e-hentai.org/non-h'">Non-H</div></td><td class="gl2c"><div class="glcut" id="ic1392268"></div><div class="glthumb" id="it1392268" style="top:-22px;height:399px"><div><img style="height:353px;width:250px;top:-6px" alt="[NekoNiwa] Stomach-filling Activity" title="[NekoNiwa] Stomach-filling Activity" src="https://ul.ehgt.org/dc/ad/dcad4eda683c3fa6422737048171330dcf1215cd-753622-2150-3035-jpg_250.jpg" /></div><div><div><div class="cn ct9" onclick="document.location='https://e-hentai.org/non-h'">Non-H</div><div class="glnew" onclick="popUp('https://e-hentai.org/gallerypopups.php?gid=1392268&t=7ff56437fa&act=addfav',675,415)" id="postedpop_1392268">2019-04-03 10:59</div></div><div><div class="ir" style="background-position:-80px -1px;opacity:0.33333333333333"></div><div>26 pages</div></div></div></div><div><div class="glnew" onclick="popUp('https://e-hentai.org/gallerypopups.php?gid=1392268&t=7ff56437fa&act=addfav',675,415)" id="posted_1392268">2019-04-03 10:59</div><div class="ir" style="background-position:-80px -1px;opacity:0.33333333333333"></div><div class="gldown"><img src="https://ehgt.org/g/td.png" alt="T" title="No torrents available" /></div></div></td><td class="gl3c glname" onmouseover="show_image_pane(1392268);preload_pane_image(0,1392267)" onmouseout="hide_image_pane(1392268)"><a href="https://e-hentai.org/g/1392268/7ff56437fa/"><div class="glink">[NekoNiwa] Stomach-filling Activity</div><div><div class="gt" title="parody:kantai collection">kantai collection</div></div></a></td><td class="gl4c glhide"><div><a href="https://e-hentai.org/uploader/maverih345456">maverih345456</a></div><div>26 pages</div></td></tr><tr data-new="1"><td class="gl1c glcat"><div class="cn ct9" onclick="document.location='https://e-hentai.org/non-h'">Non-H</div></td><td class="gl2c"><div class="glcut" id="ic1392267"></div><div class="glthumb" id="it1392267" style="top:-35px;height:404px"><div><img style="height:358px;width:250px;top:-9px" alt="[NekoNiwa] Ritoseikatsu" title="[NekoNiwa] Ritoseikatsu" src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" data-src="https://ul.ehgt.org/5e/5d/5e5d4aaaccea1061ad49f0818a7c687a78271064-730707-2153-3080-jpg_250.jpg" /></div><div><div><div class="cn ct9" onclick="document.location='https://e-hentai.org/non-h'">Non-H</div><div class="glnew" onclick="popUp('https://e-hentai.org/gallerypopups.php?gid=1392267&t=549353a6c6&act=addfav',675,415)" id="postedpop_1392267">2019-04-03 10:58</div></div><div><div class="ir" style="background-position:-80px -1px;opacity:0.33333333333333"></div><div>26 pages</div></div></div></div><div><div class="glnew" onclick="popUp('https://e-hentai.org/gallerypopups.php?gid=1392267&t=549353a6c6&act=addfav',675,415)" id="posted_1392267">2019-04-03 10:58</div><div class="ir" style="background-position:-80Line truncated
|
||||
</body>
|
||||
</html>
|
||||
+33
@@ -0,0 +1,33 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||||
<head>
|
||||
<title>E-Hentai Galleries - The Free Hentai Doujinshi, Manga and Image Gallery System</title>
|
||||
<link rel="stylesheet" type="text/css" href="https://e-hentai.org/z/0347/g.css" />
|
||||
<meta name="description" content="With more than half a million absolutely free hentai doujinshi, manga, cosplay and CG galleries, E-Hentai Galleries is the world's largest free Hentai archive." />
|
||||
<meta name="RATING" content="RTA-5042-1996-1400-1577-RTA" />
|
||||
<meta name="juicyads-site-verification" content="0f3e47704e352bf534e98d4d45411fda" />
|
||||
<link rel="alternate" type="application/atom+xml" title="E-Hentai Galleries Content Feed" href="https://e-hentai.org/rss/ehg.xml" />
|
||||
<link rel="alternate" type="application/atom+xml" title="EHTracker Torrent Feed" href="https://e-hentai.org/rss/ehtracker.xml" />
|
||||
<link rel="search" href="https://ehgt.org/g/opensearchdescription.xml" type="application/opensearchdescription+xml" title="E-Hentai Galleries Search" />
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript">
|
||||
function popUp(URL,w,h) {
|
||||
window.open(URL,"_pu"+(Math.random()+"").replace(/0\./,""),"toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width="+w+",height="+h+",left="+((screen.width-w)/2)+",top="+((screen.height-h)/2));
|
||||
return false;
|
||||
}
|
||||
</script>
|
||||
<div id="nb" class="nosel"><div><a class="nbw" href="https://e-hentai.org/">Front<span class="nbw1"> Page</span></a></div><div><a href="https://e-hentai.org/watched">Watched</a></div><div><a href="https://e-hentai.org/popular">Popular</a></div><div><a href="https://e-hentai.org/torrents.php">Torrents</a></div><div><a href="https://e-hentai.org/favorites.php">Fav<span class="nbw1">orite</span>s</a></div><div><a href="https://e-hentai.org/home.php"><span class="nbw2">My </span>Home</a></div><div><a href="https://upload.e-hentai.org/manage.php"><span class="nbw2">My </span>Uploads</a></div><div><a href="https://e-hentai.org/toplist.php">Toplists</a></div><div><a href="https://e-hentai.org/bounty.php">Bounties</a></div><div><a href="https://e-hentai.org/news.php">News</a></div><div><a href="https://forums.e-hentai.org/">Forums</a></div><div><a href="https://ehwiki.org/">Wiki</a></div><div><a href="https://hentaiverse.org/" onclick="popUp('https://hentaiverse.org/',1250,720); return false">H<span class="nbw1">entai</span>V<span class="nbw1">erse</span></a></div></div>
|
||||
<div class="ido">
|
||||
<div id="toppane">
|
||||
<h1 class="ih">E-Hentai Galleries: The Free Hentai Doujinshi, Manga and Image Gallery System</h1><div id="searchbox" class="idi"><form action="https://e-hentai.org/" method="get" style="margin:0px; padding:0px"><input type="hidden" id="f_cats" name="f_cats" value="767" /><table class="itc"><tr><td><div id="cat_2" class="cs ct2" onclick="toggle_category(2)" data-disabled="1">Doujinshi</div></td><td><div id="cat_4" class="cs ct3" onclick="toggle_category(4)" data-disabled="1">Manga</div></td><td><div id="cat_8" class="cs ct4" onclick="toggle_category(8)" data-disabled="1">Artist CG</div></td><td><div id="cat_16" class="cs ct5" onclick="toggle_category(16)" data-disabled="1">Game CG</div></td><td><div id="cat_512" class="cs cta" onclick="toggle_category(512)" data-disabled="1">Western</div></td></tr><tr><td><div id="cat_256" class="cs ct9" onclick="toggle_category(256)">Non-H</div></td><td><div id="cat_32" class="cs ct6" onclick="toggle_category(32)" data-disabled="1">Image Set</div></td><td><div id="cat_64" class="cs ct7" onclick="toggle_category(64)" data-disabled="1">Cosplay</div></td><td><div id="cat_128" class="cs ct8" onclick="toggle_category(128)" data-disabled="1">Asian Porn</div></td><td><div id="cat_1" class="cs ct1" onclick="toggle_category(1)" data-disabled="1">Misc</div></td></tr></table><p class="nopm"><input type="text" id="f_search" name="f_search" placeholder="Search Keywords" size="50" maxlength="200" /><input type="submit" value="Apply Filter" onclick="search_presubmit()" /><input type="button" value="Clear Filter" onclick="top.location.href='https://e-hentai.org/'; return false" /></p><p class="nopm" style="margin-top:4px"><a href="#" rel="nofollow" onclick="toggle_advsearch_pane(this); return false">Show Advanced Options</a> <a href="#" rel="nofollow" onclick="toggle_filesearch_pane(this); return false">Show File Search</a></p><div id="advdiv" style="display:none"></div></form></div><div id="fsdiv" class="idi" style="margin-top:10px; display:none"></div>
|
||||
<script type="text/javascript" src="https://e-hentai.org/z/0347/ehg_index.c.js"></script>
|
||||
|
||||
<script type="text/javascript">
|
||||
var ulhost = "https://upload.e-hentai.org/";
|
||||
var getrowurl = "https://e-hentai.org/?page={?page?}&f_cats=767";
|
||||
</script>
|
||||
|
||||
</div><div style="position:relative; z-index:2"><p class="ip">Showing 48,197 results</p><div id="dms"><div><select onchange="document.location='https://e-hentai.org/?f_cats=767&inline_set=dm_' + this.value"><option value="m">Minimal</option><option value="p">Minimal+</option><option value="l">Compact</option><option value="e" selected="selected">Extended</option><option value="t">Thumbnail</option></select></div></div><table class="ptt" style="margin:2px auto 0px"><tr><td class="ptdd"><</td><td class="ptds"><a href="https://e-hentai.org/?f_cats=767&from=1391690" onclick="return false">1</a></td><td onclick="document.location=this.firstChild.href"><a href="https://e-hentai.org/?page=1&f_cats=767" onclick="return false">2</a></td><td onclick="document.location=this.firstChild.href"><a href="https://e-hentai.org/?page=2&f_cats=767" onclick="return false">3</a></td><td onclick="document.location=this.firstChild.href"><a href="https://e-hentai.org/?page=3&f_cats=767" onclick="return false">4</a></td><td onclick="document.location=this.firstChild.href"><a href="https://e-hentai.org/?page=4&f_cats=767" onclick="return false">5</a></td><td onclick="document.location=this.firstChild.href"><a href="https://e-hentai.org/?page=5&f_cats=767" onclick="return false">6</a></td><td onclick="document.location=this.firstChild.href"><a href="https://e-hentai.org/?page=6&f_cats=767" onclick="return false">7</a></td><td onclick="var page=prompt('Jump to page: (1-1928)', 1); if(page != null) document.location='https://e-hentai.org/?page='+Math.min(1927, Math.max(0, page - 1))+'&f_cats=767'">...</td><td onclick="document.location=this.firstChild.href"><a href="https://e-hentai.org/?page=1927&f_cats=767" onclick="return false">1928</a></td><td onclick="document.location=this.firstChild.href"><a href="https://e-hentai.org/?page=1&f_cats=767" onclick="return false">></a></td></tr></table><table class="itg glte"><tr data-new="1"><td class="gl1e" style="width:250px"><div style="height:340px;width:250px"><a href="https://e-hentai.org/g/1392268/7ff56437fa/"><img style="height:353px;width:250px;top:-6px" alt="[NekoNiwa] Stomach-filling Activity" title="[NekoNiwa] Stomach-filling Activity" src="https://ul.ehgt.org/dc/ad/dcad4eda683c3fa6422737048171330dcf1215cd-753622-2150-3035-jpg_250.jpg" /></a></div></td><td class="gl2e"><div><div class="gl3e"><div class="cn ct9" onclick="document.location='https://e-hentai.org/non-h'">Non-H</div><div class="glnew" onclick="popUp('https://e-hentai.org/gallerypopups.php?gid=1392268&t=7ff56437fa&act=addfav',675,415)" id="posted_1392268">2019-04-03 10:59</div><div class="ir" style="background-position:-80px -1px;opacity:0.33333333333333"></div><div><a href="https://e-hentai.org/uploader/maverih345456">maverih345456</a></div><div>26 pages</div><div class="gldown"><img src="https://ehgt.org/g/td.png" alt="T" title="No torrents available" /></div></div><a href="https://e-hentai.org/g/1392268/7ff56437fa/"><div class="gl4e glname" style="min-height:348px"><div class="glink">[NekoNiwa] Stomach-filling Activity</div><div><table><tr><td class="tc">parody:</td><td><div class="gtl" title="parody:kantai collection">kantai collection</div></td></table></div></div></a></div></td></tr><tr data-new="1"><td class="gl1e" style="width:250px"><div style="height:340px;width:250px"><a href="https://e-hentai.org/g/1392267/549353a6c6/"><img style="height:358px;width:250px;top:-9px" alt="[NekoNiwa] Ritoseikatsu" title="[NekoNiwa] Ritoseikatsu" src="https://ul.ehgt.org/5e/5d/5e5d4aaaccea1061ad49f0818a7c687a78271064-730707-2153-3080-jpg_250.jpg" /></a></div></td><td class="gl2e"><div><div class="gl3e"><div class="cn ct9" onclick="document.location='https://e-hentai.org/non-h'">Non-H</div><div class="glnew" onclick="popUp('https://e-hentai.org/gallerypopups.php?gid=1392267&t=549353a6c6&act=addfav',675,415)" id="posted_1392267">2019-04-03 10:58</div><div class="ir" style="background-position:-80px -1px;opacity:0.33333333333333"></div><div><a href="https://e-hentai.org/uploader/maverih345456">maverih345456</a></div><div>26 pages</div><div class="gldown"><img src="https://ehgt.org/g/td.png" alt="T" title="No torrents available" /></div></div><a href="https://e-hentai.org/g/1392267/549353a6c6/"><div class="gl4e glname" style="min-height:348px"><div class="glink">[NekoNiwa] Ritoseikatsu</div><div><table><tr><td class="tc">parody:</td><td><div class="gt" title="parody:kantai collection">kantai collection</div></td><tr><td class="tc">female:</td><td><div class="gtl" title="female:glasses">glasses</div></td></table></div></div></a></div></td></tr><tr><td class="gl1e" style="width:250px"><div style="height:340px;width:250px"><a href="https://e-hentai.org/g/1392234/6ca336fe6d/"><img style="height:366px;width:250px;top:-13px" alt="(C91) [Aoirokanata (Shikitani Asuka)] Neko Flan to Kainushi Koishi | 貓芙蘭和飼主戀 (Touhou Project) [Chinese] [魔恋汉化组]" title="(C91) [AoiLine truncated
|
||||
</body>
|
||||
</html>
|
||||
+33
@@ -0,0 +1,33 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||||
<head>
|
||||
<title>E-Hentai Galleries - The Free Hentai Doujinshi, Manga and Image Gallery System</title>
|
||||
<link rel="stylesheet" type="text/css" href="https://e-hentai.org/z/0347/g.css" />
|
||||
<meta name="description" content="With more than half a million absolutely free hentai doujinshi, manga, cosplay and CG galleries, E-Hentai Galleries is the world's largest free Hentai archive." />
|
||||
<meta name="RATING" content="RTA-5042-1996-1400-1577-RTA" />
|
||||
<meta name="juicyads-site-verification" content="0f3e47704e352bf534e98d4d45411fda" />
|
||||
<link rel="alternate" type="application/atom+xml" title="E-Hentai Galleries Content Feed" href="https://e-hentai.org/rss/ehg.xml" />
|
||||
<link rel="alternate" type="application/atom+xml" title="EHTracker Torrent Feed" href="https://e-hentai.org/rss/ehtracker.xml" />
|
||||
<link rel="search" href="https://ehgt.org/g/opensearchdescription.xml" type="application/opensearchdescription+xml" title="E-Hentai Galleries Search" />
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript">
|
||||
function popUp(URL,w,h) {
|
||||
window.open(URL,"_pu"+(Math.random()+"").replace(/0\./,""),"toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width="+w+",height="+h+",left="+((screen.width-w)/2)+",top="+((screen.height-h)/2));
|
||||
return false;
|
||||
}
|
||||
</script>
|
||||
<div id="nb" class="nosel"><div><a class="nbw" href="https://e-hentai.org/">Front<span class="nbw1"> Page</span></a></div><div><a href="https://e-hentai.org/watched">Watched</a></div><div><a href="https://e-hentai.org/popular">Popular</a></div><div><a href="https://e-hentai.org/torrents.php">Torrents</a></div><div><a href="https://e-hentai.org/favorites.php">Fav<span class="nbw1">orite</span>s</a></div><div><a href="https://e-hentai.org/home.php"><span class="nbw2">My </span>Home</a></div><div><a href="https://upload.e-hentai.org/manage.php"><span class="nbw2">My </span>Uploads</a></div><div><a href="https://e-hentai.org/toplist.php">Toplists</a></div><div><a href="https://e-hentai.org/bounty.php">Bounties</a></div><div><a href="https://e-hentai.org/news.php">News</a></div><div><a href="https://forums.e-hentai.org/">Forums</a></div><div><a href="https://ehwiki.org/">Wiki</a></div><div><a href="https://hentaiverse.org/" onclick="popUp('https://hentaiverse.org/',1250,720); return false">H<span class="nbw1">entai</span>V<span class="nbw1">erse</span></a></div></div>
|
||||
<div class="ido">
|
||||
<div id="toppane">
|
||||
<h1 class="ih">E-Hentai Galleries: The Free Hentai Doujinshi, Manga and Image Gallery System</h1><div id="searchbox" class="idi"><form action="https://e-hentai.org/" method="get" style="margin:0px; padding:0px"><input type="hidden" id="f_cats" name="f_cats" value="767" /><table class="itc"><tr><td><div id="cat_2" class="cs ct2" onclick="toggle_category(2)" data-disabled="1">Doujinshi</div></td><td><div id="cat_4" class="cs ct3" onclick="toggle_category(4)" data-disabled="1">Manga</div></td><td><div id="cat_8" class="cs ct4" onclick="toggle_category(8)" data-disabled="1">Artist CG</div></td><td><div id="cat_16" class="cs ct5" onclick="toggle_category(16)" data-disabled="1">Game CG</div></td><td><div id="cat_512" class="cs cta" onclick="toggle_category(512)" data-disabled="1">Western</div></td></tr><tr><td><div id="cat_256" class="cs ct9" onclick="toggle_category(256)">Non-H</div></td><td><div id="cat_32" class="cs ct6" onclick="toggle_category(32)" data-disabled="1">Image Set</div></td><td><div id="cat_64" class="cs ct7" onclick="toggle_category(64)" data-disabled="1">Cosplay</div></td><td><div id="cat_128" class="cs ct8" onclick="toggle_category(128)" data-disabled="1">Asian Porn</div></td><td><div id="cat_1" class="cs ct1" onclick="toggle_category(1)" data-disabled="1">Misc</div></td></tr></table><p class="nopm"><input type="text" id="f_search" name="f_search" placeholder="Search Keywords" size="50" maxlength="200" /><input type="submit" value="Apply Filter" onclick="search_presubmit()" /><input type="button" value="Clear Filter" onclick="top.location.href='https://e-hentai.org/'; return false" /></p><p class="nopm" style="margin-top:4px"><a href="#" rel="nofollow" onclick="toggle_advsearch_pane(this); return false">Show Advanced Options</a> <a href="#" rel="nofollow" onclick="toggle_filesearch_pane(this); return false">Show File Search</a></p><div id="advdiv" style="display:none"></div></form></div><div id="fsdiv" class="idi" style="margin-top:10px; display:none"></div>
|
||||
<script type="text/javascript" src="https://e-hentai.org/z/0347/ehg_index.c.js"></script>
|
||||
|
||||
<script type="text/javascript">
|
||||
var ulhost = "https://upload.e-hentai.org/";
|
||||
var getrowurl = "https://e-hentai.org/?page={?page?}&f_cats=767";
|
||||
</script>
|
||||
|
||||
</div><div style="position:relative; z-index:2"><p class="ip">Showing 48,197 results</p><div id="dms"><div><select onchange="document.location='https://e-hentai.org/?f_cats=767&inline_set=dm_' + this.value"><option value="m" selected="selected">Minimal</option><option value="p">Minimal+</option><option value="l">Compact</option><option value="e">Extended</option><option value="t">Thumbnail</option></select></div></div><table class="ptt" style="margin:2px auto 0px"><tr><td class="ptdd"><</td><td class="ptds"><a href="https://e-hentai.org/?f_cats=767&from=1391690" onclick="return false">1</a></td><td onclick="document.location=this.firstChild.href"><a href="https://e-hentai.org/?page=1&f_cats=767" onclick="return false">2</a></td><td onclick="document.location=this.firstChild.href"><a href="https://e-hentai.org/?page=2&f_cats=767" onclick="return false">3</a></td><td onclick="document.location=this.firstChild.href"><a href="https://e-hentai.org/?page=3&f_cats=767" onclick="return false">4</a></td><td onclick="document.location=this.firstChild.href"><a href="https://e-hentai.org/?page=4&f_cats=767" onclick="return false">5</a></td><td onclick="document.location=this.firstChild.href"><a href="https://e-hentai.org/?page=5&f_cats=767" onclick="return false">6</a></td><td onclick="document.location=this.firstChild.href"><a href="https://e-hentai.org/?page=6&f_cats=767" onclick="return false">7</a></td><td onclick="var page=prompt('Jump to page: (1-1928)', 1); if(page != null) document.location='https://e-hentai.org/?page='+Math.min(1927, Math.max(0, page - 1))+'&f_cats=767'">...</td><td onclick="document.location=this.firstChild.href"><a href="https://e-hentai.org/?page=1927&f_cats=767" onclick="return false">1928</a></td><td onclick="document.location=this.firstChild.href"><a href="https://e-hentai.org/?page=1&f_cats=767" onclick="return false">></a></td></tr></table><table class="itg gltm"><tr><th></th><th>Published</th><th></th><th>Title</th><th></th><th class="glhide">Uploader</th></tr><tr data-new="1"><td class="gl1m glcat"><div class="cs ct9" onclick="document.location='https://e-hentai.org/non-h'">Non-H</div></td><td class="gl2m"><div class="glcut" id="ic1392268"></div><div class="glthumb" id="it1392268" style="top:-21px;height:399px"><div><img style="height:353px;width:250px;top:-6px" alt="[NekoNiwa] Stomach-filling Activity" title="[NekoNiwa] Stomach-filling Activity" src="https://ul.ehgt.org/dc/ad/dcad4eda683c3fa6422737048171330dcf1215cd-753622-2150-3035-jpg_250.jpg" /></div><div><div><div class="cs ct9" onclick="document.location='https://e-hentai.org/non-h'">Non-H</div><div class="glnew" onclick="popUp('https://e-hentai.org/gallerypopups.php?gid=1392268&t=7ff56437fa&act=addfav',675,415)" id="postedpop_1392268">2019-04-03 10:59</div></div><div><div class="ir" style="background-position:-80px -1px;opacity:0.33333333333333"></div><div>26 pages</div></div></div></div><div class="glnew" onclick="popUp('https://e-hentai.org/gallerypopups.php?gid=1392268&t=7ff56437fa&act=addfav',675,415)" id="posted_1392268">2019-04-03 10:59</div></td><td class="gl6m"><div class="gldown"><img src="https://ehgt.org/g/td.png" alt="T" title="No torrents available" /></div></td><td class="gl3m glname" onmouseover="show_image_pane(1392268);preload_pane_image(0,1392267)" onmouseout="hide_image_pane(1392268)"><a href="https://e-hentai.org/g/1392268/7ff56437fa/"><div class="glink">[NekoNiwa] Stomach-filling Activity</div></a></td><td class="gl4m"><div class="ir" style="background-position:-80px -1px;opacity:0.33333333333333"></div></td><td class="gl5m glhide"><div><a href="https://e-hentai.org/uploader/maverih345456">maverih345456</a></div></td></tr><tr data-new="1"><td class="gl1m glcat"><div class="cs ct9" onclick="document.location='https://e-hentai.org/non-h'">Non-H</div></td><td class="gl2m"><div class="glcut" id="ic1392267"></div><div class="glthumb" id="it1392267" style="top:-35px;height:404px"><div><img style="height:358px;width:250px;top:-9px" alt="[NekoNiwa] Ritoseikatsu" title="[NekoNiwa] Ritoseikatsu" src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" data-src="https://ul.ehgt.org/5e/5d/5e5d4aaaccea1061ad49f0818a7c687a78271064-730707-2153-3080-jpg_250.jpg" /></div><div><div><div class="cs ct9" onclick="document.location='https://e-hentai.org/non-h'">Non-H</div><div class="glnew" onclick="popUp('https://e-hentai.org/gallerypopups.php?gid=1392267&t=549353a6c6&act=addfav',675,415)" id="postedpop_1392267">2019-04-03 10:58</div></div><div><div class="ir" style="background-position:-80px -1px;opacity:0.33333333333333"></div><div>26 pages</div></div></div></div><div class="glnew" onclick="popUp('https://e-hentai.org/gallerypopups.php?gid=1392267&t=549353a6c6&act=addfav',675,415)" id="posted_1392267">2019-04-03 10:58</div></td><td class="gl6m"><div class="gldown"><img src="https://ehgt.org/g/td.png" alt="T" title="No torreLine truncated
|
||||
</body>
|
||||
</html>
|
||||
+33
@@ -0,0 +1,33 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||||
<head>
|
||||
<title>E-Hentai Galleries - The Free Hentai Doujinshi, Manga and Image Gallery System</title>
|
||||
<link rel="stylesheet" type="text/css" href="https://e-hentai.org/z/0347/g.css" />
|
||||
<meta name="description" content="With more than half a million absolutely free hentai doujinshi, manga, cosplay and CG galleries, E-Hentai Galleries is the world's largest free Hentai archive." />
|
||||
<meta name="RATING" content="RTA-5042-1996-1400-1577-RTA" />
|
||||
<meta name="juicyads-site-verification" content="0f3e47704e352bf534e98d4d45411fda" />
|
||||
<link rel="alternate" type="application/atom+xml" title="E-Hentai Galleries Content Feed" href="https://e-hentai.org/rss/ehg.xml" />
|
||||
<link rel="alternate" type="application/atom+xml" title="EHTracker Torrent Feed" href="https://e-hentai.org/rss/ehtracker.xml" />
|
||||
<link rel="search" href="https://ehgt.org/g/opensearchdescription.xml" type="application/opensearchdescription+xml" title="E-Hentai Galleries Search" />
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript">
|
||||
function popUp(URL,w,h) {
|
||||
window.open(URL,"_pu"+(Math.random()+"").replace(/0\./,""),"toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width="+w+",height="+h+",left="+((screen.width-w)/2)+",top="+((screen.height-h)/2));
|
||||
return false;
|
||||
}
|
||||
</script>
|
||||
<div id="nb" class="nosel"><div><a class="nbw" href="https://e-hentai.org/">Front<span class="nbw1"> Page</span></a></div><div><a href="https://e-hentai.org/watched">Watched</a></div><div><a href="https://e-hentai.org/popular">Popular</a></div><div><a href="https://e-hentai.org/torrents.php">Torrents</a></div><div><a href="https://e-hentai.org/favorites.php">Fav<span class="nbw1">orite</span>s</a></div><div><a href="https://e-hentai.org/home.php"><span class="nbw2">My </span>Home</a></div><div><a href="https://upload.e-hentai.org/manage.php"><span class="nbw2">My </span>Uploads</a></div><div><a href="https://e-hentai.org/toplist.php">Toplists</a></div><div><a href="https://e-hentai.org/bounty.php">Bounties</a></div><div><a href="https://e-hentai.org/news.php">News</a></div><div><a href="https://forums.e-hentai.org/">Forums</a></div><div><a href="https://ehwiki.org/">Wiki</a></div><div><a href="https://hentaiverse.org/" onclick="popUp('https://hentaiverse.org/',1250,720); return false">H<span class="nbw1">entai</span>V<span class="nbw1">erse</span></a></div></div>
|
||||
<div class="ido">
|
||||
<div id="toppane">
|
||||
<h1 class="ih">E-Hentai Galleries: The Free Hentai Doujinshi, Manga and Image Gallery System</h1><div id="searchbox" class="idi"><form action="https://e-hentai.org/" method="get" style="margin:0px; padding:0px"><input type="hidden" id="f_cats" name="f_cats" value="767" /><table class="itc"><tr><td><div id="cat_2" class="cs ct2" onclick="toggle_category(2)" data-disabled="1">Doujinshi</div></td><td><div id="cat_4" class="cs ct3" onclick="toggle_category(4)" data-disabled="1">Manga</div></td><td><div id="cat_8" class="cs ct4" onclick="toggle_category(8)" data-disabled="1">Artist CG</div></td><td><div id="cat_16" class="cs ct5" onclick="toggle_category(16)" data-disabled="1">Game CG</div></td><td><div id="cat_512" class="cs cta" onclick="toggle_category(512)" data-disabled="1">Western</div></td></tr><tr><td><div id="cat_256" class="cs ct9" onclick="toggle_category(256)">Non-H</div></td><td><div id="cat_32" class="cs ct6" onclick="toggle_category(32)" data-disabled="1">Image Set</div></td><td><div id="cat_64" class="cs ct7" onclick="toggle_category(64)" data-disabled="1">Cosplay</div></td><td><div id="cat_128" class="cs ct8" onclick="toggle_category(128)" data-disabled="1">Asian Porn</div></td><td><div id="cat_1" class="cs ct1" onclick="toggle_category(1)" data-disabled="1">Misc</div></td></tr></table><p class="nopm"><input type="text" id="f_search" name="f_search" placeholder="Search Keywords" size="50" maxlength="200" /><input type="submit" value="Apply Filter" onclick="search_presubmit()" /><input type="button" value="Clear Filter" onclick="top.location.href='https://e-hentai.org/'; return false" /></p><p class="nopm" style="margin-top:4px"><a href="#" rel="nofollow" onclick="toggle_advsearch_pane(this); return false">Show Advanced Options</a> <a href="#" rel="nofollow" onclick="toggle_filesearch_pane(this); return false">Show File Search</a></p><div id="advdiv" style="display:none"></div></form></div><div id="fsdiv" class="idi" style="margin-top:10px; display:none"></div>
|
||||
<script type="text/javascript" src="https://e-hentai.org/z/0347/ehg_index.c.js"></script>
|
||||
|
||||
<script type="text/javascript">
|
||||
var ulhost = "https://upload.e-hentai.org/";
|
||||
var getrowurl = "https://e-hentai.org/?page={?page?}&f_cats=767";
|
||||
</script>
|
||||
|
||||
</div><div style="position:relative; z-index:2"><p class="ip">Showing 48,197 results</p><div id="dms"><div><select onchange="document.location='https://e-hentai.org/?f_cats=767&inline_set=dm_' + this.value"><option value="m">Minimal</option><option value="p" selected="selected">Minimal+</option><option value="l">Compact</option><option value="e">Extended</option><option value="t">Thumbnail</option></select></div></div><table class="ptt" style="margin:2px auto 0px"><tr><td class="ptdd"><</td><td class="ptds"><a href="https://e-hentai.org/?f_cats=767&from=1391690" onclick="return false">1</a></td><td onclick="document.location=this.firstChild.href"><a href="https://e-hentai.org/?page=1&f_cats=767" onclick="return false">2</a></td><td onclick="document.location=this.firstChild.href"><a href="https://e-hentai.org/?page=2&f_cats=767" onclick="return false">3</a></td><td onclick="document.location=this.firstChild.href"><a href="https://e-hentai.org/?page=3&f_cats=767" onclick="return false">4</a></td><td onclick="document.location=this.firstChild.href"><a href="https://e-hentai.org/?page=4&f_cats=767" onclick="return false">5</a></td><td onclick="document.location=this.firstChild.href"><a href="https://e-hentai.org/?page=5&f_cats=767" onclick="return false">6</a></td><td onclick="document.location=this.firstChild.href"><a href="https://e-hentai.org/?page=6&f_cats=767" onclick="return false">7</a></td><td onclick="var page=prompt('Jump to page: (1-1928)', 1); if(page != null) document.location='https://e-hentai.org/?page='+Math.min(1927, Math.max(0, page - 1))+'&f_cats=767'">...</td><td onclick="document.location=this.firstChild.href"><a href="https://e-hentai.org/?page=1927&f_cats=767" onclick="return false">1928</a></td><td onclick="document.location=this.firstChild.href"><a href="https://e-hentai.org/?page=1&f_cats=767" onclick="return false">></a></td></tr></table><table class="itg gltm"><tr><th></th><th>Published</th><th></th><th>Title</th><th></th><th class="glhide">Uploader</th></tr><tr data-new="1"><td class="gl1m glcat"><div class="cs ct9" onclick="document.location='https://e-hentai.org/non-h'">Non-H</div></td><td class="gl2m"><div class="glcut" id="ic1392268"></div><div class="glthumb" id="it1392268" style="top:-21px;height:399px"><div><img style="height:353px;width:250px;top:-6px" alt="[NekoNiwa] Stomach-filling Activity" title="[NekoNiwa] Stomach-filling Activity" src="https://ul.ehgt.org/dc/ad/dcad4eda683c3fa6422737048171330dcf1215cd-753622-2150-3035-jpg_250.jpg" /></div><div><div><div class="cs ct9" onclick="document.location='https://e-hentai.org/non-h'">Non-H</div><div class="glnew" onclick="popUp('https://e-hentai.org/gallerypopups.php?gid=1392268&t=7ff56437fa&act=addfav',675,415)" id="postedpop_1392268">2019-04-03 10:59</div></div><div><div class="ir" style="background-position:-80px -1px;opacity:0.33333333333333"></div><div>26 pages</div></div></div></div><div class="glnew" onclick="popUp('https://e-hentai.org/gallerypopups.php?gid=1392268&t=7ff56437fa&act=addfav',675,415)" id="posted_1392268">2019-04-03 10:59</div></td><td class="gl6m"><div class="gldown"><img src="https://ehgt.org/g/td.png" alt="T" title="No torrents available" /></div></td><td class="gl3m glname" onmouseover="show_image_pane(1392268);preload_pane_image(0,1392267)" onmouseout="hide_image_pane(1392268)"><a href="https://e-hentai.org/g/1392268/7ff56437fa/"><div class="glink">[NekoNiwa] Stomach-filling Activity</div></a></td><td class="gl4m"><div class="ir" style="background-position:-80px -1px;opacity:0.33333333333333"></div></td><td class="gl5m glhide"><div><a href="https://e-hentai.org/uploader/maverih345456">maverih345456</a></div></td></tr><tr data-new="1"><td class="gl1m glcat"><div class="cs ct9" onclick="document.location='https://e-hentai.org/non-h'">Non-H</div></td><td class="gl2m"><div class="glcut" id="ic1392267"></div><div class="glthumb" id="it1392267" style="top:-35px;height:404px"><div><img style="height:358px;width:250px;top:-9px" alt="[NekoNiwa] Ritoseikatsu" title="[NekoNiwa] Ritoseikatsu" src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" data-src="https://ul.ehgt.org/5e/5d/5e5d4aaaccea1061ad49f0818a7c687a78271064-730707-2153-3080-jpg_250.jpg" /></div><div><div><div class="cs ct9" onclick="document.location='https://e-hentai.org/non-h'">Non-H</div><div class="glnew" onclick="popUp('https://e-hentai.org/gallerypopups.php?gid=1392267&t=549353a6c6&act=addfav',675,415)" id="postedpop_1392267">2019-04-03 10:58</div></div><div><div class="ir" style="background-position:-80px -1px;opacity:0.33333333333333"></div><div>26 pages</div></div></div></div><div class="glnew" onclick="popUp('https://e-hentai.org/gallerypopups.php?gid=1392267&t=549353a6c6&act=addfav',675,415)" id="posted_1392267">2019-04-03 10:58</div></td><td class="gl6m"><div class="gldown"><img src="https://ehgt.org/g/td.png" alt="T" title="No torreLine truncated
|
||||
</body>
|
||||
</html>
|
||||
+36
@@ -0,0 +1,36 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||||
<head>
|
||||
<title>E-Hentai Galleries - The Free Hentai Doujinshi, Manga and Image Gallery System</title>
|
||||
<link rel="stylesheet" type="text/css" href="https://e-hentai.org/z/0347/g.css" />
|
||||
<style type="text/css">
|
||||
@supports(display:grid){.gld{display:grid;grid-template-columns:repeat(5,1fr)}.gl1t{min-width:250px;max-width:400px}@media screen and (max-width:1360px) {.gld{grid-template-columns:repeat(4,1fr)}.gl1t:nth-child(8n+1),.gl1t:nth-child(8n+3),.gl1t:nth-child(8n+6),.gl1t:nth-child(8n+8){background:#F2F0E4}.gl1t:nth-child(8n+2),.gl1t:nth-child(8n+4),.gl1t:nth-child(8n+5),.gl1t:nth-child(8n+7){background:#EDEBDF}}@media screen and (max-width:1090px) {.gld{grid-template-columns:repeat(3,1fr)}.gl1t:nth-child(2n+1){background:#F2F0E4}.gl1t:nth-child(2n+2){background:#EDEBDF}}@media screen and (max-width:820px) {.gld{grid-template-columns:repeat(2,1fr)}.gl1t:nth-child(4n+1),.gl1t:nth-child(4n+4){background:#F2F0E4}.gl1t:nth-child(4n+2),.gl1t:nth-child(4n+3){background:#EDEBDF}}}
|
||||
</style>
|
||||
<meta name="description" content="With more than half a million absolutely free hentai doujinshi, manga, cosplay and CG galleries, E-Hentai Galleries is the world's largest free Hentai archive." />
|
||||
<meta name="RATING" content="RTA-5042-1996-1400-1577-RTA" />
|
||||
<meta name="juicyads-site-verification" content="0f3e47704e352bf534e98d4d45411fda" />
|
||||
<link rel="alternate" type="application/atom+xml" title="E-Hentai Galleries Content Feed" href="https://e-hentai.org/rss/ehg.xml" />
|
||||
<link rel="alternate" type="application/atom+xml" title="EHTracker Torrent Feed" href="https://e-hentai.org/rss/ehtracker.xml" />
|
||||
<link rel="search" href="https://ehgt.org/g/opensearchdescription.xml" type="application/opensearchdescription+xml" title="E-Hentai Galleries Search" />
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript">
|
||||
function popUp(URL,w,h) {
|
||||
window.open(URL,"_pu"+(Math.random()+"").replace(/0\./,""),"toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width="+w+",height="+h+",left="+((screen.width-w)/2)+",top="+((screen.height-h)/2));
|
||||
return false;
|
||||
}
|
||||
</script>
|
||||
<div id="nb" class="nosel"><div><a class="nbw" href="https://e-hentai.org/">Front<span class="nbw1"> Page</span></a></div><div><a href="https://e-hentai.org/watched">Watched</a></div><div><a href="https://e-hentai.org/popular">Popular</a></div><div><a href="https://e-hentai.org/torrents.php">Torrents</a></div><div><a href="https://e-hentai.org/favorites.php">Fav<span class="nbw1">orite</span>s</a></div><div><a href="https://e-hentai.org/home.php"><span class="nbw2">My </span>Home</a></div><div><a href="https://upload.e-hentai.org/manage.php"><span class="nbw2">My </span>Uploads</a></div><div><a href="https://e-hentai.org/toplist.php">Toplists</a></div><div><a href="https://e-hentai.org/bounty.php">Bounties</a></div><div><a href="https://e-hentai.org/news.php">News</a></div><div><a href="https://forums.e-hentai.org/">Forums</a></div><div><a href="https://ehwiki.org/">Wiki</a></div><div><a href="https://hentaiverse.org/" onclick="popUp('https://hentaiverse.org/',1250,720); return false">H<span class="nbw1">entai</span>V<span class="nbw1">erse</span></a></div></div>
|
||||
<div class="ido" style="max-width:1370px">
|
||||
<div id="toppane">
|
||||
<h1 class="ih">E-Hentai Galleries: The Free Hentai Doujinshi, Manga and Image Gallery System</h1><div id="searchbox" class="idi"><form action="https://e-hentai.org/" method="get" style="margin:0px; padding:0px"><input type="hidden" id="f_cats" name="f_cats" value="767" /><table class="itc"><tr><td><div id="cat_2" class="cs ct2" onclick="toggle_category(2)" data-disabled="1">Doujinshi</div></td><td><div id="cat_4" class="cs ct3" onclick="toggle_category(4)" data-disabled="1">Manga</div></td><td><div id="cat_8" class="cs ct4" onclick="toggle_category(8)" data-disabled="1">Artist CG</div></td><td><div id="cat_16" class="cs ct5" onclick="toggle_category(16)" data-disabled="1">Game CG</div></td><td><div id="cat_512" class="cs cta" onclick="toggle_category(512)" data-disabled="1">Western</div></td></tr><tr><td><div id="cat_256" class="cs ct9" onclick="toggle_category(256)">Non-H</div></td><td><div id="cat_32" class="cs ct6" onclick="toggle_category(32)" data-disabled="1">Image Set</div></td><td><div id="cat_64" class="cs ct7" onclick="toggle_category(64)" data-disabled="1">Cosplay</div></td><td><div id="cat_128" class="cs ct8" onclick="toggle_category(128)" data-disabled="1">Asian Porn</div></td><td><div id="cat_1" class="cs ct1" onclick="toggle_category(1)" data-disabled="1">Misc</div></td></tr></table><p class="nopm"><input type="text" id="f_search" name="f_search" placeholder="Search Keywords" size="50" maxlength="200" /><input type="submit" value="Apply Filter" onclick="search_presubmit()" /><input type="button" value="Clear Filter" onclick="top.location.href='https://e-hentai.org/'; return false" /></p><p class="nopm" style="margin-top:4px"><a href="#" rel="nofollow" onclick="toggle_advsearch_pane(this); return false">Show Advanced Options</a> <a href="#" rel="nofollow" onclick="toggle_filesearch_pane(this); return false">Show File Search</a></p><div id="advdiv" style="display:none"></div></form></div><div id="fsdiv" class="idi" style="margin-top:10px; display:none"></div>
|
||||
<script type="text/javascript" src="https://e-hentai.org/z/0347/ehg_index.c.js"></script>
|
||||
|
||||
<script type="text/javascript">
|
||||
var ulhost = "https://upload.e-hentai.org/";
|
||||
var getrowurl = "https://e-hentai.org/?page={?page?}&f_cats=767";
|
||||
</script>
|
||||
|
||||
</div><div style="position:relative; z-index:2"><p class="ip">Showing 48,197 results</p><div id="dms"><div><select onchange="document.location='https://e-hentai.org/?f_cats=767&inline_set=dm_' + this.value"><option value="m">Minimal</option><option value="p">Minimal+</option><option value="l">Compact</option><option value="e">Extended</option><option value="t" selected="selected">Thumbnail</option></select></div></div><table class="ptt" style="margin:2px auto 0px"><tr><td class="ptdd"><</td><td class="ptds"><a href="https://e-hentai.org/?f_cats=767&from=1391690" onclick="return false">1</a></td><td onclick="document.location=this.firstChild.href"><a href="https://e-hentai.org/?page=1&f_cats=767" onclick="return false">2</a></td><td onclick="document.location=this.firstChild.href"><a href="https://e-hentai.org/?page=2&f_cats=767" onclick="return false">3</a></td><td onclick="document.location=this.firstChild.href"><a href="https://e-hentai.org/?page=3&f_cats=767" onclick="return false">4</a></td><td onclick="document.location=this.firstChild.href"><a href="https://e-hentai.org/?page=4&f_cats=767" onclick="return false">5</a></td><td onclick="document.location=this.firstChild.href"><a href="https://e-hentai.org/?page=5&f_cats=767" onclick="return false">6</a></td><td onclick="document.location=this.firstChild.href"><a href="https://e-hentai.org/?page=6&f_cats=767" onclick="return false">7</a></td><td onclick="var page=prompt('Jump to page: (1-1928)', 1); if(page != null) document.location='https://e-hentai.org/?page='+Math.min(1927, Math.max(0, page - 1))+'&f_cats=767'">...</td><td onclick="document.location=this.firstChild.href"><a href="https://e-hentai.org/?page=1927&f_cats=767" onclick="return false">1928</a></td><td onclick="document.location=this.firstChild.href"><a href="https://e-hentai.org/?page=1&f_cats=767" onclick="return false">></a></td></tr></table><div class="itg gld"><div class="gl1t" data-new="1"><a href="https://e-hentai.org/g/1392268/7ff56437fa/"><div class="gl4t glname">[NekoNiwa] Stomach-filling Activity</div></a><div class="gl3t" style="height:340px;width:250px"><a href="https://e-hentai.org/g/1392268/7ff56437fa/"><img style="height:353px;width:250px;top:-6px" alt="[NekoNiwa] Stomach-filling Activity" title="[NekoNiwa] Stomach-filling Activity" src="https://ul.ehgt.org/dc/ad/dcad4eda683c3fa6422737048171330dcf1215cd-753622-2150-3035-jpg_250.jpg" /></a></div><div class="gl5t"><div><div class="cs ct9" onclick="document.location='https://e-hentai.org/non-h'">Non-H</div><div class="glnew" onclick="popUp('https://e-hentai.org/gallerypopups.php?gid=1392268&t=7ff56437fa&act=addfav',675,415)" id="posted_1392268">2019-04-03 10:59</div></div><div><div class="ir" style="background-position:-80px -1px;opacity:0.33333333333333"></div><div>26 pages</div><div class="gldown"><img src="https://ehgt.org/g/td.png" alt="T" title="No torrents available" /></div></div></div></div><div class="gl1t" data-new="1"><a href="https://e-hentai.org/g/1392267/549353a6c6/"><div class="gl4t glname">[NekoNiwa] Ritoseikatsu</div></a><div class="gl3t" style="height:340px;width:250px"><a href="https://e-hentai.org/g/1392267/549353a6c6/"><img style="height:358px;width:250px;top:-9px" alt="[NekoNiwa] Ritoseikatsu" title="[NekoNiwa] Ritoseikatsu" src="https://ul.ehgt.org/5e/5d/5e5d4aaaccea1061ad49f0818a7c687a78271064-730707-2153-3080-jpg_250.jpg" /></a></div><div class="gl5t"><div><div class="cs ct9" onclick="document.location='https://e-hentai.org/non-h'">Non-H</div><div class="glnew" onclick="popUp('https://e-hentai.org/gallerypopups.php?gid=1392267&t=549353a6c6&act=addfav',675,415)" id="posted_1392267">2019-04-03 10:58</div></div><div><div class="ir" style="background-position:-80px -1px;opacity:0.33333333333333"></div><div>26 pages</div><div class="gldown"><img src="https://ehgt.org/g/td.png" alt="T" title="No torrents available" /></div></div></div></div><div class="gl1t"><a href="https://e-hentai.org/g/1392234/6ca336fe6d/"><div class="gl4t glname">(C91) [Aoirokanata (Shikitani Asuka)] Neko Flan to Kainushi Koishi | 貓芙蘭和飼主戀 (Touhou Project) [Chinese] [魔恋汉化组]</div></a><div class="gl3t" style="height:340px;width:250px"><a href="https://e-hentai.org/g/1392234/6ca336fe6d/"><img style="height:366px;width:250px;top:-13px" alt="(C91) [Aoirokanata (Shikitani Asuka)] Neko Flan to Kainushi Koishi | 貓芙蘭和飼主戀 (Touhou Project) [Chinese] [魔恋汉化组]" title="(C91) [Aoirokanata (Shikitani Asuka)] Neko Flan to Kainushi Koishi | 貓芙蘭和飼主戀 (Touhou Project) [Chinese] [魔恋汉化组]" src="https://ehgt.org/t/7c/de/7cde7a891ea99aba2ee2f497212deb7deb02672c-10121090-2068-3021-png_250.jpg" /></a></div><div class="gl6t"><div class="gt" style="color:#f1f1f1;border-color:#1357df;background:radial-gradient(#1357df,#3377FF) !important" title="language:chinese">chinese</div></div><div class="gl5t"><div><div class="cs ct9" onclick="docuLine truncated
|
||||
</body>
|
||||
</html>
|
||||
+27
@@ -0,0 +1,27 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||||
<head>
|
||||
<title>ExHentai.org</title>
|
||||
<link rel="stylesheet" type="text/css" href="https://exhentai.org/z/0347/x.css" />
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript">
|
||||
function popUp(URL,w,h) {
|
||||
window.open(URL,"_pu"+(Math.random()+"").replace(/0\./,""),"toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width="+w+",height="+h+",left="+((screen.width-w)/2)+",top="+((screen.height-h)/2));
|
||||
return false;
|
||||
}
|
||||
</script>
|
||||
<div id="nb" class="nosel"><div><a class="nbw" href="https://exhentai.org/">Front<span class="nbw1"> Page</span></a></div><div><a href="https://exhentai.org/watched">Watched</a></div><div><a href="https://exhentai.org/popular">Popular</a></div><div><a href="https://exhentai.org/torrents.php">Torrents</a></div><div><a href="https://exhentai.org/favorites.php">Fav<span class="nbw1">orite</span>s</a></div><div><a href="https://exhentai.org/uconfig.php">Settings</a></div><div><a href="https://exhentai.org/upload/manage.php"><span class="nbw2">My </span>Uploads</a></div><div><a href="https://exhentai.org/mytags">My Tags</a></div></div>
|
||||
<div class="ido">
|
||||
<div id="toppane">
|
||||
<div id="searchbox" class="idi"><form action="https://exhentai.org/" method="get" style="margin:0px; padding:0px"><input type="hidden" id="f_cats" name="f_cats" value="767" /><table class="itc"><tr><td><div id="cat_2" class="cs ct2" onclick="toggle_category(2)" data-disabled="1">Doujinshi</div></td><td><div id="cat_4" class="cs ct3" onclick="toggle_category(4)" data-disabled="1">Manga</div></td><td><div id="cat_8" class="cs ct4" onclick="toggle_category(8)" data-disabled="1">Artist CG</div></td><td><div id="cat_16" class="cs ct5" onclick="toggle_category(16)" data-disabled="1">Game CG</div></td><td><div id="cat_512" class="cs cta" onclick="toggle_category(512)" data-disabled="1">Western</div></td></tr><tr><td><div id="cat_256" class="cs ct9" onclick="toggle_category(256)">Non-H</div></td><td><div id="cat_32" class="cs ct6" onclick="toggle_category(32)" data-disabled="1">Image Set</div></td><td><div id="cat_64" class="cs ct7" onclick="toggle_category(64)" data-disabled="1">Cosplay</div></td><td><div id="cat_128" class="cs ct8" onclick="toggle_category(128)" data-disabled="1">Asian Porn</div></td><td><div id="cat_1" class="cs ct1" onclick="toggle_category(1)" data-disabled="1">Misc</div></td></tr></table><p class="nopm"><input type="text" id="f_search" name="f_search" placeholder="Search Keywords" size="50" maxlength="200" /><input type="submit" value="Apply Filter" onclick="search_presubmit()" /><input type="button" value="Clear Filter" onclick="top.location.href='https://exhentai.org/'; return false" /></p><p class="nopm" style="margin-top:4px"><a href="#" rel="nofollow" onclick="toggle_advsearch_pane(this); return false">Show Advanced Options</a> <a href="#" rel="nofollow" onclick="toggle_filesearch_pane(this); return false">Show File Search</a></p><div id="advdiv" style="display:none"></div></form></div><div id="fsdiv" class="idi" style="margin-top:10px; display:none"></div>
|
||||
<script type="text/javascript" src="https://exhentai.org/z/0347/ehg_index.c.js"></script>
|
||||
|
||||
<script type="text/javascript">
|
||||
var ulhost = "https://exhentai.org/upload/";
|
||||
var getrowurl = "https://exhentai.org/?page={?page?}&f_cats=767";
|
||||
</script>
|
||||
|
||||
</div><div style="position:relative; z-index:2"><p class="ip">Showing 49,597 results</p><div id="dms"><div><select onchange="document.location='https://exhentai.org/?f_cats=767&inline_set=dm_' + this.value"><option value="m">Minimal</option><option value="p">Minimal+</option><option value="l" selected="selected">Compact</option><option value="e">Extended</option><option value="t">Thumbnail</option></select></div></div><table class="ptt" style="margin:2px auto 0px"><tr><td class="ptdd"><</td><td class="ptds"><a href="https://exhentai.org/?f_cats=767&from=1391669" onclick="return false">1</a></td><td onclick="document.location=this.firstChild.href"><a href="https://exhentai.org/?page=1&f_cats=767" onclick="return false">2</a></td><td onclick="document.location=this.firstChild.href"><a href="https://exhentai.org/?page=2&f_cats=767" onclick="return false">3</a></td><td onclick="document.location=this.firstChild.href"><a href="https://exhentai.org/?page=3&f_cats=767" onclick="return false">4</a></td><td onclick="document.location=this.firstChild.href"><a href="https://exhentai.org/?page=4&f_cats=767" onclick="return false">5</a></td><td onclick="document.location=this.firstChild.href"><a href="https://exhentai.org/?page=5&f_cats=767" onclick="return false">6</a></td><td onclick="document.location=this.firstChild.href"><a href="https://exhentai.org/?page=6&f_cats=767" onclick="return false">7</a></td><td onclick="var page=prompt('Jump to page: (1-1984)', 1); if(page != null) document.location='https://exhentai.org/?page='+Math.min(1983, Math.max(0, page - 1))+'&f_cats=767'">...</td><td onclick="document.location=this.firstChild.href"><a href="https://exhentai.org/?page=1983&f_cats=767" onclick="return false">1984</a></td><td onclick="document.location=this.firstChild.href"><a href="https://exhentai.org/?page=1&f_cats=767" onclick="return false">></a></td></tr></table><table class="itg gltc"><tr><th></th><th>Published</th><th>Title</th><th class="glhide">Uploader</th></tr><tr><td class="gl1c glcat"><div class="cn ct9" onclick="document.location='https://exhentai.org/non-h'">Non-H</div></td><td class="gl2c"><div class="glcut" id="ic1392234"></div><div class="glthumb" id="it1392234" style="top:-22px;height:412px"><div><img style="height:366px;width:250px;top:-13px" alt="(C91) [Aoirokanata (Shikitani Asuka)] Neko Flan to Kainushi Koishi | 貓芙蘭和飼主戀 (Touhou Project) [Chinese] [魔恋汉化组]" title="(C91) [Aoirokanata (Shikitani Asuka)] Neko Flan to Kainushi Koishi | 貓芙蘭和飼主戀 (Touhou Project) [Chinese] [魔恋汉化组]" src="https://exhentai.org/t/7c/de/7cde7a891ea99aba2ee2f497212deb7deb02672c-10121090-2068-3021-png_250.jpg" /></div><div><div><div class="cn ct9" onclick="document.location='https://exhentai.org/non-h'">Non-H</div><div onclick="popUp('https://exhentai.org/gallerypopups.php?gid=1392234&t=6ca336fe6d&act=addfav',675,415)" id="postedpop_1392234">2019-04-03 09:21</div></div><div><div class="ir" style="background-position:0px -1px;opacity:0.53333333333333"></div><div>28 pages</div></div></div></div><div><div onclick="popUp('https://exhentai.org/gallerypopups.php?gid=1392234&t=6ca336fe6d&act=addfav',675,415)" id="posted_1392234">2019-04-03 09:21</div><div class="ir" style="background-position:0px -1px;opacity:0.53333333333333"></div><div class="gldown"><img src="https://exhentai.org/img/td.png" alt="T" title="No torrents available" /></div></div></td><td class="gl3c glname" onmouseover="show_image_pane(1392234);preload_pane_image(0,1392169)" onmouseout="hide_image_pane(1392234)"><a href="https://exhentai.org/g/1392234/6ca336fe6d/"><div class="glink">(C91) [Aoirokanata (Shikitani Asuka)] Neko Flan to Kainushi Koishi | 貓芙蘭和飼主戀 (Touhou Project) [Chinese] [魔恋汉化组]</div><div><div class="gt" style="color:#f1f1f1;border-color:#1357df;background:radial-gradient(#1357df,#3377FF) !important" title="language:chinese">chinese</div><div class="gt" title="language:translated">translated</div><div class="gt" title="parody:touhou project">touhou project</div><div class="gt" title="character:flandre scarlet">flandre scarlet</div><div class="gt" title="character:koishi komeiji">koishi komeiji</div><div class="gt" title="character:satori komeiji">satori komeiji</div><div class="gt" title="group:aoirokanata">aoirokanata</div><div class="gt" title="artist:shikitani asuka">shikitani asuka</div></div></a></td><td class="gl4c glhide"><div><a href="https://exhentai.org/uploader/%E5%AE%9E%E8%B7%B5%E6%A2%A6%E6%83%B3">实践梦想</a></div><div>28 pages</div></td></tr><tr><td class="gl1c glcat"><div class="cn ct9" onclick="document.location='https://exhentai.org/non-h'">Non-H</div></td><td class="gl2c"><div class="glcut" id="ic1392169"></div><div class="glthumb" id="it1392169" style="top:-35px;height:397px"><div><img style="height:351px;width:250px;top:-5px" alt="[Yaruku] GOLD PLEASE! Sono 1 (Touhou Project)" title="[Yaruku] Line truncated
|
||||
</body>
|
||||
</html>
|
||||
+27
@@ -0,0 +1,27 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||||
<head>
|
||||
<title>ExHentai.org</title>
|
||||
<link rel="stylesheet" type="text/css" href="https://exhentai.org/z/0347/x.css" />
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript">
|
||||
function popUp(URL,w,h) {
|
||||
window.open(URL,"_pu"+(Math.random()+"").replace(/0\./,""),"toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width="+w+",height="+h+",left="+((screen.width-w)/2)+",top="+((screen.height-h)/2));
|
||||
return false;
|
||||
}
|
||||
</script>
|
||||
<div id="nb" class="nosel"><div><a class="nbw" href="https://exhentai.org/">Front<span class="nbw1"> Page</span></a></div><div><a href="https://exhentai.org/watched">Watched</a></div><div><a href="https://exhentai.org/popular">Popular</a></div><div><a href="https://exhentai.org/torrents.php">Torrents</a></div><div><a href="https://exhentai.org/favorites.php">Fav<span class="nbw1">orite</span>s</a></div><div><a href="https://exhentai.org/uconfig.php">Settings</a></div><div><a href="https://exhentai.org/upload/manage.php"><span class="nbw2">My </span>Uploads</a></div><div><a href="https://exhentai.org/mytags">My Tags</a></div></div>
|
||||
<div class="ido">
|
||||
<div id="toppane">
|
||||
<div id="searchbox" class="idi"><form action="https://exhentai.org/" method="get" style="margin:0px; padding:0px"><input type="hidden" id="f_cats" name="f_cats" value="767" /><table class="itc"><tr><td><div id="cat_2" class="cs ct2" onclick="toggle_category(2)" data-disabled="1">Doujinshi</div></td><td><div id="cat_4" class="cs ct3" onclick="toggle_category(4)" data-disabled="1">Manga</div></td><td><div id="cat_8" class="cs ct4" onclick="toggle_category(8)" data-disabled="1">Artist CG</div></td><td><div id="cat_16" class="cs ct5" onclick="toggle_category(16)" data-disabled="1">Game CG</div></td><td><div id="cat_512" class="cs cta" onclick="toggle_category(512)" data-disabled="1">Western</div></td></tr><tr><td><div id="cat_256" class="cs ct9" onclick="toggle_category(256)">Non-H</div></td><td><div id="cat_32" class="cs ct6" onclick="toggle_category(32)" data-disabled="1">Image Set</div></td><td><div id="cat_64" class="cs ct7" onclick="toggle_category(64)" data-disabled="1">Cosplay</div></td><td><div id="cat_128" class="cs ct8" onclick="toggle_category(128)" data-disabled="1">Asian Porn</div></td><td><div id="cat_1" class="cs ct1" onclick="toggle_category(1)" data-disabled="1">Misc</div></td></tr></table><p class="nopm"><input type="text" id="f_search" name="f_search" placeholder="Search Keywords" size="50" maxlength="200" /><input type="submit" value="Apply Filter" onclick="search_presubmit()" /><input type="button" value="Clear Filter" onclick="top.location.href='https://exhentai.org/'; return false" /></p><p class="nopm" style="margin-top:4px"><a href="#" rel="nofollow" onclick="toggle_advsearch_pane(this); return false">Show Advanced Options</a> <a href="#" rel="nofollow" onclick="toggle_filesearch_pane(this); return false">Show File Search</a></p><div id="advdiv" style="display:none"></div></form></div><div id="fsdiv" class="idi" style="margin-top:10px; display:none"></div>
|
||||
<script type="text/javascript" src="https://exhentai.org/z/0347/ehg_index.c.js"></script>
|
||||
|
||||
<script type="text/javascript">
|
||||
var ulhost = "https://exhentai.org/upload/";
|
||||
var getrowurl = "https://exhentai.org/?page={?page?}&f_cats=767";
|
||||
</script>
|
||||
|
||||
</div><div style="position:relative; z-index:2"><p class="ip">Showing 49,597 results</p><div id="dms"><div><select onchange="document.location='https://exhentai.org/?f_cats=767&inline_set=dm_' + this.value"><option value="m">Minimal</option><option value="p">Minimal+</option><option value="l">Compact</option><option value="e" selected="selected">Extended</option><option value="t">Thumbnail</option></select></div></div><table class="ptt" style="margin:2px auto 0px"><tr><td class="ptdd"><</td><td class="ptds"><a href="https://exhentai.org/?f_cats=767&from=1391669" onclick="return false">1</a></td><td onclick="document.location=this.firstChild.href"><a href="https://exhentai.org/?page=1&f_cats=767" onclick="return false">2</a></td><td onclick="document.location=this.firstChild.href"><a href="https://exhentai.org/?page=2&f_cats=767" onclick="return false">3</a></td><td onclick="document.location=this.firstChild.href"><a href="https://exhentai.org/?page=3&f_cats=767" onclick="return false">4</a></td><td onclick="document.location=this.firstChild.href"><a href="https://exhentai.org/?page=4&f_cats=767" onclick="return false">5</a></td><td onclick="document.location=this.firstChild.href"><a href="https://exhentai.org/?page=5&f_cats=767" onclick="return false">6</a></td><td onclick="document.location=this.firstChild.href"><a href="https://exhentai.org/?page=6&f_cats=767" onclick="return false">7</a></td><td onclick="var page=prompt('Jump to page: (1-1984)', 1); if(page != null) document.location='https://exhentai.org/?page='+Math.min(1983, Math.max(0, page - 1))+'&f_cats=767'">...</td><td onclick="document.location=this.firstChild.href"><a href="https://exhentai.org/?page=1983&f_cats=767" onclick="return false">1984</a></td><td onclick="document.location=this.firstChild.href"><a href="https://exhentai.org/?page=1&f_cats=767" onclick="return false">></a></td></tr></table><table class="itg glte"><tr><td class="gl1e" style="width:250px"><div style="height:340px;width:250px"><a href="https://exhentai.org/g/1392234/6ca336fe6d/"><img style="height:366px;width:250px;top:-13px" alt="(C91) [Aoirokanata (Shikitani Asuka)] Neko Flan to Kainushi Koishi | 貓芙蘭和飼主戀 (Touhou Project) [Chinese] [魔恋汉化组]" title="(C91) [Aoirokanata (Shikitani Asuka)] Neko Flan to Kainushi Koishi | 貓芙蘭和飼主戀 (Touhou Project) [Chinese] [魔恋汉化组]" src="https://exhentai.org/t/7c/de/7cde7a891ea99aba2ee2f497212deb7deb02672c-10121090-2068-3021-png_250.jpg" /></a></div></td><td class="gl2e"><div><div class="gl3e"><div class="cn ct9" onclick="document.location='https://exhentai.org/non-h'">Non-H</div><div onclick="popUp('https://exhentai.org/gallerypopups.php?gid=1392234&t=6ca336fe6d&act=addfav',675,415)" id="posted_1392234">2019-04-03 09:21</div><div class="ir" style="background-position:0px -1px;opacity:0.53333333333333"></div><div><a href="https://exhentai.org/uploader/%E5%AE%9E%E8%B7%B5%E6%A2%A6%E6%83%B3">实践梦想</a></div><div>28 pages</div><div class="gldown"><img src="https://exhentai.org/img/td.png" alt="T" title="No torrents available" /></div></div><a href="https://exhentai.org/g/1392234/6ca336fe6d/"><div class="gl4e glname" style="min-height:348px"><div class="glink">(C91) [Aoirokanata (Shikitani Asuka)] Neko Flan to Kainushi Koishi | 貓芙蘭和飼主戀 (Touhou Project) [Chinese] [魔恋汉化组]</div><div><table><tr><td class="tc">language:</td><td><div class="gt" style="color:#f1f1f1;border-color:#1357df;background:radial-gradient(#1357df,#3377FF) !important" title="language:chinese">chinese</div><div class="gt" title="language:translated">translated</div></td><tr><td class="tc">parody:</td><td><div class="gt" title="parody:touhou project">touhou project</div></td><tr><td class="tc">character:</td><td><div class="gt" title="character:flandre scarlet">flandre scarlet</div><div class="gt" title="character:koishi komeiji">koishi komeiji</div><div class="gtl" title="character:satori komeiji">satori komeiji</div></td><tr><td class="tc">group:</td><td><div class="gt" title="group:aoirokanata">aoirokanata</div></td><tr><td class="tc">artist:</td><td><div class="gt" title="artist:shikitani asuka">shikitani asuka</div></td></table></div></div></a></div></td></tr><tr><td class="gl1e" style="width:250px"><div style="height:340px;width:250px"><a href="https://exhentai.org/g/1392169/f3d1c7032b/"><img style="height:351px;width:250px;top:-5px" alt="[Yaruku] GOLD PLEASE! Sono 1 (Touhou Project)" title="[Yaruku] GOLD PLEASE! Sono 1 (Touhou Project)" src="https://exhentai.org/t/4c/bd/4cbde601ef33dda8ae968c019a50e76125ca4025-401285-754-1056-jpg_250.jpg" /></a></div></td><td class="gl2e"><div><div class="gl3e"><div class="cn ct9" onclick="document.location='https://exhentai.org/non-h'">Non-H</div><div onclick="popUp('https://exhentai.org/gallerypopups.php?gid=1392169&t=f3d1c7032b&act=addfav',675,415)" id="posted_1392169">2019-04-03 06:23</div><div class="iLine truncated
|
||||
</body>
|
||||
</html>
|
||||
+27
@@ -0,0 +1,27 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||||
<head>
|
||||
<title>ExHentai.org</title>
|
||||
<link rel="stylesheet" type="text/css" href="https://exhentai.org/z/0347/x.css" />
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript">
|
||||
function popUp(URL,w,h) {
|
||||
window.open(URL,"_pu"+(Math.random()+"").replace(/0\./,""),"toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width="+w+",height="+h+",left="+((screen.width-w)/2)+",top="+((screen.height-h)/2));
|
||||
return false;
|
||||
}
|
||||
</script>
|
||||
<div id="nb" class="nosel"><div><a class="nbw" href="https://exhentai.org/">Front<span class="nbw1"> Page</span></a></div><div><a href="https://exhentai.org/watched">Watched</a></div><div><a href="https://exhentai.org/popular">Popular</a></div><div><a href="https://exhentai.org/torrents.php">Torrents</a></div><div><a href="https://exhentai.org/favorites.php">Fav<span class="nbw1">orite</span>s</a></div><div><a href="https://exhentai.org/uconfig.php">Settings</a></div><div><a href="https://exhentai.org/upload/manage.php"><span class="nbw2">My </span>Uploads</a></div><div><a href="https://exhentai.org/mytags">My Tags</a></div></div>
|
||||
<div class="ido">
|
||||
<div id="toppane">
|
||||
<div id="searchbox" class="idi"><form action="https://exhentai.org/" method="get" style="margin:0px; padding:0px"><input type="hidden" id="f_cats" name="f_cats" value="767" /><table class="itc"><tr><td><div id="cat_2" class="cs ct2" onclick="toggle_category(2)" data-disabled="1">Doujinshi</div></td><td><div id="cat_4" class="cs ct3" onclick="toggle_category(4)" data-disabled="1">Manga</div></td><td><div id="cat_8" class="cs ct4" onclick="toggle_category(8)" data-disabled="1">Artist CG</div></td><td><div id="cat_16" class="cs ct5" onclick="toggle_category(16)" data-disabled="1">Game CG</div></td><td><div id="cat_512" class="cs cta" onclick="toggle_category(512)" data-disabled="1">Western</div></td></tr><tr><td><div id="cat_256" class="cs ct9" onclick="toggle_category(256)">Non-H</div></td><td><div id="cat_32" class="cs ct6" onclick="toggle_category(32)" data-disabled="1">Image Set</div></td><td><div id="cat_64" class="cs ct7" onclick="toggle_category(64)" data-disabled="1">Cosplay</div></td><td><div id="cat_128" class="cs ct8" onclick="toggle_category(128)" data-disabled="1">Asian Porn</div></td><td><div id="cat_1" class="cs ct1" onclick="toggle_category(1)" data-disabled="1">Misc</div></td></tr></table><p class="nopm"><input type="text" id="f_search" name="f_search" placeholder="Search Keywords" size="50" maxlength="200" /><input type="submit" value="Apply Filter" onclick="search_presubmit()" /><input type="button" value="Clear Filter" onclick="top.location.href='https://exhentai.org/'; return false" /></p><p class="nopm" style="margin-top:4px"><a href="#" rel="nofollow" onclick="toggle_advsearch_pane(this); return false">Show Advanced Options</a> <a href="#" rel="nofollow" onclick="toggle_filesearch_pane(this); return false">Show File Search</a></p><div id="advdiv" style="display:none"></div></form></div><div id="fsdiv" class="idi" style="margin-top:10px; display:none"></div>
|
||||
<script type="text/javascript" src="https://exhentai.org/z/0347/ehg_index.c.js"></script>
|
||||
|
||||
<script type="text/javascript">
|
||||
var ulhost = "https://exhentai.org/upload/";
|
||||
var getrowurl = "https://exhentai.org/?page={?page?}&f_cats=767";
|
||||
</script>
|
||||
|
||||
</div><div style="position:relative; z-index:2"><p class="ip">Showing 49,597 results</p><div id="dms"><div><select onchange="document.location='https://exhentai.org/?f_cats=767&inline_set=dm_' + this.value"><option value="m" selected="selected">Minimal</option><option value="p">Minimal+</option><option value="l">Compact</option><option value="e">Extended</option><option value="t">Thumbnail</option></select></div></div><table class="ptt" style="margin:2px auto 0px"><tr><td class="ptdd"><</td><td class="ptds"><a href="https://exhentai.org/?f_cats=767&from=1391669" onclick="return false">1</a></td><td onclick="document.location=this.firstChild.href"><a href="https://exhentai.org/?page=1&f_cats=767" onclick="return false">2</a></td><td onclick="document.location=this.firstChild.href"><a href="https://exhentai.org/?page=2&f_cats=767" onclick="return false">3</a></td><td onclick="document.location=this.firstChild.href"><a href="https://exhentai.org/?page=3&f_cats=767" onclick="return false">4</a></td><td onclick="document.location=this.firstChild.href"><a href="https://exhentai.org/?page=4&f_cats=767" onclick="return false">5</a></td><td onclick="document.location=this.firstChild.href"><a href="https://exhentai.org/?page=5&f_cats=767" onclick="return false">6</a></td><td onclick="document.location=this.firstChild.href"><a href="https://exhentai.org/?page=6&f_cats=767" onclick="return false">7</a></td><td onclick="var page=prompt('Jump to page: (1-1984)', 1); if(page != null) document.location='https://exhentai.org/?page='+Math.min(1983, Math.max(0, page - 1))+'&f_cats=767'">...</td><td onclick="document.location=this.firstChild.href"><a href="https://exhentai.org/?page=1983&f_cats=767" onclick="return false">1984</a></td><td onclick="document.location=this.firstChild.href"><a href="https://exhentai.org/?page=1&f_cats=767" onclick="return false">></a></td></tr></table><table class="itg gltm"><tr><th></th><th>Published</th><th></th><th>Title</th><th></th><th class="glhide">Uploader</th></tr><tr><td class="gl1m glcat"><div class="cs ct9" onclick="document.location='https://exhentai.org/non-h'">Non-H</div></td><td class="gl2m"><div class="glcut" id="ic1392234"></div><div class="glthumb" id="it1392234" style="top:-21px;height:412px"><div><img style="height:366px;width:250px;top:-13px" alt="(C91) [Aoirokanata (Shikitani Asuka)] Neko Flan to Kainushi Koishi | 貓芙蘭和飼主戀 (Touhou Project) [Chinese] [魔恋汉化组]" title="(C91) [Aoirokanata (Shikitani Asuka)] Neko Flan to Kainushi Koishi | 貓芙蘭和飼主戀 (Touhou Project) [Chinese] [魔恋汉化组]" src="https://exhentai.org/t/7c/de/7cde7a891ea99aba2ee2f497212deb7deb02672c-10121090-2068-3021-png_250.jpg" /></div><div><div><div class="cs ct9" onclick="document.location='https://exhentai.org/non-h'">Non-H</div><div onclick="popUp('https://exhentai.org/gallerypopups.php?gid=1392234&t=6ca336fe6d&act=addfav',675,415)" id="postedpop_1392234">2019-04-03 09:21</div></div><div><div class="ir" style="background-position:0px -1px;opacity:0.53333333333333"></div><div>28 pages</div></div></div></div><div onclick="popUp('https://exhentai.org/gallerypopups.php?gid=1392234&t=6ca336fe6d&act=addfav',675,415)" id="posted_1392234">2019-04-03 09:21</div></td><td class="gl6m"><div class="gldown"><img src="https://exhentai.org/img/td.png" alt="T" title="No torrents available" /></div></td><td class="gl3m glname" onmouseover="show_image_pane(1392234);preload_pane_image(0,1392169)" onmouseout="hide_image_pane(1392234)"><a href="https://exhentai.org/g/1392234/6ca336fe6d/"><div class="glink">(C91) [Aoirokanata (Shikitani Asuka)] Neko Flan to Kainushi Koishi | 貓芙蘭和飼主戀 (Touhou Project) [Chinese] [魔恋汉化组]</div></a></td><td class="gl4m"><div class="ir" style="background-position:0px -1px;opacity:0.53333333333333"></div></td><td class="gl5m glhide"><div><a href="https://exhentai.org/uploader/%E5%AE%9E%E8%B7%B5%E6%A2%A6%E6%83%B3">实践梦想</a></div></td></tr><tr><td class="gl1m glcat"><div class="cs ct9" onclick="document.location='https://exhentai.org/non-h'">Non-H</div></td><td class="gl2m"><div class="glcut" id="ic1392169"></div><div class="glthumb" id="it1392169" style="top:-34px;height:397px"><div><img style="height:351px;width:250px;top:-5px" alt="[Yaruku] GOLD PLEASE! Sono 1 (Touhou Project)" title="[Yaruku] GOLD PLEASE! Sono 1 (Touhou Project)" src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" data-src="https://exhentai.org/t/4c/bd/4cbde601ef33dda8ae968c019a50e76125ca4025-401285-754-1056-jpg_250.jpg" /></div><div><div><div class="cs ct9" onclick="document.location='https://exhentai.org/non-h'">Non-H</div><div onclick="popUp('https://exhentai.org/gallerypopups.php?gid=1392169&t=f3d1c7032b&act=addfav',675,415)" id="postedpop_1392169">2019-04-03 06:23</div></div><div><div class="ir" style="background-position:0px -21px;opacity:0.53333333333333"></div><diLine truncated
|
||||
</body>
|
||||
</html>
|
||||
+27
@@ -0,0 +1,27 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||||
<head>
|
||||
<title>ExHentai.org</title>
|
||||
<link rel="stylesheet" type="text/css" href="https://exhentai.org/z/0347/x.css" />
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript">
|
||||
function popUp(URL,w,h) {
|
||||
window.open(URL,"_pu"+(Math.random()+"").replace(/0\./,""),"toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width="+w+",height="+h+",left="+((screen.width-w)/2)+",top="+((screen.height-h)/2));
|
||||
return false;
|
||||
}
|
||||
</script>
|
||||
<div id="nb" class="nosel"><div><a class="nbw" href="https://exhentai.org/">Front<span class="nbw1"> Page</span></a></div><div><a href="https://exhentai.org/watched">Watched</a></div><div><a href="https://exhentai.org/popular">Popular</a></div><div><a href="https://exhentai.org/torrents.php">Torrents</a></div><div><a href="https://exhentai.org/favorites.php">Fav<span class="nbw1">orite</span>s</a></div><div><a href="https://exhentai.org/uconfig.php">Settings</a></div><div><a href="https://exhentai.org/upload/manage.php"><span class="nbw2">My </span>Uploads</a></div><div><a href="https://exhentai.org/mytags">My Tags</a></div></div>
|
||||
<div class="ido">
|
||||
<div id="toppane">
|
||||
<div id="searchbox" class="idi"><form action="https://exhentai.org/" method="get" style="margin:0px; padding:0px"><input type="hidden" id="f_cats" name="f_cats" value="767" /><table class="itc"><tr><td><div id="cat_2" class="cs ct2" onclick="toggle_category(2)" data-disabled="1">Doujinshi</div></td><td><div id="cat_4" class="cs ct3" onclick="toggle_category(4)" data-disabled="1">Manga</div></td><td><div id="cat_8" class="cs ct4" onclick="toggle_category(8)" data-disabled="1">Artist CG</div></td><td><div id="cat_16" class="cs ct5" onclick="toggle_category(16)" data-disabled="1">Game CG</div></td><td><div id="cat_512" class="cs cta" onclick="toggle_category(512)" data-disabled="1">Western</div></td></tr><tr><td><div id="cat_256" class="cs ct9" onclick="toggle_category(256)">Non-H</div></td><td><div id="cat_32" class="cs ct6" onclick="toggle_category(32)" data-disabled="1">Image Set</div></td><td><div id="cat_64" class="cs ct7" onclick="toggle_category(64)" data-disabled="1">Cosplay</div></td><td><div id="cat_128" class="cs ct8" onclick="toggle_category(128)" data-disabled="1">Asian Porn</div></td><td><div id="cat_1" class="cs ct1" onclick="toggle_category(1)" data-disabled="1">Misc</div></td></tr></table><p class="nopm"><input type="text" id="f_search" name="f_search" placeholder="Search Keywords" size="50" maxlength="200" /><input type="submit" value="Apply Filter" onclick="search_presubmit()" /><input type="button" value="Clear Filter" onclick="top.location.href='https://exhentai.org/'; return false" /></p><p class="nopm" style="margin-top:4px"><a href="#" rel="nofollow" onclick="toggle_advsearch_pane(this); return false">Show Advanced Options</a> <a href="#" rel="nofollow" onclick="toggle_filesearch_pane(this); return false">Show File Search</a></p><div id="advdiv" style="display:none"></div></form></div><div id="fsdiv" class="idi" style="margin-top:10px; display:none"></div>
|
||||
<script type="text/javascript" src="https://exhentai.org/z/0347/ehg_index.c.js"></script>
|
||||
|
||||
<script type="text/javascript">
|
||||
var ulhost = "https://exhentai.org/upload/";
|
||||
var getrowurl = "https://exhentai.org/?page={?page?}&f_cats=767";
|
||||
</script>
|
||||
|
||||
</div><div style="position:relative; z-index:2"><p class="ip">Showing 49,597 results</p><div id="dms"><div><select onchange="document.location='https://exhentai.org/?f_cats=767&inline_set=dm_' + this.value"><option value="m">Minimal</option><option value="p" selected="selected">Minimal+</option><option value="l">Compact</option><option value="e">Extended</option><option value="t">Thumbnail</option></select></div></div><table class="ptt" style="margin:2px auto 0px"><tr><td class="ptdd"><</td><td class="ptds"><a href="https://exhentai.org/?f_cats=767&from=1391669" onclick="return false">1</a></td><td onclick="document.location=this.firstChild.href"><a href="https://exhentai.org/?page=1&f_cats=767" onclick="return false">2</a></td><td onclick="document.location=this.firstChild.href"><a href="https://exhentai.org/?page=2&f_cats=767" onclick="return false">3</a></td><td onclick="document.location=this.firstChild.href"><a href="https://exhentai.org/?page=3&f_cats=767" onclick="return false">4</a></td><td onclick="document.location=this.firstChild.href"><a href="https://exhentai.org/?page=4&f_cats=767" onclick="return false">5</a></td><td onclick="document.location=this.firstChild.href"><a href="https://exhentai.org/?page=5&f_cats=767" onclick="return false">6</a></td><td onclick="document.location=this.firstChild.href"><a href="https://exhentai.org/?page=6&f_cats=767" onclick="return false">7</a></td><td onclick="var page=prompt('Jump to page: (1-1984)', 1); if(page != null) document.location='https://exhentai.org/?page='+Math.min(1983, Math.max(0, page - 1))+'&f_cats=767'">...</td><td onclick="document.location=this.firstChild.href"><a href="https://exhentai.org/?page=1983&f_cats=767" onclick="return false">1984</a></td><td onclick="document.location=this.firstChild.href"><a href="https://exhentai.org/?page=1&f_cats=767" onclick="return false">></a></td></tr></table><table class="itg gltm"><tr><th></th><th>Published</th><th></th><th>Title</th><th></th><th class="glhide">Uploader</th></tr><tr><td class="gl1m glcat"><div class="cs ct9" onclick="document.location='https://exhentai.org/non-h'">Non-H</div></td><td class="gl2m"><div class="glcut" id="ic1392234"></div><div class="glthumb" id="it1392234" style="top:-21px;height:412px"><div><img style="height:366px;width:250px;top:-13px" alt="(C91) [Aoirokanata (Shikitani Asuka)] Neko Flan to Kainushi Koishi | 貓芙蘭和飼主戀 (Touhou Project) [Chinese] [魔恋汉化组]" title="(C91) [Aoirokanata (Shikitani Asuka)] Neko Flan to Kainushi Koishi | 貓芙蘭和飼主戀 (Touhou Project) [Chinese] [魔恋汉化组]" src="https://exhentai.org/t/7c/de/7cde7a891ea99aba2ee2f497212deb7deb02672c-10121090-2068-3021-png_250.jpg" /></div><div><div><div class="cs ct9" onclick="document.location='https://exhentai.org/non-h'">Non-H</div><div onclick="popUp('https://exhentai.org/gallerypopups.php?gid=1392234&t=6ca336fe6d&act=addfav',675,415)" id="postedpop_1392234">2019-04-03 09:21</div></div><div><div class="ir" style="background-position:0px -1px;opacity:0.53333333333333"></div><div>28 pages</div></div></div></div><div onclick="popUp('https://exhentai.org/gallerypopups.php?gid=1392234&t=6ca336fe6d&act=addfav',675,415)" id="posted_1392234">2019-04-03 09:21</div></td><td class="gl6m"><div class="gldown"><img src="https://exhentai.org/img/td.png" alt="T" title="No torrents available" /></div></td><td class="gl3m glname" onmouseover="show_image_pane(1392234);preload_pane_image(0,1392169)" onmouseout="hide_image_pane(1392234)"><a href="https://exhentai.org/g/1392234/6ca336fe6d/"><div class="glink">(C91) [Aoirokanata (Shikitani Asuka)] Neko Flan to Kainushi Koishi | 貓芙蘭和飼主戀 (Touhou Project) [Chinese] [魔恋汉化组]</div><div class="gltm"><div class="gt" style="color:#f1f1f1;border-color:#1357df;background:radial-gradient(#1357df,#3377FF) !important" title="language:chinese">chinese</div></div></a></td><td class="gl4m"><div class="ir" style="background-position:0px -1px;opacity:0.53333333333333"></div></td><td class="gl5m glhide"><div><a href="https://exhentai.org/uploader/%E5%AE%9E%E8%B7%B5%E6%A2%A6%E6%83%B3">实践梦想</a></div></td></tr><tr><td class="gl1m glcat"><div class="cs ct9" onclick="document.location='https://exhentai.org/non-h'">Non-H</div></td><td class="gl2m"><div class="glcut" id="ic1392169"></div><div class="glthumb" id="it1392169" style="top:-34px;height:397px"><div><img style="height:351px;width:250px;top:-5px" alt="[Yaruku] GOLD PLEASE! Sono 1 (Touhou Project)" title="[Yaruku] GOLD PLEASE! Sono 1 (Touhou Project)" src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" data-src="https://exhentai.org/t/4c/bd/4cbde601ef33dda8ae968c019a50e76125ca4025-401285-754-1056-jpg_250.jpg" /></div><div><div><div class="cs ct9" onclick="document.location='https://exhentai.org/non-h'">Non-H</div><div onclick="popUp('https://exhentai.org/gallerypopups.php?gid=1392169&t=f3d1cLine truncated
|
||||
</body>
|
||||
</html>
|
||||
+30
@@ -0,0 +1,30 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||||
<head>
|
||||
<title>ExHentai.org</title>
|
||||
<link rel="stylesheet" type="text/css" href="https://exhentai.org/z/0347/x.css" />
|
||||
<style type="text/css">
|
||||
@supports(display:grid){.gld{display:grid;grid-template-columns:repeat(5,1fr)}.gl1t{min-width:250px;max-width:400px}@media screen and (max-width:1360px) {.gld{grid-template-columns:repeat(4,1fr)}.gl1t:nth-child(8n+1),.gl1t:nth-child(8n+3),.gl1t:nth-child(8n+6),.gl1t:nth-child(8n+8){background:#363940}.gl1t:nth-child(8n+2),.gl1t:nth-child(8n+4),.gl1t:nth-child(8n+5),.gl1t:nth-child(8n+7){background:#3c414b}}@media screen and (max-width:1090px) {.gld{grid-template-columns:repeat(3,1fr)}.gl1t:nth-child(2n+1){background:#363940}.gl1t:nth-child(2n+2){background:#3c414b}}@media screen and (max-width:820px) {.gld{grid-template-columns:repeat(2,1fr)}.gl1t:nth-child(4n+1),.gl1t:nth-child(4n+4){background:#363940}.gl1t:nth-child(4n+2),.gl1t:nth-child(4n+3){background:#3c414b}}}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript">
|
||||
function popUp(URL,w,h) {
|
||||
window.open(URL,"_pu"+(Math.random()+"").replace(/0\./,""),"toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width="+w+",height="+h+",left="+((screen.width-w)/2)+",top="+((screen.height-h)/2));
|
||||
return false;
|
||||
}
|
||||
</script>
|
||||
<div id="nb" class="nosel"><div><a class="nbw" href="https://exhentai.org/">Front<span class="nbw1"> Page</span></a></div><div><a href="https://exhentai.org/watched">Watched</a></div><div><a href="https://exhentai.org/popular">Popular</a></div><div><a href="https://exhentai.org/torrents.php">Torrents</a></div><div><a href="https://exhentai.org/favorites.php">Fav<span class="nbw1">orite</span>s</a></div><div><a href="https://exhentai.org/uconfig.php">Settings</a></div><div><a href="https://exhentai.org/upload/manage.php"><span class="nbw2">My </span>Uploads</a></div><div><a href="https://exhentai.org/mytags">My Tags</a></div></div>
|
||||
<div class="ido" style="max-width:1370px">
|
||||
<div id="toppane">
|
||||
<div id="searchbox" class="idi"><form action="https://exhentai.org/" method="get" style="margin:0px; padding:0px"><input type="hidden" id="f_cats" name="f_cats" value="767" /><table class="itc"><tr><td><div id="cat_2" class="cs ct2" onclick="toggle_category(2)" data-disabled="1">Doujinshi</div></td><td><div id="cat_4" class="cs ct3" onclick="toggle_category(4)" data-disabled="1">Manga</div></td><td><div id="cat_8" class="cs ct4" onclick="toggle_category(8)" data-disabled="1">Artist CG</div></td><td><div id="cat_16" class="cs ct5" onclick="toggle_category(16)" data-disabled="1">Game CG</div></td><td><div id="cat_512" class="cs cta" onclick="toggle_category(512)" data-disabled="1">Western</div></td></tr><tr><td><div id="cat_256" class="cs ct9" onclick="toggle_category(256)">Non-H</div></td><td><div id="cat_32" class="cs ct6" onclick="toggle_category(32)" data-disabled="1">Image Set</div></td><td><div id="cat_64" class="cs ct7" onclick="toggle_category(64)" data-disabled="1">Cosplay</div></td><td><div id="cat_128" class="cs ct8" onclick="toggle_category(128)" data-disabled="1">Asian Porn</div></td><td><div id="cat_1" class="cs ct1" onclick="toggle_category(1)" data-disabled="1">Misc</div></td></tr></table><p class="nopm"><input type="text" id="f_search" name="f_search" placeholder="Search Keywords" size="50" maxlength="200" /><input type="submit" value="Apply Filter" onclick="search_presubmit()" /><input type="button" value="Clear Filter" onclick="top.location.href='https://exhentai.org/'; return false" /></p><p class="nopm" style="margin-top:4px"><a href="#" rel="nofollow" onclick="toggle_advsearch_pane(this); return false">Show Advanced Options</a> <a href="#" rel="nofollow" onclick="toggle_filesearch_pane(this); return false">Show File Search</a></p><div id="advdiv" style="display:none"></div></form></div><div id="fsdiv" class="idi" style="margin-top:10px; display:none"></div>
|
||||
<script type="text/javascript" src="https://exhentai.org/z/0347/ehg_index.c.js"></script>
|
||||
|
||||
<script type="text/javascript">
|
||||
var ulhost = "https://exhentai.org/upload/";
|
||||
var getrowurl = "https://exhentai.org/?page={?page?}&f_cats=767";
|
||||
</script>
|
||||
|
||||
</div><div style="position:relative; z-index:2"><p class="ip">Showing 49,597 results</p><div id="dms"><div><select onchange="document.location='https://exhentai.org/?f_cats=767&inline_set=dm_' + this.value"><option value="m">Minimal</option><option value="p">Minimal+</option><option value="l">Compact</option><option value="e">Extended</option><option value="t" selected="selected">Thumbnail</option></select></div></div><table class="ptt" style="margin:2px auto 0px"><tr><td class="ptdd"><</td><td class="ptds"><a href="https://exhentai.org/?f_cats=767&from=1391669" onclick="return false">1</a></td><td onclick="document.location=this.firstChild.href"><a href="https://exhentai.org/?page=1&f_cats=767" onclick="return false">2</a></td><td onclick="document.location=this.firstChild.href"><a href="https://exhentai.org/?page=2&f_cats=767" onclick="return false">3</a></td><td onclick="document.location=this.firstChild.href"><a href="https://exhentai.org/?page=3&f_cats=767" onclick="return false">4</a></td><td onclick="document.location=this.firstChild.href"><a href="https://exhentai.org/?page=4&f_cats=767" onclick="return false">5</a></td><td onclick="document.location=this.firstChild.href"><a href="https://exhentai.org/?page=5&f_cats=767" onclick="return false">6</a></td><td onclick="document.location=this.firstChild.href"><a href="https://exhentai.org/?page=6&f_cats=767" onclick="return false">7</a></td><td onclick="var page=prompt('Jump to page: (1-1984)', 1); if(page != null) document.location='https://exhentai.org/?page='+Math.min(1983, Math.max(0, page - 1))+'&f_cats=767'">...</td><td onclick="document.location=this.firstChild.href"><a href="https://exhentai.org/?page=1983&f_cats=767" onclick="return false">1984</a></td><td onclick="document.location=this.firstChild.href"><a href="https://exhentai.org/?page=1&f_cats=767" onclick="return false">></a></td></tr></table><div class="itg gld"><div class="gl1t"><a href="https://exhentai.org/g/1392234/6ca336fe6d/"><div class="gl4t glname">(C91) [Aoirokanata (Shikitani Asuka)] Neko Flan to Kainushi Koishi | 貓芙蘭和飼主戀 (Touhou Project) [Chinese] [魔恋汉化组]</div></a><div class="gl3t" style="height:340px;width:250px"><a href="https://exhentai.org/g/1392234/6ca336fe6d/"><img style="height:366px;width:250px;top:-13px" alt="(C91) [Aoirokanata (Shikitani Asuka)] Neko Flan to Kainushi Koishi | 貓芙蘭和飼主戀 (Touhou Project) [Chinese] [魔恋汉化组]" title="(C91) [Aoirokanata (Shikitani Asuka)] Neko Flan to Kainushi Koishi | 貓芙蘭和飼主戀 (Touhou Project) [Chinese] [魔恋汉化组]" src="https://exhentai.org/t/7c/de/7cde7a891ea99aba2ee2f497212deb7deb02672c-10121090-2068-3021-png_250.jpg" /></a></div><div class="gl6t"><div class="gt" style="color:#f1f1f1;border-color:#1357df;background:radial-gradient(#1357df,#3377FF) !important" title="language:chinese">chinese</div></div><div class="gl5t"><div><div class="cs ct9" onclick="document.location='https://exhentai.org/non-h'">Non-H</div><div onclick="popUp('https://exhentai.org/gallerypopups.php?gid=1392234&t=6ca336fe6d&act=addfav',675,415)" id="posted_1392234">2019-04-03 09:21</div></div><div><div class="ir" style="background-position:0px -1px;opacity:0.53333333333333"></div><div>28 pages</div><div class="gldown"><img src="https://exhentai.org/img/td.png" alt="T" title="No torrents available" /></div></div></div></div><div class="gl1t"><a href="https://exhentai.org/g/1392169/f3d1c7032b/"><div class="gl4t glname">[Yaruku] GOLD PLEASE! Sono 1 (Touhou Project)</div></a><div class="gl3t" style="height:340px;width:250px"><a href="https://exhentai.org/g/1392169/f3d1c7032b/"><img style="height:351px;width:250px;top:-5px" alt="[Yaruku] GOLD PLEASE! Sono 1 (Touhou Project)" title="[Yaruku] GOLD PLEASE! Sono 1 (Touhou Project)" src="https://exhentai.org/t/4c/bd/4cbde601ef33dda8ae968c019a50e76125ca4025-401285-754-1056-jpg_250.jpg" /></a></div><div class="gl5t"><div><div class="cs ct9" onclick="document.location='https://exhentai.org/non-h'">Non-H</div><div onclick="popUp('https://exhentai.org/gallerypopups.php?gid=1392169&t=f3d1c7032b&act=addfav',675,415)" id="posted_1392169">2019-04-03 06:23</div></div><div><div class="ir" style="background-position:0px -21px;opacity:0.53333333333333"></div><div>8 pages</div><div class="gldown"><img src="https://exhentai.org/img/td.png" alt="T" title="No torrents available" /></div></div></div></div><div class="gl1t"><a href="https://exhentai.org/g/1392168/f22264201c/"><div class="gl4t glname">[Yaruku] 絹代式修理法 (Girls und Panzer) [Digital]</div></a><div class="gl3t" style="height:340px;width:250px"><a href="https://exhentai.org/g/1392168/f22264201c/"><img style="height:342px;width:250px;top:-1px" alt="[Yaruku] 絹代式修理法 (Girls und Panzer) [Digital]" title="[Yaruku] 絹代式修理法 (Girls und Panzer) [Digital]" src="https://exhentai.org/t/25/14/251491479565219eec896d754b79c1a9bc2aaf9c-766037Line truncated
|
||||
</body>
|
||||
</html>
|
||||
-27
@@ -1,27 +0,0 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||||
<head>
|
||||
<title>ExHentai.org</title>
|
||||
<link rel="stylesheet" type="text/css" href="https://exhentai.org/z/0340/x.css" />
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript">
|
||||
function popUp(URL,w,h) {
|
||||
window.open(URL,"_pu"+(Math.random()+"").replace(/0\./,""),"toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width="+w+",height="+h+",left="+((screen.width-w)/2)+",top="+((screen.height-h)/2));
|
||||
return false;
|
||||
}
|
||||
</script>
|
||||
<div id="nb" class="nosel"><div><a class="nbw" href="https://exhentai.org/">Front<span class="nbw1"> Page</span></a></div><div><a href="https://exhentai.org/watched">Watched</a></div><div><a href="https://exhentai.org/popular">Popular</a></div><div><a href="https://exhentai.org/torrents.php">Torrents</a></div><div><a href="https://exhentai.org/favorites.php">Fav<span class="nbw1">orite</span>s</a></div><div><a href="https://exhentai.org/uconfig.php">Settings</a></div><div><a href="https://exhentai.org/upload/manage.php"><span class="nbw2">My </span>Uploads</a></div><div><a href="https://exhentai.org/mytags">My Tags</a></div></div>
|
||||
<div class="ido">
|
||||
<div id="toppane">
|
||||
<h1 class="ih">ExHentai.org - The X Makes It Sound Cool</h1><div id="searchbox" class="idi"><form action="https://exhentai.org/" method="get" style="margin:0px; padding:0px"><input type="hidden" id="f_cats" name="f_cats" value="512" disabled="disabled" /><table class="itc"><tr><td><div id="cat_2" class="cs ct2" onclick="toggle_category(2)">Doujinshi</div></td><td><div id="cat_4" class="cs ct3" onclick="toggle_category(4)">Manga</div></td><td><div id="cat_8" class="cs ct4" onclick="toggle_category(8)">Artist CG</div></td><td><div id="cat_16" class="cs ct5" onclick="toggle_category(16)">Game CG</div></td><td><div id="cat_512" class="cs cta" onclick="toggle_category(512)" data-disabled="1">Western</div></td></tr><tr><td><div id="cat_256" class="cs ct9" onclick="toggle_category(256)">Non-H</div></td><td><div id="cat_32" class="cs ct6" onclick="toggle_category(32)">Image Set</div></td><td><div id="cat_64" class="cs ct7" onclick="toggle_category(64)">Cosplay</div></td><td><div id="cat_128" class="cs ct8" onclick="toggle_category(128)">Asian Porn</div></td><td><div id="cat_1" class="cs ct1" onclick="toggle_category(1)">Misc</div></td></tr></table><p class="nopm"><input type="text" id="f_search" name="f_search" placeholder="Search Keywords" size="50" maxlength="200" /><input type="submit" value="Apply Filter" onclick="search_presubmit()" /><input type="button" value="Clear Filter" onclick="top.location.href='https://exhentai.org/'; return false" /></p><p class="nopm" style="margin-top:4px"><a href="#" rel="nofollow" onclick="toggle_advsearch_pane(this); return false">Show Advanced Options</a> <a href="#" rel="nofollow" onclick="toggle_filesearch_pane(this); return false">Show File Search</a></p><div id="advdiv" style="display:none"></div></form></div><div id="fsdiv" class="idi" style="margin-top:10px; display:none"></div>
|
||||
<script type="text/javascript" src="https://exhentai.org/z/0340/ehg_index.c.js"></script>
|
||||
|
||||
<script type="text/javascript">
|
||||
var ulhost = "https://exhentai.org/upload/";
|
||||
var getrowurl = "https://exhentai.org/?page={?page?}";
|
||||
</script>
|
||||
|
||||
</div><div style="position:relative; z-index:2"><p class="ip">Showing page 1 of 592,397 results</p><div id="dms"><div><select onchange="document.location='https://exhentai.org/?inline_set=dm_' + this.value"><option value="m">Minimal</option><option value="l">Compact</option><option value="e" selected="selected">Extended</option><option value="t">Thumbnail</option></select></div></div><table class="ptt" style="margin:2px auto 0px"><tr><td class="ptdd"><</td><td class="ptds"><a href="https://exhentai.org/?from=1383595" onclick="return false">1</a></td><td onclick="document.location=this.firstChild.href"><a href="https://exhentai.org/?page=1" onclick="return false">2</a></td><td onclick="document.location=this.firstChild.href"><a href="https://exhentai.org/?page=2" onclick="return false">3</a></td><td onclick="document.location=this.firstChild.href"><a href="https://exhentai.org/?page=3" onclick="return false">4</a></td><td onclick="document.location=this.firstChild.href"><a href="https://exhentai.org/?page=4" onclick="return false">5</a></td><td onclick="document.location=this.firstChild.href"><a href="https://exhentai.org/?page=5" onclick="return false">6</a></td><td onclick="document.location=this.firstChild.href"><a href="https://exhentai.org/?page=6" onclick="return false">7</a></td><td onclick="var page=prompt('Jump to page: (1-11848)', 1); if(page != null) document.location='https://exhentai.org/?page='+Math.min(11847, Math.max(0, page - 1))+''">...</td><td onclick="document.location=this.firstChild.href"><a href="https://exhentai.org/?page=11847" onclick="return false">11848</a></td><td onclick="document.location=this.firstChild.href"><a href="https://exhentai.org/?page=1" onclick="return false">></a></td></tr></table><table class="itg glt"><tr><td class="gl1e" onclick="return open_gallery(this,event,'https://exhentai.org/g/1383685/a02791a295/')"><div style="height:340px;width:250px"><a href="https://exhentai.org/g/1383685/a02791a295/"><img style="height:354px;width:250px;top:-7px" src="https://exhentai.org/t/4c/d2/4cd25d762b88198c488d505a34cb2d9788e9af00-3137024-2480-3508-png_250.jpg" alt="Artist - lihobuut (일호붓)" /></a></div></td><td class="gl2e"><div><div class="gl3e"><div class="cn ct6" onclick="document.location='https://exhentai.org/imageset'">Image Set</div><div class="glnew" onclick="popUp('https://exhentai.org/gallerypopups.php?gid=1383685&t=a02791a295&act=addfav',675,415)" id="posted_1383685">2019-03-19 09:48</div><div class="ir" style="background-position:0px -21px;opacity:1"></div><div><a href="https://exhentai.org/uploader/Assassin_">Assassin_</a></div><div>404 pages</div><div class="gldown"><a href="https://exhentai.org/gallerytorrents.php?gid=1383685&t=a02791a295" onclick="return popUp('https://exhentai.org/gallerytorrents.php?gid=1383685&t=a02791a295', 610, 590)" rel="nofollow"><img src="https://exhentai.org/img/t.png" alt="T" title="Show torrents" /></a></div></div><div class="gl4e glname" style="min-height:348px" onclick="return open_gallery(this,event,'https://exhentai.org/g/1383685/a02791a295/')"><div onclick="return open_gallery(this,event,'https://exhentai.org/g/1383685/a02791a295/')"><a href="https://exhentai.org/g/1383685/a02791a295/">Artist - lihobuut (일호붓)</a></div><div><table><tr><td class="tc">parody:</td><td><div class="gtl" title="parody:girls frontline">girls frontline</div></td><tr><td class="tc">female:</td><td><div class="gt" title="female:big breasts">big breasts</div><div class="gtl" title="female:leotard">leotard</div><div class="gtl" title="female:military">military</div><div class="gtl" title="female:stockings">stockings</div><div class="gtl" title="female:swimsuit">swimsuit</div></td><tr><td class="tc">misc:</td><td><div class="gtl" title=":lihobuut">lihobuut</div></td></table></div></div></div></td></tr><tr><td class="gl1e" onclick="return open_gallery(this,event,'https://exhentai.org/g/1383678/e91b82c2b9/')"><div style="height:340px;width:250px"><a href="https://exhentai.org/g/1383678/e91b82c2b9/"><img style="height:360px;width:250px;top:-10px" src="https://exhentai.org/t/e6/c8/e6c887198530269ec3defc3cc9266561e86de8cf-150593-1513-2173-jpg_250.jpg" alt="Artist -CHS工作室-共享妻子 2019-3-16" /></a></div></td><td class="gl2e"><div><div class="gl3e"><div class="cn ct1" onclick="document.location='https://exhentai.org/misc'">Misc</div><div class="glnew" onclick="popUp('https://exhentai.org/gallerypopups.php?gid=1383678&t=e91b82c2b9&act=addfav',675,415)" id="posted_1383678">2019-03-19 09:46</div><div class="ir" style="background-position:-32px -1px;opacity:0.46666666666667"></div><div><a href="https://exhentai.org/uploader/cangyuewing">cangyuewing</a></div><div>569 pages</div><div class="gldown"><img src="https://exhentai.org/img/td.png" alt="T" title="No torrents available" /></div></div><div class="gl4e glname" style="min-height:348px" onclick="return open_gallery(this,event,'https://exhentai.org/g/1383678/e91b82c2bLine truncated
|
||||
</body>
|
||||
</html>
|
||||
-27
@@ -1,27 +0,0 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||||
<head>
|
||||
<title>ExHentai.org</title>
|
||||
<link rel="stylesheet" type="text/css" href="https://exhentai.org/z/0340/x.css" />
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript">
|
||||
function popUp(URL,w,h) {
|
||||
window.open(URL,"_pu"+(Math.random()+"").replace(/0\./,""),"toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width="+w+",height="+h+",left="+((screen.width-w)/2)+",top="+((screen.height-h)/2));
|
||||
return false;
|
||||
}
|
||||
</script>
|
||||
<div id="nb" class="nosel"><div><a class="nbw" href="https://exhentai.org/">Front<span class="nbw1"> Page</span></a></div><div><a href="https://exhentai.org/watched">Watched</a></div><div><a href="https://exhentai.org/popular">Popular</a></div><div><a href="https://exhentai.org/torrents.php">Torrents</a></div><div><a href="https://exhentai.org/favorites.php">Fav<span class="nbw1">orite</span>s</a></div><div><a href="https://exhentai.org/uconfig.php">Settings</a></div><div><a href="https://exhentai.org/upload/manage.php"><span class="nbw2">My </span>Uploads</a></div></div>
|
||||
<div class="ido">
|
||||
<div id="toppane">
|
||||
<h1 class="ih">ExHentai.org - The X Makes It Sound Cool</h1><div id="searchbox" class="idi"><form action="https://exhentai.org/" method="get" style="margin:0px; padding:0px"><input type="hidden" id="f_cats" name="f_cats" value="512" disabled="disabled" /><table class="itc"><tr><td><div id="cat_2" class="cs ct2" onclick="toggle_category(2)">Doujinshi</div></td><td><div id="cat_4" class="cs ct3" onclick="toggle_category(4)">Manga</div></td><td><div id="cat_8" class="cs ct4" onclick="toggle_category(8)">Artist CG</div></td><td><div id="cat_16" class="cs ct5" onclick="toggle_category(16)">Game CG</div></td><td><div id="cat_512" class="cs cta" onclick="toggle_category(512)" data-disabled="1">Western</div></td></tr><tr><td><div id="cat_256" class="cs ct9" onclick="toggle_category(256)">Non-H</div></td><td><div id="cat_32" class="cs ct6" onclick="toggle_category(32)">Image Set</div></td><td><div id="cat_64" class="cs ct7" onclick="toggle_category(64)">Cosplay</div></td><td><div id="cat_128" class="cs ct8" onclick="toggle_category(128)">Asian Porn</div></td><td><div id="cat_1" class="cs ct1" onclick="toggle_category(1)">Misc</div></td></tr></table><p class="nopm"><input type="text" id="f_search" name="f_search" placeholder="Search Keywords" size="50" maxlength="200" /><input type="submit" value="Apply Filter" onclick="search_presubmit()" /><input type="button" value="Clear Filter" onclick="top.location.href='https://exhentai.org/'; return false" /></p><p class="nopm" style="margin-top:4px"><a href="#" rel="nofollow" onclick="toggle_advsearch_pane(this); return false">Show Advanced Options</a> <a href="#" rel="nofollow" onclick="toggle_filesearch_pane(this); return false">Show File Search</a></p><div id="advdiv" style="display:none"></div></form></div><div id="fsdiv" class="idi" style="margin-top:10px; display:none"></div>
|
||||
<script type="text/javascript" src="https://exhentai.org/z/0340/ehg_index.c.js"></script>
|
||||
|
||||
<script type="text/javascript">
|
||||
var ulhost = "https://exhentai.org/upload/";
|
||||
var getrowurl = "https://exhentai.org/?page={?page?}";
|
||||
</script>
|
||||
|
||||
</div><div style="position:relative; z-index:2"><p class="ip">Showing page 1 of 592,394 results</p><div id="dms"><div><select onchange="document.location='https://exhentai.org/?inline_set=dm_' + this.value"><option value="m" selected="selected">Minimal</option><option value="l">Compact</option><option value="e">Extended</option><option value="t">Thumbnail</option></select></div></div><table class="ptt" style="margin:2px auto 0px"><tr><td class="ptdd"><</td><td class="ptds"><a href="https://exhentai.org/?from=1383591" onclick="return false">1</a></td><td onclick="document.location=this.firstChild.href"><a href="https://exhentai.org/?page=1" onclick="return false">2</a></td><td onclick="document.location=this.firstChild.href"><a href="https://exhentai.org/?page=2" onclick="return false">3</a></td><td onclick="document.location=this.firstChild.href"><a href="https://exhentai.org/?page=3" onclick="return false">4</a></td><td onclick="document.location=this.firstChild.href"><a href="https://exhentai.org/?page=4" onclick="return false">5</a></td><td onclick="document.location=this.firstChild.href"><a href="https://exhentai.org/?page=5" onclick="return false">6</a></td><td onclick="document.location=this.firstChild.href"><a href="https://exhentai.org/?page=6" onclick="return false">7</a></td><td onclick="var page=prompt('Jump to page: (1-11848)', 1); if(page != null) document.location='https://exhentai.org/?page='+Math.min(11847, Math.max(0, page - 1))+''">...</td><td onclick="document.location=this.firstChild.href"><a href="https://exhentai.org/?page=11847" onclick="return false">11848</a></td><td onclick="document.location=this.firstChild.href"><a href="https://exhentai.org/?page=1" onclick="return false">></a></td></tr></table><table class="itg glt"><tr><th></th><th>Published</th><th>Title</th><th></th><th class="glhide">Uploader</th></tr><tr><td class="gl1m glcat"><div class="cs ct6" onclick="document.location='https://exhentai.org/imageset'">Image Set</div></td><td class="gl2m"><div class="glthumb" id="i1383683" style="border:2px solid #0000FF;top:-1px;left:-89px;height:375px;width:229px"><img src="https://exhentai.org/t/3e/b9/3eb90038964bbe03403153d8990d87dd0b70d53e-1036532-1200-1971-jpg_250.jpg" alt="[Pixiv] ム菓ツク (163404)" /></div><div class="glnew" onclick="popUp('https://exhentai.org/gallerypopups.php?gid=1383683&t=3d7459e6f2&act=addfav',675,415)" id="posted_1383683">2019-03-19 09:37</div><div class="gldown"><img src="https://exhentai.org/img/td.png" alt="T" title="No torrents available" /></div></td><td class="gl3m glname" onmouseover="show_image_pane(1383683);preload_pane_image_delayed(0,1383683,1383645)" onmouseout="hide_image_pane(1383683);preload_pane_image_cancel()" onclick="return open_gallery(this,event,'https://exhentai.org/g/1383683/3d7459e6f2/')"><div><a href="https://exhentai.org/g/1383683/3d7459e6f2/">[Pixiv] ム菓ツク (163404)</a></div></td><td class="gl4m"><div class="ir" style="background-position:-16px -1px;opacity:1"></div></td><td class="gl5m glhide"><div><a href="https://exhentai.org/uploader/Assassin_">Assassin_</a></div></td></tr><tr><td class="gl1m glcat"><div class="cs ct9" onclick="document.location='https://exhentai.org/non-h'">Non-H</div></td><td class="gl2m"><div class="glthumb" id="i1383645" style="border:2px solid #16FFFC;top:-8px;left:-105px;height:375px;width:245px">inits~exhentai.org~t/9d/a0/9da0915d63af43b1158b941d958b23152da7cc59-551340-737-1130-jpg_250.jpg~[ぱげらった] ウチの妻は忘れっぽい [中国翻訳]</div><div class="glnew" onclick="popUp('https://exhentai.org/gallerypopups.php?gid=1383645&t=03d17831b0&act=addfav',675,415)" id="posted_1383645">2019-03-19 09:33</div><div class="gldown"><img src="https://exhentai.org/img/td.png" alt="T" title="No torrents available" /></div></td><td class="gl3m glname" onmouseover="show_image_pane(1383645);preload_pane_image_delayed(1383683,1383645,1383682)" onmouseout="hide_image_pane(1383645);preload_pane_image_cancel()" onclick="return open_gallery(this,event,'https://exhentai.org/g/1383645/03d17831b0/')"><div><a href="https://exhentai.org/g/1383645/03d17831b0/">[ぱげらった] ウチの妻は忘れっぽい [中国翻訳]</a></div></td><td class="gl4m"><div class="ir" style="background-position:0px -1px;opacity:0.73333333333333"></div></td><td class="gl5m glhide"><div><a href="https://exhentai.org/uploader/futarina">futarina</a></div></td></tr><tr><td class="gl1m glcat"><div class="cs ct6" onclick="document.location='https://exhentai.org/imageset'">Image Set</div></td><td class="gl2m"><div class="glthumb" id="i1383682" style="border:2px solid #0000FF;top:-14px;left:-110px;height:354px;width:250px">inits~exhentai.org~t/ea/7d/ea7d8fe0926e7ce65180f3b7afa8272b86625c2f-2183215-2480-3508-jpg_250.jpg~Artist - Cirenk</div><div class="glnew" onclick="popUp('https://exhentai.org/gallerypopups.php?gid=1383682&t=69d1bc7eaf&act=addfav',675,415)" id="posted_1383682">2019-03-19 09:29</diLine truncated
|
||||
</body>
|
||||
</html>
|
||||
-27
@@ -1,27 +0,0 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||||
<head>
|
||||
<title>ExHentai.org</title>
|
||||
<link rel="stylesheet" type="text/css" href="https://exhentai.org/z/0340/x.css" />
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript">
|
||||
function popUp(URL,w,h) {
|
||||
window.open(URL,"_pu"+(Math.random()+"").replace(/0\./,""),"toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width="+w+",height="+h+",left="+((screen.width-w)/2)+",top="+((screen.height-h)/2));
|
||||
return false;
|
||||
}
|
||||
</script>
|
||||
<div id="nb" class="nosel"><div><a class="nbw" href="https://exhentai.org/">Front<span class="nbw1"> Page</span></a></div><div><a href="https://exhentai.org/watched">Watched</a></div><div><a href="https://exhentai.org/popular">Popular</a></div><div><a href="https://exhentai.org/torrents.php">Torrents</a></div><div><a href="https://exhentai.org/favorites.php">Fav<span class="nbw1">orite</span>s</a></div><div><a href="https://exhentai.org/uconfig.php">Settings</a></div><div><a href="https://exhentai.org/upload/manage.php"><span class="nbw2">My </span>Uploads</a></div><div><a href="https://exhentai.org/mytags">My Tags</a></div></div>
|
||||
<div class="ido" style="max-width:1370px">
|
||||
<div id="toppane">
|
||||
<h1 class="ih">ExHentai.org - The X Makes It Sound Cool</h1><div id="searchbox" class="idi"><form action="https://exhentai.org/" method="get" style="margin:0px; padding:0px"><input type="hidden" id="f_cats" name="f_cats" value="512" disabled="disabled" /><table class="itc"><tr><td><div id="cat_2" class="cs ct2" onclick="toggle_category(2)">Doujinshi</div></td><td><div id="cat_4" class="cs ct3" onclick="toggle_category(4)">Manga</div></td><td><div id="cat_8" class="cs ct4" onclick="toggle_category(8)">Artist CG</div></td><td><div id="cat_16" class="cs ct5" onclick="toggle_category(16)">Game CG</div></td><td><div id="cat_512" class="cs cta" onclick="toggle_category(512)" data-disabled="1">Western</div></td></tr><tr><td><div id="cat_256" class="cs ct9" onclick="toggle_category(256)">Non-H</div></td><td><div id="cat_32" class="cs ct6" onclick="toggle_category(32)">Image Set</div></td><td><div id="cat_64" class="cs ct7" onclick="toggle_category(64)">Cosplay</div></td><td><div id="cat_128" class="cs ct8" onclick="toggle_category(128)">Asian Porn</div></td><td><div id="cat_1" class="cs ct1" onclick="toggle_category(1)">Misc</div></td></tr></table><p class="nopm"><input type="text" id="f_search" name="f_search" placeholder="Search Keywords" size="50" maxlength="200" /><input type="submit" value="Apply Filter" onclick="search_presubmit()" /><input type="button" value="Clear Filter" onclick="top.location.href='https://exhentai.org/'; return false" /></p><p class="nopm" style="margin-top:4px"><a href="#" rel="nofollow" onclick="toggle_advsearch_pane(this); return false">Show Advanced Options</a> <a href="#" rel="nofollow" onclick="toggle_filesearch_pane(this); return false">Show File Search</a></p><div id="advdiv" style="display:none"></div></form></div><div id="fsdiv" class="idi" style="margin-top:10px; display:none"></div>
|
||||
<script type="text/javascript" src="https://exhentai.org/z/0340/ehg_index.c.js"></script>
|
||||
|
||||
<script type="text/javascript">
|
||||
var ulhost = "https://exhentai.org/upload/";
|
||||
var getrowurl = "https://exhentai.org/?page={?page?}";
|
||||
</script>
|
||||
|
||||
</div><div style="position:relative; z-index:2"><p class="ip">Showing page 1 of 592,397 results</p><div id="dms"><div><select onchange="document.location='https://exhentai.org/?inline_set=dm_' + this.value"><option value="m">Minimal</option><option value="l">Compact</option><option value="e">Extended</option><option value="t" selected="selected">Thumbnail</option></select></div></div><table class="ptt" style="margin:2px auto 0px"><tr><td class="ptdd"><</td><td class="ptds"><a href="https://exhentai.org/?from=1383595" onclick="return false">1</a></td><td onclick="document.location=this.firstChild.href"><a href="https://exhentai.org/?page=1" onclick="return false">2</a></td><td onclick="document.location=this.firstChild.href"><a href="https://exhentai.org/?page=2" onclick="return false">3</a></td><td onclick="document.location=this.firstChild.href"><a href="https://exhentai.org/?page=3" onclick="return false">4</a></td><td onclick="document.location=this.firstChild.href"><a href="https://exhentai.org/?page=4" onclick="return false">5</a></td><td onclick="document.location=this.firstChild.href"><a href="https://exhentai.org/?page=5" onclick="return false">6</a></td><td onclick="document.location=this.firstChild.href"><a href="https://exhentai.org/?page=6" onclick="return false">7</a></td><td onclick="var page=prompt('Jump to page: (1-11848)', 1); if(page != null) document.location='https://exhentai.org/?page='+Math.min(11847, Math.max(0, page - 1))+''">...</td><td onclick="document.location=this.firstChild.href"><a href="https://exhentai.org/?page=11847" onclick="return false">11848</a></td><td onclick="document.location=this.firstChild.href"><a href="https://exhentai.org/?page=1" onclick="return false">></a></td></tr></table><div class="itg gld"><div class="gl1t"><div class="gl5t"><div class="cn ct6" onclick="document.location='https://exhentai.org/imageset'">Image Set</div><div class="glnew" onclick="popUp('https://exhentai.org/gallerypopups.php?gid=1383685&t=a02791a295&act=addfav',675,415)" id="posted_1383685">2019-03-19 09:48</div><div class="ir" style="background-position:0px -21px;opacity:1"></div><div class="gldown"><a href="https://exhentai.org/gallerytorrents.php?gid=1383685&t=a02791a295" onclick="return popUp('https://exhentai.org/gallerytorrents.php?gid=1383685&t=a02791a295', 610, 590)" rel="nofollow"><img src="https://exhentai.org/img/t.png" alt="T" title="Show torrents" /></a></div></div><div class="gl3t" style="height:340px;width:250px"><a href="https://exhentai.org/g/1383685/a02791a295/"><img style="height:354px;width:250px;top:-7px" src="https://exhentai.org/t/4c/d2/4cd25d762b88198c488d505a34cb2d9788e9af00-3137024-2480-3508-png_250.jpg" alt="Artist - lihobuut (일호붓)" /></a></div><div class="gl4t glname"><a href="https://exhentai.org/g/1383685/a02791a295/">Artist - lihobuut (일호붓)</a></div><div class="gl6t"> </div></div><div class="gl1t"><div class="gl5t"><div class="cn ct1" onclick="document.location='https://exhentai.org/misc'">Misc</div><div class="glnew" onclick="popUp('https://exhentai.org/gallerypopups.php?gid=1383678&t=e91b82c2b9&act=addfav',675,415)" id="posted_1383678">2019-03-19 09:46</div><div class="ir" style="background-position:-32px -1px;opacity:0.46666666666667"></div><div class="gldown"><img src="https://exhentai.org/img/td.png" alt="T" title="No torrents available" /></div></div><div class="gl3t" style="height:340px;width:250px"><a href="https://exhentai.org/g/1383678/e91b82c2b9/"><img style="height:360px;width:250px;top:-10px" src="https://exhentai.org/t/e6/c8/e6c887198530269ec3defc3cc9266561e86de8cf-150593-1513-2173-jpg_250.jpg" alt="Artist -CHS工作室-共享妻子 2019-3-16" /></a></div><div class="gl4t glname"><a href="https://exhentai.org/g/1383678/e91b82c2b9/">Artist -CHS工作室-共享妻子 2019-3-16</a></div><div class="gl6t"> </div></div><div class="gl1t"><div class="gl5t"><div class="cn ct1" onclick="document.location='https://exhentai.org/misc'">Misc</div><div class="glnew" onclick="popUp('https://exhentai.org/gallerypopups.php?gid=1383664&t=596e57c0f6&act=addfav',675,415)" id="posted_1383664">2019-03-19 09:46</div><div class="ir" style="background-position:-32px -1px;opacity:0.46666666666667"></div><div class="gldown"><img src="https://exhentai.org/img/td.png" alt="T" title="No torrents available" /></div></div><div class="gl3t" style="height:340px;width:250px"><a href="https://exhentai.org/g/1383664/596e57c0f6/"><img style="height:357px;width:250px;top:-8px" src="https://exhentai.org/t/10/c2/10c23dff9d12784e33376ff09fdc6dc9c7fb9f02-433436-1514-2160-jpg_250.jpg" alt="Artist -CHS工作室 2019-3-16" /></a></div><div class="gl4t glname"><a href="https://exhentai.org/g/1383664/596e57c0f6/">Artist -CHS工作室 2019-3-16</a></div><div class="gl6t"> </div></div><div class="gl1t"><div class="gl5t"><div class="cn ct6" onclick="document.location='https://exhentai.org/imageset'">Image Set</div><div class="glLine truncated
|
||||
</body>
|
||||
</html>
|
||||
+2
-2
@@ -8,8 +8,8 @@ buildscript {
|
||||
maven { url "https://jitpack.io" }
|
||||
}
|
||||
dependencies {
|
||||
classpath 'com.android.tools.build:gradle:3.3.2'
|
||||
classpath 'com.google.gms:google-services:4.2.0'
|
||||
classpath 'com.android.tools.build:gradle:3.4.2'
|
||||
classpath 'com.google.gms:google-services:4.3.0'
|
||||
classpath 'io.fabric.tools:gradle:1.27.1'
|
||||
|
||||
// NOTE: Do not place your application dependencies here; they belong
|
||||
|
||||
+1
-2
@@ -1,6 +1,5 @@
|
||||
#Wed Jan 16 18:10:40 CST 2019
|
||||
distributionBase=GRADLE_USER_HOME
|
||||
distributionPath=wrapper/dists
|
||||
zipStoreBase=GRADLE_USER_HOME
|
||||
zipStorePath=wrapper/dists
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-4.10.3-all.zip
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-5.5.1-all.zip
|
||||
Reference in new issue
Block a user