mirror of
https://github.com/Alvin-Zilverstand/return-youtube-dislike.git
synced 2026-10-28 07:40:27 +01:00
Merge branch 'main' into main
This commit is contained in:
+17
-45
@@ -1,28 +1,13 @@
|
||||
<template>
|
||||
<div
|
||||
class="d-flex flex-column justify-between"
|
||||
style="height: calc(100vh - 10rem)"
|
||||
>
|
||||
<div class="d-flex flex-column justify-between" style="height: calc(100vh - 10rem)">
|
||||
<div class="col"></div>
|
||||
|
||||
<div class="col">
|
||||
<svg
|
||||
id="thumbslogo"
|
||||
class="mb-4"
|
||||
width="150"
|
||||
height="150"
|
||||
viewBox="0 0 24 24"
|
||||
overflow="visible"
|
||||
>
|
||||
<svg id="thumbslogo" class="mb-4" width="150" height="150" viewBox="0 0 24 24" overflow="visible">
|
||||
<path
|
||||
d="M14.9 3H6c-.9 0-1.6.5-1.9 1.2l-3 7c-.1.3-.1.5-.1.7v2c0 1.1.9 2 2 2h6.3l-.9 4.5c-.1.5 0 1 .4 1.4l1.1 1.1 6.5-6.6c.4-.4.6-.9.6-1.4V5c-.1-1.1-1-2-2.1-2zm7.4 12.8h-2.9c-.4 0-.7-.3-.7-.7V3.9c0-.4.3-.7.7-.7h2.9c.4 0 .7.3.7.7V15c0 .4-.3.8-.7.8z"
|
||||
/>
|
||||
<path
|
||||
id="plarrow"
|
||||
d="m8 12.5 5.1-2.9L8 6.7v5.8z"
|
||||
fill="#fff"
|
||||
stroke="none"
|
||||
/>
|
||||
<path id="plarrow" d="m8 12.5 5.1-2.9L8 6.7v5.8z" fill="#fff" stroke="none" />
|
||||
</svg>
|
||||
|
||||
<h1 class="title-text">
|
||||
@@ -32,11 +17,7 @@
|
||||
{{ $vuetify.lang.t("$vuetify.home.subtitle") }}
|
||||
</p>
|
||||
|
||||
<v-btn
|
||||
:to="installLink"
|
||||
color="primary px-6"
|
||||
style="font-size: 1.5em; padding: 1em; margin-bottom: 0.5em"
|
||||
>
|
||||
<v-btn :to="installLink" color="primary px-6" style="font-size: 1.5em; padding: 1em; margin-bottom: 0.5em">
|
||||
<v-icon large class="mr-6">mdi-tray-arrow-down</v-icon>
|
||||
{{ $vuetify.lang.t("$vuetify.install.name") }}
|
||||
</v-btn>
|
||||
@@ -76,13 +57,7 @@
|
||||
</h3>
|
||||
<v-row class="justify-center mx-auto">
|
||||
<p v-for="sponsor in sponsors" :key="sponsor.name" class="sponsor">
|
||||
<a
|
||||
:style="
|
||||
sponsor.link ? { cursor: 'pointer' } : { cursor: 'default' }
|
||||
"
|
||||
:href="sponsor.link"
|
||||
rel="sponsored"
|
||||
>
|
||||
<a :style="sponsor.link ? { cursor: 'pointer' } : { cursor: 'default' }" :href="sponsor.link" rel="sponsored">
|
||||
{{ sponsor.name }}
|
||||
</a>
|
||||
</p>
|
||||
@@ -98,9 +73,7 @@ export default {
|
||||
let routes = ["index", "install", "docs", "help", "faq", "donate", "links"];
|
||||
if (routes.indexOf(to.name) < 0) return "swoop-out";
|
||||
if (routes.indexOf(from.name) < 0) return "swoop-in";
|
||||
return routes.indexOf(to.name) > routes.indexOf(from.name)
|
||||
? "swoop-left"
|
||||
: "swoop-right";
|
||||
return routes.indexOf(to.name) > routes.indexOf(from.name) ? "swoop-left" : "swoop-right";
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
@@ -109,7 +82,11 @@ export default {
|
||||
discordLink: "https://discord.gg/mYnESY4Md5",
|
||||
sponsors: [
|
||||
{
|
||||
name: "Become our sponsor and be listed here",
|
||||
link: "https://seed4.me/?utm_source=returnyoutubedislike",
|
||||
name: "Check-out Seed4.Me VPN",
|
||||
},
|
||||
{
|
||||
name: "Become our sponsor",
|
||||
link: "https://www.patreon.com/join/returnyoutubedislike/checkout?rid=8008601",
|
||||
},
|
||||
],
|
||||
@@ -120,18 +97,13 @@ export default {
|
||||
/(?:http:|https:)*?\/\/(?:www\.|)(?:youtube\.com|m\.youtube\.com|youtu\.|youtube-nocookie\.com).*(?:v=|v%3D|v\/|(?:a|p)\/(?:a|u)\/\d.*\/|watch\?|vi(?:=|\/)|\/embed\/|oembed\?|be\/|e\/)([^&?%#/\n]*)/;
|
||||
let lastVideoId = "";
|
||||
window.oninput = (e) => {
|
||||
const videoId =
|
||||
(e.target.value.match(YOUTUBE_REGEX) || {})[1] || e.target.value;
|
||||
const videoId = (e.target.value.match(YOUTUBE_REGEX) || {})[1] || e.target.value;
|
||||
if (videoId !== lastVideoId && videoId.length === 11) {
|
||||
fetch(
|
||||
"https://returnyoutubedislikeapi.com/votes?videoId=" +
|
||||
(lastVideoId = videoId),
|
||||
)
|
||||
fetch("https://returnyoutubedislikeapi.com/votes?videoId=" + (lastVideoId = videoId))
|
||||
.then((resp) => resp.json())
|
||||
.then(
|
||||
(data) =>
|
||||
(document.getElementById("output").innerText =
|
||||
"Likes=" + data.likes + " Dislikes=" + data.dislikes),
|
||||
(document.getElementById("output").innerText = "Likes=" + data.likes + " Dislikes=" + data.dislikes)
|
||||
);
|
||||
}
|
||||
};
|
||||
@@ -162,9 +134,7 @@ input {
|
||||
stroke: #f44;
|
||||
transition-property: opacity, transform;
|
||||
transform: scale(0) rotate(180deg);
|
||||
animation:
|
||||
popin 1s 0.3s ease-in-out 1 forwards,
|
||||
tap 0.3s 1.7s ease-in-out 1 forwards;
|
||||
animation: popin 1s 0.3s ease-in-out 1 forwards, tap 0.3s 1.7s ease-in-out 1 forwards;
|
||||
}
|
||||
|
||||
#plarrow {
|
||||
@@ -232,11 +202,13 @@ input {
|
||||
transform: none;
|
||||
animation: none;
|
||||
}
|
||||
|
||||
#thumbsripple {
|
||||
opacity: 0;
|
||||
transform: none;
|
||||
animation: none;
|
||||
}
|
||||
|
||||
#plarrow {
|
||||
opacity: 0;
|
||||
transform: none;
|
||||
|
||||
+17
-16
@@ -29,15 +29,15 @@
|
||||
<v-btn class="mainAltButton mb-2" :href="chromeLink" target="_blank">
|
||||
<!-- brave logo icon -->
|
||||
<svg
|
||||
style="margin-right: 1rem"
|
||||
height="20"
|
||||
width="20"
|
||||
viewBox="0 0 24 24"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
fill="#fff"
|
||||
style="margin-right: 1rem"
|
||||
height="20"
|
||||
width="20"
|
||||
viewBox="0 0 24 24"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
fill="#fff"
|
||||
>
|
||||
<path
|
||||
d="m15.68 0 2.1 2.38s1.84-.51 2.7.36c.87.87 1.59 1.64 1.59 1.64l-.56 1.38.71 2.04-2.35 8.96c-.48 1.92-.82 2.66-2.2 3.63-1.38.97-3.88 2.66-4.29 2.92-.4.25-.92.69-1.38.69-.46 0-.97-.44-1.38-.7a185.8 185.8 0 0 1-4.3-2.9c-1.37-.98-1.7-1.72-2.19-3.64L1.78 7.8l.71-2.04-.56-1.38s.72-.77 1.59-1.64c.87-.87 2.7-.36 2.7-.36L8.33 0h7.36zM12 14.94c-.14 0-1.04.31-1.76.69-.72.37-1.24.63-1.4.74-.17.1-.07.3.08.4.15.11 2.2 1.7 2.4 1.87.2.18.48.47.68.47.2 0 .5-.3.69-.47.2-.17 2.24-1.76 2.4-1.86.14-.11.24-.3.08-.41l-1.41-.74a8.18 8.18 0 0 0-1.76-.7zm0-11.28s-.4 0-1.02.2-1.28.46-1.59.46c-.3 0-2.58-.43-2.58-.43s-2.7 3.26-2.7 3.96c0 .7.35.88.69 1.24l2.02 2.15c.2.2.59.51.35 1.07-.23.55-.58 1.26-.2 1.97.4.72 1.05 1.2 1.47 1.12.42-.08 1.42-.6 1.78-.83.36-.24 1.52-1.2 1.52-1.56 0-.36-1.2-1.02-1.42-1.17-.22-.15-1.22-.72-1.24-.95-.02-.22-.02-.29.28-.85.3-.56.83-1.3.74-1.8-.09-.5-.95-.75-1.56-.98-.62-.24-1.8-.67-1.95-.74-.15-.07-.1-.14.34-.18.45-.04 1.72-.21 2.3-.05.57.16 1.54.4 1.62.53.08.13.15.14.07.58-.08.45-.5 2.58-.54 2.96-.04.38-.12.63.29.72.4.1 1.1.26 1.33.26s.93-.16 1.33-.26c.41-.09.33-.34.3-.72-.05-.38-.47-2.51-.55-2.96-.08-.45-.01-.45.07-.58.08-.13 1.06-.37 1.63-.53.57-.16 1.85 0 2.3.05.44.04.48.1.33.18-.15.07-1.33.5-1.95.74-.61.23-1.47.49-1.56.98-.1.5.44 1.24.74 1.8s.3.63.29.85c-.02.23-1.03.8-1.25.95-.22.15-1.41.8-1.41 1.17 0 .37 1.15 1.32 1.51 1.56.37.23 1.36.75 1.78.83.42.08 1.08-.4 1.46-1.12.39-.71.04-1.42-.2-1.97-.23-.56.17-.87.36-1.07L19.2 9.1c.34-.36.68-.54.68-1.24s-2.7-3.96-2.7-3.96-2.27.43-2.57.43c-.3 0-.97-.25-1.59-.46-.61-.2-1.02-.2-1.02-.2z"
|
||||
d="m15.68 0 2.1 2.38s1.84-.51 2.7.36c.87.87 1.59 1.64 1.59 1.64l-.56 1.38.71 2.04-2.35 8.96c-.48 1.92-.82 2.66-2.2 3.63-1.38.97-3.88 2.66-4.29 2.92-.4.25-.92.69-1.38.69-.46 0-.97-.44-1.38-.7a185.8 185.8 0 0 1-4.3-2.9c-1.37-.98-1.7-1.72-2.19-3.64L1.78 7.8l.71-2.04-.56-1.38s.72-.77 1.59-1.64c.87-.87 2.7-.36 2.7-.36L8.33 0h7.36zM12 14.94c-.14 0-1.04.31-1.76.69-.72.37-1.24.63-1.4.74-.17.1-.07.3.08.4.15.11 2.2 1.7 2.4 1.87.2.18.48.47.68.47.2 0 .5-.3.69-.47.2-.17 2.24-1.76 2.4-1.86.14-.11.24-.3.08-.41l-1.41-.74a8.18 8.18 0 0 0-1.76-.7zm0-11.28s-.4 0-1.02.2-1.28.46-1.59.46c-.3 0-2.58-.43-2.58-.43s-2.7 3.26-2.7 3.96c0 .7.35.88.69 1.24l2.02 2.15c.2.2.59.51.35 1.07-.23.55-.58 1.26-.2 1.97.4.72 1.05 1.2 1.47 1.12.42-.08 1.42-.6 1.78-.83.36-.24 1.52-1.2 1.52-1.56 0-.36-1.2-1.02-1.42-1.17-.22-.15-1.22-.72-1.24-.95-.02-.22-.02-.29.28-.85.3-.56.83-1.3.74-1.8-.09-.5-.95-.75-1.56-.98-.62-.24-1.8-.67-1.95-.74-.15-.07-.1-.14.34-.18.45-.04 1.72-.21 2.3-.05.57.16 1.54.4 1.62.53.08.13.15.14.07.58-.08.45-.5 2.58-.54 2.96-.04.38-.12.63.29.72.4.1 1.1.26 1.33.26s.93-.16 1.33-.26c.41-.09.33-.34.3-.72-.05-.38-.47-2.51-.55-2.96-.08-.45-.01-.45.07-.58.08-.13 1.06-.37 1.63-.53.57-.16 1.85 0 2.3.05.44.04.48.1.33.18-.15.07-1.33.5-1.95.74-.61.23-1.47.49-1.56.98-.1.5.44 1.24.74 1.8s.3.63.29.85c-.02.23-1.03.8-1.25.95-.22.15-1.41.8-1.41 1.17 0 .37 1.15 1.32 1.51 1.56.37.23 1.36.75 1.78.83.42.08 1.08-.4 1.46-1.12.39-.71.04-1.42-.2-1.97-.23-.56.17-.87.36-1.07L19.2 9.1c.34-.36.68-.54.68-1.24s-2.7-3.96-2.7-3.96-2.27.43-2.57.43c-.3 0-.97-.25-1.59-.46-.61-.2-1.02-.2-1.02-.2z"
|
||||
/>
|
||||
</svg>
|
||||
Brave
|
||||
@@ -64,6 +64,10 @@
|
||||
<p style="color: #999; margin-top: 0.5rem; margin-bottom: 0.5rem">
|
||||
{{ $vuetify.lang.t("$vuetify.install.subtitle3") }}
|
||||
</p>
|
||||
<v-btn class="mainAltButton" :href="reVanced" target="_blank">
|
||||
<v-icon style="margin-right: 0.5em">mdi-android</v-icon>
|
||||
Android - ReVanced
|
||||
</v-btn>
|
||||
<v-btn class="mainAltButton" :href="androidNewPipe" target="_blank">
|
||||
<v-icon style="margin-right: 0.5em">mdi-android</v-icon>
|
||||
Android <span style="font-size: 0.55rem">(Tubular - a Newpipe Fork)</span>
|
||||
@@ -76,10 +80,6 @@
|
||||
<v-icon style="margin-right: 0.5em">mdi-apple</v-icon>
|
||||
iOS <span style="font-size: 0.55rem">(uYou+)</span>
|
||||
</v-btn>
|
||||
<v-btn class="mainAltButton" :href="iosCercubePlus" target="_blank">
|
||||
<v-icon style="margin-right: 0.5em">mdi-apple</v-icon>
|
||||
iOS <span style="font-size: 0.55rem">(CercubePlus)</span>
|
||||
</v-btn>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
@@ -91,17 +91,17 @@ export default {
|
||||
if (routes.indexOf(to.name) < 0) return "swoop-out";
|
||||
if (routes.indexOf(from.name) < 0) return "swoop-in";
|
||||
return routes.indexOf(to.name) > routes.indexOf(from.name)
|
||||
? "swoop-left"
|
||||
: "swoop-right";
|
||||
? "swoop-left"
|
||||
: "swoop-right";
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
chromeLink:
|
||||
"https://chromewebstore.google.com/detail/return-youtube-dislike/gebbhagfogifgggkldgodflihgfeippi",
|
||||
"https://chromewebstore.google.com/detail/return-youtube-dislike/gebbhagfogifgggkldgodflihgfeippi",
|
||||
firefoxLink:
|
||||
"https://addons.mozilla.org/en-US/firefox/addon/return-youtube-dislikes/",
|
||||
"https://addons.mozilla.org/en-US/firefox/addon/return-youtube-dislikes/",
|
||||
scriptLink:
|
||||
"https://github.com/Anarios/return-youtube-dislike/raw/main/Extensions/UserScript/Return%20Youtube%20Dislike.user.js",
|
||||
"https://github.com/Anarios/return-youtube-dislike/raw/main/Extensions/UserScript/Return%20Youtube%20Dislike.user.js",
|
||||
|
||||
iosJailbreakLink: "https://chariz.com/get/return-youtube-dislike/",
|
||||
|
||||
@@ -110,6 +110,7 @@ export default {
|
||||
iosuYouPlus: "https://github.com/qnblackcat/uYouPlus",
|
||||
|
||||
androidNewPipe: "https://github.com/polymorphicshade/Tubular",
|
||||
reVanced: "https://revanced.app/",
|
||||
|
||||
};
|
||||
},
|
||||
|
||||
@@ -113,11 +113,18 @@ export default {
|
||||
tag: "NiniKo",
|
||||
lang: "Français",
|
||||
},
|
||||
{
|
||||
tag: "tubyoub",
|
||||
lang: "Deutsch",
|
||||
},
|
||||
{
|
||||
tag: "dsty#1614",
|
||||
lang: "Українська",
|
||||
},
|
||||
{
|
||||
tag: "liberaldev",
|
||||
lang: "한국어",
|
||||
},
|
||||
tag: "itsbudyn#6502",
|
||||
lang: "Polski",
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user