Update auto-uwp.js

This commit is contained in:
depthso 2023-10-08 11:04:24 +01:00 committed by GitHub
parent 3edcefff26
commit d3809d2017
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 13 additions and 0 deletions

View File

@ -1,3 +1,10 @@
// Created by depso 😼
// This plugin allows UWP to be launched from the Roblox website
// [🎇] Please install TamperMonkey in-order to run this extension
// https://www.tampermonkey.net/
// ==UserScript==
// @name UWP for the Roblox website
// @version 1.0
@ -7,10 +14,16 @@
// @match https://roblox.com/*
// @icon https://cdn.discordapp.com/avatars/1085827557410209832/a73faa8fc4865cbb14a5bb72f95d5e3d.webp?size=80
// @run-at document-start
// @license MIT
// ==/UserScript==
const Protocall = "roblox://experiences/start";
// roblox-player:// - Web protocall
// roblox:// - UWP protocall
// robloxmobile:// - Mobile protocall
const FollowUserToExperience = function(userId) {
window.location.href = `${Protocall}?userId=${userId}`;
};