You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[](https://chrome.google.com/webstore/detail/csgofloat-market-checker/jjicbefpemnphinccgikpdaagjebbnhg)
10
10
[](https://chrome.google.com/webstore/detail/csgofloat-market-checker/jjicbefpemnphinccgikpdaagjebbnhg)
11
11
[](https://chrome.google.com/webstore/detail/csgofloat-market-checker/jjicbefpemnphinccgikpdaagjebbnhg)
@@ -34,6 +34,26 @@ CSGOFloat has an extension for Firefox/Chrome that lets you fetch floats directl
34
34
35
35
Please see [`src/`](/src/README.md) for an overview of how the extension works and underlying tech. Contributions are welcome!
36
36
37
+
### How to Build (Release)
38
+
39
+
> `npm install`
40
+
>
41
+
> `npm run build`
42
+
43
+
The resultant build will be in the `dist/` directory.
44
+
45
+
Note: You can also use `npm run build_ff` for Firefox
46
+
47
+
### How to Build (Development)
48
+
49
+
> `npm install`
50
+
>
51
+
> `npm run start`
52
+
53
+
Load the `dist/` directory as a temporary extension in Chrome. Code changes will automatically trigger a re-build.
54
+
55
+
Note: You can also use `npm run start_ff` for Firefox
56
+
37
57
## Changelog
38
58
39
-
See [Releases](https://github.com/csgofloat/extension/releases) for release notes.
59
+
See [Releases](https://github.com/csfloat/extension/releases) for release notes.
Copy file name to clipboardExpand all lines: src/README.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -33,7 +33,7 @@ Typically, only being able to access the DOM (ie. HTML env) of the page is not e
33
33
changes to the page for your extension.
34
34
35
35
Historically, many extensions would use on-demand script injection into the page in order to retrieve a variable,
36
-
call a function, or mutate page-JS state. This is what our extension [used to do](https://github.com/csgofloat/extension/blob/ca85d56e3b268330537daf6bc6be7837213cc7a4/lib/bridge.js)
36
+
call a function, or mutate page-JS state. This is what our extension [used to do](https://github.com/csfloat/extension/blob/ca85d56e3b268330537daf6bc6be7837213cc7a4/lib/bridge.js)
37
37
and what others like CSGO-Trader [currently do](https://github.com/gergelyszabo94/csgo-trader-extension/blob/216df0e4eb6c481c893426d2324b93da026e92d3/extension/src/utils/injection.js#L4) (as of 2022/10/01).
38
38
39
39
Pros
@@ -50,13 +50,13 @@ Cons
50
50
Since Steam's Content Security Policy restrictions are applied to the content script's AJAX requests, typically event messaging to the background
51
51
script is done. The background script is not restricted and will perform the request for us and send back the result.
52
52
53
-
This is the mechanism you'd need to use whenever you fetch an HTTPS resource (like `https://api.csgofloat.com`).
53
+
This is the mechanism you'd need to use whenever you fetch an HTTPS resource (like `https://api.csfloat.com`).
0 commit comments