update app

This commit is contained in:
Roy Olav Purser 2021-06-04 11:09:16 +02:00
parent ba1f9a06b0
commit 28db68178c
Signed by: roypur
GPG Key ID: E14D26A036F21656
4 changed files with 5 additions and 7 deletions

View File

@ -10,8 +10,8 @@ android {
applicationId "it.purser.stream" applicationId "it.purser.stream"
minSdkVersion 25 minSdkVersion 25
targetSdkVersion 29 targetSdkVersion 29
versionCode 108 versionCode 109
versionName "108.0" versionName "109.0"
} }
buildTypes { buildTypes {
@ -28,4 +28,4 @@ android {
dependencies { dependencies {
testImplementation 'junit:junit:4.+' testImplementation 'junit:junit:4.+'
} }

View File

@ -58,7 +58,6 @@ public class ShareActivity extends Activity {
builder.scheme("https"); builder.scheme("https");
builder.path(upstream.uri.getPath()); builder.path(upstream.uri.getPath());
builder.appendQueryParameter("provider", upstream.provider); builder.appendQueryParameter("provider", upstream.provider);
builder.appendQueryParameter("render", "true");
Intent launch = new Intent(Intent.ACTION_VIEW, builder.build()); Intent launch = new Intent(Intent.ACTION_VIEW, builder.build());
launch.setPackage("com.android.chrome"); launch.setPackage("com.android.chrome");
launch.putExtra("android.support.customtabs.extra.SESSION", "Proxy Stream"); launch.putExtra("android.support.customtabs.extra.SESSION", "Proxy Stream");
@ -67,4 +66,4 @@ public class ShareActivity extends Activity {
} }
finish(); finish();
} }
} }

View File

@ -1,6 +1,6 @@
{ {
"name": "Proxy Stream", "name": "Proxy Stream",
"version": "112.0", "version": "113.0",
"manifest_version": 3, "manifest_version": 3,
"permissions": ["tabs"], "permissions": ["tabs"],
"action": { "action": {

View File

@ -12,7 +12,6 @@ document.addEventListener("DOMContentLoaded", () => {
let oldurl = new URL(tabs[0].url); let oldurl = new URL(tabs[0].url);
let newurl = new URL("https://stream.purser.it"); let newurl = new URL("https://stream.purser.it");
let search = new URLSearchParams(); let search = new URLSearchParams();
search.append("render", "true");
let hostname = oldurl.hostname.toLowerCase(); let hostname = oldurl.hostname.toLowerCase();
if(providers.has(hostname)) { if(providers.has(hostname)) {
if(hostname.includes("youtube.com")) { if(hostname.includes("youtube.com")) {