Skip to content

Commit

Permalink
URLスキームを追加 (#214)
Browse files Browse the repository at this point in the history
  • Loading branch information
s1204IT authored Nov 14, 2024
1 parent b6cbf35 commit 3138222
Showing 1 changed file with 10 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -32,11 +32,16 @@ protected void beforeHookedMethod(MethodHookParam param) throws Throwable {
if (webView != null) {
String currentUrl = webView.getUrl();

if (currentUrl != null &&
(currentUrl.startsWith("https://account-center.lylink.yahoo.co.jp") ||
currentUrl.startsWith("https://access.line.me") ||
currentUrl.startsWith("https://id.lylink.yahoo.co.jp/federation/ly/normal/callback/first"))) {

if (currentUrl != null && (
currentUrl.startsWith("https://account-center.lylink.yahoo.co.jp") ||
currentUrl.startsWith("https://access.line.me") ||
currentUrl.startsWith("https://id.lylink.yahoo.co.jp/federation/ly/normal/callback/first") ||
currentUrl.startsWith("https://liff.line.me") ||
curreetUrl.startsWith("https://lin.ee") ||
currentUrl.startsWith("https://line.me/R/") ||
currentUrl.startsWith("line://")
)
) {
return;
}

0 comments on commit 3138222

Please sign in to comment.