Tombol shortcut mengambang download YT IG, dan fitur tidak berguna lainnya 😹🤙🤙. Ini saya buat ketika strees mengerjakan tugas akhir, btw saya jurusan dkv
Ovu skriptu ne treba izravno instalirati. To je biblioteka za druge skripte koje se uključuju u meta direktivu // @require https://update.greasyfork.org/scripts/589773/1892737/Floating%20Shortcut%20YTIG%20V5%20%F0%9F%98%B9%F0%9F%A4%99%F0%9F%A4%99.js
// ==UserScript==
// @name Floating Shortcut YT.IG V5
// @namespace https://tampermonkey.net/
// @version 1.3
// @description Tombol shortcut mengambang
// @match https://www.youtube.com/*
// @match https://www.instagram.com/*
// @grant none
// @run-at document-idle
// ==/UserScript==
(function () {
'use strict';
// Hindari membuat tombol dua kali
if (document.querySelector(".tm-shortcut")) return;
const buttons = [
{
text: "IWAK TEMPEK",
color: "#ff3b30",
action() {
window.open("https://www.youtube.com/shorts/lKMn2Bmu4Oc", "_blank");
}
},
{
text: "😹TA NE RAMPUNGKEE MASS",
color: "#34c759",
action() {
const host = location.hostname;
if (host.includes("youtube.com")) {
window.open("https://app.ytdown.to/id36/", "_blank");
}
else if (host.includes("instagram.com")) {
window.open("https://fastdl.app/id2", "_blank");
}
else {
alert("Website belum didukung.");
}
}
},
{
text: "🤙",
color: "#007aff",
action() {
window.open("https://www.youtube.com/@2PressF", "_blank");
}
}
];
buttons.forEach((item, index) => {
const btn = document.createElement("div");
btn.className = "tm-shortcut";
btn.id = `tm-shortcut-${index}`;
btn.textContent = item.text;
btn.style.cssText = `
position: fixed;
left: ${25 + index * 40}px;
top: 120px;
width: 30px;
height: 30px;
background: ${item.color};
color: white;
border-radius: 50%;
display: flex;
justify-content: center;
align-items: center;
font-size: 18px;
cursor: pointer;
z-index: 2147483647;
box-shadow: 0 4px 12px rgba(0,0,0,.35);
user-select: none;
transition: transform .15s;
`;
document.body.appendChild(btn);
// Hover
btn.addEventListener("mouseenter", () => {
btn.style.transform = "scale(1.1)";
});
btn.addEventListener("mouseleave", () => {
btn.style.transform = "scale(1)";
});
// =====================
// Drag + Click Fix
// =====================
let dragging = false;
let moved = false;
let offsetX = 0;
let offsetY = 0;
btn.addEventListener("mousedown", (e) => {
dragging = true;
moved = false;
offsetX = e.clientX - btn.offsetLeft;
offsetY = e.clientY - btn.offsetTop;
e.preventDefault();
});
document.addEventListener("mousemove", (e) => {
if (!dragging) return;
if (
Math.abs(e.clientX - (btn.offsetLeft + offsetX)) > 5 ||
Math.abs(e.clientY - (btn.offsetTop + offsetY)) > 5
) {
moved = true;
}
btn.style.left = (e.clientX - offsetX) + "px";
btn.style.top = (e.clientY - offsetY) + "px";
});
document.addEventListener("mouseup", () => {
dragging = false;
});
btn.addEventListener("click", (e) => {
if (moved) {
e.preventDefault();
e.stopPropagation();
moved = false;
return;
}
item.action();
});
});
})();// ==UserScript==
// @name New Userscript
// @namespace http://tampermonkey.net/
// @version 2026-08-03
// @description try to take over the world!
// @author You
// @match https://*/*
// @icon data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==
// @grant none
// ==/UserScript==
(function() {
'use strict';
// Your code here...
})();