diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..b322272 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/images \ No newline at end of file diff --git a/README.md b/README.md index c391dcb..61cd90f 100644 --- a/README.md +++ b/README.md @@ -1,18 +1,46 @@ # steam-url-opener -Chromium extension that opens URLs in the Steam Client. +Chromium extension that automatically opens Steam pages in the Steam app. -Currently supports any chromium-based browser. FYI you can always inspect source code and build yourself if you don't trust my pre-built crx. +# Features -Make an issue if you have a feature request, or code it in yourself and make a PR! If it's good i'll almost always accept it. +- Open steam pages in Steam automatically +- Customize which pages you want redirected and which not +- Ask before redirecting +- Close the original page once it's redirected +- Redirect Steam widgets, if enabled ## Installation -Go to the extensions menu on your chromium browser, enable Developer Mode then drag [the CRX file from Releases](https://github.com/hdboye/steam-url-opener/releases/latest) into the page. Now restart the browser (or don't) and enjoy! -## Build it yourself -[Download the source](https://github.com/hdboye/steam-url-opener/archive/refs/heads/master.zip) from this github, or if you want a specific version go [here](https://github.com/hdboye/steam-url-opener/releases) and download the source code for whatever version you want. Unzip it then go to the extension menu on your chromium browser. Enable Developer Mode then press Pack Extension and select the folder where the source is. +*I'm currently working on getting this into the Opera store! I'll try to get it onto the Chrome web store next.* + +There are currently 2 ways to install the extensions, one works for everyone and one works for Linux only. This is because Google hates me, and because you can't use extensions from CRX files if they aren't from the Google Web Store except if you're on Linux. + +Go to the extensions page in your Chromium-based browser. This should be on the 3 lines at the top right corner, or for Opera GX users the Menu button on the top left. + +![](https://cdn.discordapp.com/attachments/544247815908360202/1143675491392434348/image.png) + +Toggle Developer Mode, this will allow us to install custom extensions. + +![1692744354832](https://cdn.discordapp.com/attachments/544247815908360202/1143677727791136918/image.png) +![1692744366975](https://cdn.discordapp.com/attachments/544247815908360202/1143677734074191913/image.png) + +### Regular Method -You can also load the source instead of packing it into crx by just pressing Load Unzipped Extension (idk what it is in english). +Download [the Source Code (zip) from Releases](https://github.com/hdboye/steam-url-opener/releases/latest). Once it's downloaded, unzip the file, then go back to the extensions browser and click Load Unpacked. +![1692745495342](https://cdn.discordapp.com/attachments/544247815908360202/1143682103381336204/image.png) + +Click on the folder you just got out of unzipping. **Make sure it's the folder with the contents of the extension inside, and NOT the folder that has a folder in it which has the contents.** Once you've clicked that, click Select Folder in your file explorer (or Select or Continue, depends on what OS you use) and the extension should be loaded in! Restart the browser (optional but recommended) and enjoy! + +### Linux Method + +Download [the CRX file from Releases](https://github.com/hdboye/steam-url-opener/releases/latest). Once it's downloaded, open the file in File Explorer. If you have found the file, grab it then drag it onto the extensions page. *You can drag it anywhere you want, as long as it's on the page.* + +Restart the browser (optional but recommended) and enjoy! + +## Build the CRX yourself + +[Download the source](https://github.com/hdboye/steam-url-opener/archive/refs/heads/master.zip) from this github, or if you want a specific version go [here](https://github.com/hdboye/steam-url-opener/releases) and download the source code for whatever version you want. Unzip it then go to the extension menu on your chromium browser. Enable Developer Mode then press Pack Extension and select the folder where the source is. -There's also [a webpage version of this README](https://hdboye.github.io/steam-url-opener) but i don't know why you'd wanna use it. +*P.S. There's also [a webpage version of this README](https://hdboye.github.io/steam-url-opener) but I don't know why you'd wanna use it.* diff --git a/icons/icon64.png b/icons/icon64.png new file mode 100644 index 0000000..fdd1288 Binary files /dev/null and b/icons/icon64.png differ diff --git a/manifest.json b/manifest.json index 144537a..51c88d9 100644 --- a/manifest.json +++ b/manifest.json @@ -1,12 +1,13 @@ { "name": "Steam URL Opener", - "version": "1.4.1", + "version": "1.4.2", "manifest_version": 3, - "description": "Will prompt an \"Open in Steam\" message when you open a steamcommunity.com page (or, if allowed, will open automatically)", + "description": "Lets you automatically open Steam URLs in the Steam app.", "homepage_url": "https://github.com/hdboye/steam-url-opener", "icons": { "16": "icons/icon16.png", "48": "icons/icon48.png", + "64": "icons/icon64.png", "128": "icons/icon128.png" }, "background": { @@ -18,5 +19,5 @@ "action": { "default_popup": "popup.html" }, - "host_permissions": ["https://*.steamcommunity.com/*"] + "host_permissions": ["https://*.steamcommunity.com/*, https://*.steampowered.com/"] } \ No newline at end of file diff --git a/popup.html b/popup.html index dafe1cd..3169aec 100644 --- a/popup.html +++ b/popup.html @@ -42,7 +42,7 @@

Redirects enabled for:

Options:



-
+

created by hdboye :D | disc: ukvi