update app
This commit is contained in:
parent
ba1f9a06b0
commit
28db68178c
@ -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 {
|
||||||
|
@ -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");
|
||||||
|
@ -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": {
|
||||||
|
@ -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")) {
|
||||||
|
Loading…
Reference in New Issue
Block a user