Discussions » Demandes de création de scripts

Can someone make this script?

§
Posté le: 2020-10-02

Can someone make a userscript that automatically takes away the "App" in discordapp.com websites?
The school's blocked discordapp.com, but discord.com isn't blocked... But it's a pain in the a** to have to keep going to the search bar and take away three letters every time I get re-directed...
So can someone do this for me? Thanks ^^

§
Posté le: 2020-10-02

tell me what u need exactly and are ru ready to pay for just few $

§
Posté le: 2020-10-02

Well, considering you have no scripts posted... No?
Anybody else?

§
Posté le: 2020-10-02

i don't post cause i work on fiverr and freelancer bro

§
Posté le: 2020-10-02

and i make bots in node js ;)

§
Posté le: 2020-10-02

Fair enough...
But I don't have money so unless you do it for free, we're done talking -w-

§
Posté le: 2020-10-02

i did'nt ask you for money just to pay me a cofee ;) and hope that someone help u gdluck

§
Posté le: 2020-10-02

"Pay" refers to money... So yes, you did -w-
And I wasn't going to ask for your help of all people's anyways, I have no reason to ;3

§
Posté le: 2020-10-04
Édité le: 2020-10-04

// ==UserScript==
// @name Force DiscordApp.com to change to discord.com
// @namespace discordapptodiscordcom
// @version 0.0.1
// @author hacker09
// @match https://discordapp.com/*
// @run-at document-start
// @description Force DiscordApp.com to change to discord.com!
// ==/UserScript==

document.location.replace(document.location.href.replace('discordapp', 'discord'));

§
Posté le: 2020-10-04

Doesn't seem to work >~<

§
Posté le: 2020-10-05
Édité le: 2020-10-24

Give me at least 10 links that the url are like https://discordapp.com/ AND that you manually changed discordapp to discord AND that you worked for you

§
Posté le: 2020-10-05

Why-?
I can do that but.... Why?

§
Posté le: 2020-10-05

Because I need examples to know what you want, and I need examples to make sure that the script works and to figure out why the script didn't work for you

§
Posté le: 2020-10-05

{Example 1}
["app" present:]
https://discordapp.com/oauth2/authorize?client_id=161660517914509312&scope=bot%20identify%20guilds&response_type=code&redirect_uri=https://dyno.gg/return&permissions=2134207679
["app" removed:]
https://discord.com/oauth2/authorize?client_id=161660517914509312&scope=bot%20identify%20guilds&response_type=code&redirect_uri=https://dyno.gg/return&permissions=2134207679

{Example 2}
["app" present:]
https://discordapp.com/oauth2/authorize?client_id=247283454440374274&response_type=code&redirect_uri=https%3A%2F%2Fygg.fun%2Finvite%2Fcomplete&permissions=70642769&scope=bot
["app" removed:]
https://discord.com/oauth2/authorize?client_id=247283454440374274&response_type=code&redirect_uri=https%3A%2F%2Fygg.fun%2Finvite%2Fcomplete&permissions=70642769&scope=bot

{Example 3:}
["app" present:]
https://discordapp.com/api/oauth2/authorize?access_type=online&client_id=204255083083333633&redirect_uri=https%3A%2F%2Fyagpdb.xyz%2Fconfirm_login&response_type=code&scope=identify+guilds&state=NndnHAh9lK0xpK0ApIwfnVWPvM0P8DECta4C8ORzdqU%3D&prompt=none
["app" removed:]
https://discord.com/api/oauth2/authorize?access_type=online&client_id=204255083083333633&redirect_uri=https%3A%2F%2Fyagpdb.xyz%2Fconfirm_login&response_type=code&scope=identify+guilds&state=NndnHAh9lK0xpK0ApIwfnVWPvM0P8DECta4C8ORzdqU%3D&prompt=none

{Example 4:}
["app" present:]
https://discordapp.com/api/oauth2/authorize?scope=identify+email+guilds&state=jGIXuRO3UZVa8aKnnjU7rbL04OQXvb8q&response_type=code&approval_prompt=auto&client_id=302050872383242240&redirect_uri=https%3A%2F%2Fdisboard.org%2Fsite%2Foauth-callback
["app" removed:]
https://discord.com/api/oauth2/authorize?scope=identify+email+guilds&state=jGIXuRO3UZVa8aKnnjU7rbL04OQXvb8q&response_type=code&approval_prompt=auto&client_id=302050872383242240&redirect_uri=https%3A%2F%2Fdisboard.org%2Fsite%2Foauth-callback

{Example 5:}
["app" present:]
https://discordapp.com/oauth2/authorize?client_id=346353957029019648&scope=bot&permissions=19456
["app" removed:]
https://discord.com/oauth2/authorize?client_id=346353957029019648&scope=bot&permissions=19456

§
Posté le: 2020-10-05
Édité le: 2020-10-05

The script does work, but the problem is that discordapp is blocked on your internet, so tampermonkey doesn't recognize and doesn't run on the website. This might be an tampermonkey bug, or not I don't know.

It's much better if you go to google and search for something like "redirect extension" for your browser, there are lot's of extensions on your browser store that does what you want, maybe one of them will work for you.

You should probably check this https://helpdeskgeek.com/how-to/block-websites-using-hosts-file/ But replace 127.0.0.1 with the correct ip for discord app, maybe your network adm blocked that website using the hosts file, if yes then will be really easy for you to unblock that website.

You can also download any VPN or proxy (like UltraSurf) and that will probably unblock all the websites on your network school too. There are even some browser extensions that are VPN/Proxy extensions, like the BrowSec and Hola for example.

You can also try to download and execute The Tor Browser, or the Opera Browser that comes with an built in VPN.

There are also dozens of online proxys and website unblockers for free for you to use, like this one for example https://unblock-websites.com/

§
Posté le: 2020-10-24

Did it work for you?
Actually I just remembered another way to make a script that will work for you

§
Posté le: 2020-10-24

Oh really? Unfortunately, due to my internet limitations, the proxies and web unblockers ae unavailable, so I would appreciate it if you found a new way to make the script ^^

§
Posté le: 2020-10-24

This is how the script works, let's say that you are on a website, then you click on a button that redirects you to discord.com... Now that button will have the link changed, and will auto redirect you to discordapp.com.
The script won't work if you directly and manually write or copy/paste a link like discord.com on your browser

// ==UserScript==
// @name Force DiscordApp.com to change to discord.com
// @namespace discordapptodiscordcom
// @version 0.0.1
// @author hacker09
// @include *
// @run-at document-end
// @description Force DiscordApp.com to change to discord.com!
// ==/UserScript==

(function() {
'use strict';
var links = document.evaluate("//a[@href]", document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
for (var i = 0; i < links.snapshotLength; i++) {
var thisLink = links.snapshotItem(i);
thisLink.href = thisLink.href.replace(RegExp('https?://discord\\.com/*'), 'https://discordapp.com/');}
})();

Poster une réponse

Connectez-vous pour poster une réponse.