Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
mabdu11ah committed Feb 16, 2021
2 parents 430bb5f + 2718074 commit 318d4db
Show file tree
Hide file tree
Showing 10 changed files with 29,328 additions and 12 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ As someone who has to constantly keep switching between many accounts in steam,

## Usage
### Installing the Extension In Chrome
[Download](https://github.com/mabdu11ah/chrome-steamautoauth/archive/v0.1.1.zip) or clone the repository, then go to `chrome://extensions`.
[Download](https://github.com/mabdu11ah/chrome-steamautoauth/archive/v0.2.0.zip) or clone the repository, then go to `chrome://extensions`.

Enable the developer mode, then click `Load Unpacked`. Select the repository's directory and hit select.

Expand Down
1 change: 1 addition & 0 deletions dist/bundle.js
Original file line number Diff line number Diff line change
Expand Up @@ -29115,6 +29115,7 @@ function getUserData(username, callback) {
} catch {}

try {
if (!data.secret) throw new Error();
var secret = atob(data.secret);
var code = SteamTotp.generateAuthCode(secret);
} catch {
Expand Down
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"manifest_version": 2,
"name": "SteamAutoAuth",
"version": "0.1.0",
"version": "0.2.0",
"content_scripts": [
{
"matches": ["https://steamcommunity.com/login/*", "https://store.steampowered.com/login/*", "https://steamcommunity.com/openid/login*"],
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"name": "chrome-steamautoauth",
"version": "0.1.0",
"version": "0.2.0",
"description": "A chrome web extension to automatically generate and enter mobile code on steam login.",
"scripts": {
"build": "browserify src/content.js -o dist/bundle.js"
"build": "browserify src/content.js -o dist/bundle.js && browserify src/popup/script.js -o src/popup/bundle.js"
},
"repository": {
"type": "git",
Expand Down
1 change: 1 addition & 0 deletions src/content.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ function getUserData(username, callback) {
} catch {}

try {
if (!data.secret) throw new Error();
var secret = atob(data.secret);
var code = SteamTotp.generateAuthCode(secret);
} catch {
Expand Down
Loading

0 comments on commit 318d4db

Please sign in to comment.