Last active
April 16, 2022 22:37
-
-
Save Exponential-Workload/48f393d2ce10f7860473f6ea297070d9 to your computer and use it in GitHub Desktop.
Join Roblox Servers by Job & Place IDs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Join By URL | |
// @version 0.1 | |
// @description Joins a Server by Job ID & Place ID | |
// @author Yielding | |
// @match https://*.roblox.com/* | |
// @icon https://www.google.com/s2/favicons?sz=64&domain=roblox.com | |
// @grant none | |
// ==/UserScript== | |
(()=>{ | |
const params = new URLSearchParams(window.location.search); | |
const jobId = params.get("serverJobId"); | |
const placeId = params.get("serverPlaceId"); | |
if (jobId && placeId) { | |
window.Roblox.GameLauncher.joinGameInstance(placeId, jobId); | |
setTimeout(()=>window.close(),1e4) | |
} | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment