Maj des adresses extension, userscript et PreMid

This commit is contained in:
Movix 2026-05-30 17:07:05 +02:00
parent 4d60772001
commit 990a5163a2
9 changed files with 26 additions and 10 deletions

View file

@ -1,5 +1,5 @@
export const SITE_NAME = 'Movix'
export const FALLBACK_SITE_URL = 'https://movix.cash'
export const FALLBACK_SITE_URL = 'https://movix.cloud'
export const FALLBACK_LOGO = `${FALLBACK_SITE_URL}/movix512.png`
export const TMDB_API_BASE = 'https://api.themoviedb.org/3'
export const TMDB_IMAGE_BASE = 'https://image.tmdb.org/t/p'

View file

@ -1,4 +1,5 @@
{
"$schema": "https://schemas.premid.app/metadata/1.16",
"apiVersion": 1,
"author": {
"name": "Movix",
@ -9,11 +10,11 @@
"en": "Movix is a streaming platform for movies, series, anime, and watch parties.",
"fr": "Movix est une plateforme de streaming pour films, series, anime et watch parties."
},
"url": ["movix.cash", "movix.cash", "movix.cash"],
"regExp": "^https:\\/\\/([a-z0-9-]+[.])*(movix[.](?:rodeo|website|blog))(?:[/]|$)",
"version": "1.0.0",
"logo": "https://movix.cash/movix512.png",
"thumbnail": "https://movix.cash/thumbnail.png",
"url": ["movix.tax", "movix.cash", "movix.cloud"],
"regExp": "^https?[:][/][/]([a-z0-9-]+[.])*movix[.](cash|tax|cloud)[/]",
"version": "1.0.5",
"logo": "https://cdn.rcd.gg/PreMiD/websites/M/Movix/assets/logo.png",
"thumbnail": "https://cdn.rcd.gg/PreMiD/websites/M/Movix/assets/thumbnail.png",
"color": "#dc2626",
"category": "videos",
"tags": ["movies", "series", "anime", "watchparty", "streaming"],

6
PreMid/tsconfig.json Normal file
View file

@ -0,0 +1,6 @@
{
"extends": "../../../tsconfig.base.json",
"compilerOptions": {
"outDir": "./dist/"
}
}

View file

@ -113,6 +113,7 @@ async function setupRules() {
"localhost",
"127.0.0.1",
"movix.cash",
"movix.cloud",
"movix.tax",
"movix.club",
],

View file

@ -38,6 +38,8 @@
"*://localhost/*",
"*://movix.cash/*",
"*://*.movix.cash/*",
"*://movix.cloud/*",
"*://*.movix.cloud/*",
"*://movix.tax/*",
"*://*.movix.tax/*",
"*://movix.club/*",

View file

@ -424,7 +424,7 @@
</div>
</div>
<div style="margin-top: 12px; text-align: center;">
<a href="https://movix.tax/settings#extractions" target="_blank" style="color:#6366f1;text-decoration:none;font-size:12px;font-weight:600;">
<a href="https://movix.cloud/settings#extractions" target="_blank" style="color:#6366f1;text-decoration:none;font-size:12px;font-weight:600;">
Configurer →
</a>
</div>
@ -456,7 +456,7 @@
<!-- Footer -->
<div class="footer fade-in fade-in-delay-6">
<a href="https://movix.tax" target="_blank">
<a href="https://movix.cloud" target="_blank">
Ouvrir Movix
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round">
<path d="M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"/>

View file

@ -119,6 +119,7 @@ async function setupRules() {
"localhost",
"127.0.0.1",
"movix.cash",
"movix.cloud",
"movix.tax",
"movix.club",
],

View file

@ -424,7 +424,7 @@
</div>
</div>
<div style="margin-top: 12px; text-align: center;">
<a href="https://movix.tax/settings#extractions" target="_blank" style="color:#6366f1;text-decoration:none;font-size:12px;font-weight:600;">
<a href="https://movix.cloud/settings#extractions" target="_blank" style="color:#6366f1;text-decoration:none;font-size:12px;font-weight:600;">
Configurer →
</a>
</div>
@ -456,7 +456,7 @@
<!-- Footer -->
<div class="footer fade-in fade-in-delay-6">
<a href="https://movix.tax" target="_blank">
<a href="https://movix.cloud" target="_blank">
Ouvrir Movix
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round">
<path d="M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"/>

View file

@ -12,6 +12,8 @@
// @match https://*.movix.cash/*
// @match https://movix.club/*
// @match https://*.movix.club/*
// @match https://movix.cloud/*
// @match https://*.movix.cloud/*
// @match https://movix.tax/*
// @match https://*.movix.tax/*
// @grant GM_xmlhttpRequest
@ -2535,6 +2537,7 @@
"127.0.0.1",
"movix.cash",
"movix.club",
"movix.cloud",
"movix.tax",
],
resourceTypes: [
@ -2927,6 +2930,8 @@
currentHostname.endsWith(".movix.cash") ||
currentHostname === "movix.club" ||
currentHostname.endsWith(".movix.club") ||
currentHostname === "movix.cloud" ||
currentHostname.endsWith(".movix.cloud") ||
currentHostname === "movix.tax" ||
currentHostname.endsWith(".movix.tax")
) {