Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add lanschool #44

Open
jman1593 opened this issue Dec 19, 2024 · 9 comments
Open

add lanschool #44

jman1593 opened this issue Dec 19, 2024 · 9 comments

Comments

@jman1593
Copy link

can you add lanschool air to the extensions? (or tell me how)

@Murat65536
Copy link
Contributor

To add an extension, you must first find a path from the extension's id. This can be done by going to chrome://extensions and clicking the "details" button next to your extension. By doing this, you will be able to find its ID by looking at the URL of that page. It should look a little something like: chrome://extensions/?id=(ID Here). From there, find a path from the id which should look like chrome-extension://(ID Here)/(Path Here). Then open the code and look for the extensions variable. Make a new entry with the extension you want and its URL. After this, submit a pull request for the extension to be added.

@jman1593
Copy link
Author

jman1593 commented Jan 1, 2025

I looked into it after and I figured out that you need to find a page on the extension that can be retrieved by a website and there is no page on my extension that that works on, I tried every path added to the code and it never worked.

@Murat65536
Copy link
Contributor

Since every extension has a manifest.json file, you should be able to do chrome-extension://(ID Here)/manifest.json. I don't know why @Blobby-Boi has decided to have an obscure and unique path for every extension URL, as I believe that this makes it harder for people to add new extensions and grow the repository. There might be something that I am missing, but to my knowledge, this is completely unnecessary and makes the code less scalable.

@jman1593
Copy link
Author

jman1593 commented Jan 1, 2025

The issue is the manifest.json usually cannot be fetched and cannot have requests sent to it from external pages, which breaks the whole way of finding and freezing the extension, so I am PRETTY sure my extension can't be added, but I was keeping this open just in case blobby boi knew something I didn't

@Murat65536
Copy link
Contributor

What do you mean by "the manifest.json usually cannot be fetched"? The only thing you should need to do is add a new entry in the extensions variable that states "Ianschool": "chrome-extension://(Id Here)/manifest.json".

@jman1593
Copy link
Author

jman1593 commented Jan 1, 2025

idk how to explain it better, only certain files can be fetched using external files such as the blobby boi exthang3r and there is no file in my extension that can be fetched (by not able to be fetched i mean if you send a request to it it will come back as a 404)

@Murat65536
Copy link
Contributor

If you are unable to find a path to query, this method will not work for you. Does Lanschool have a "blocked" page when you try to visit a restricted website? If so, try adding that as the URL (as long as it starts with chrome-extension://(ID Here)/)

@jman1593
Copy link
Author

jman1593 commented Jan 1, 2025

it does, but in the files it just uses an image from lanschool and the rest of the page is made using js, i have tried the files for the images and it doesent work

@Murat65536
Copy link
Contributor

As a reiteration of my statement above, if you are unable to find a path to query, this method will not work for you. Since I do not have this extension, I cannot help you extensively. That being said, simply stating that it does not work for you is not very helpful. Could you explain why this fails? I also requested that you try using the "blocked" page as the URL. You said that you tried the files for the images. Try using the actual page and see if it works out. If it doesn't, say what about it does not work instead of merely stating that it fails.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants