Skip to content

Commit

Permalink
Simplified usage notes
Browse files Browse the repository at this point in the history
  • Loading branch information
00Fjongl committed Jul 10, 2024
1 parent 67a9b0e commit d0161ce
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions views/assets/js/common-16451543478.js
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,11 @@ const RammerheadEncode = async baseUrl => {
};

/* To use:
* goProx.proxy(url-string, stealth-boolean-optional);
* goProx.proxy(url-string, mode-as-string-or-number);
*
* Key: 1 = "stealth"
* 0 = "window"
* Nothing = return as string variable
*
* Examples:
* Stealth mode -
Expand All @@ -341,27 +345,21 @@ const RammerheadEncode = async baseUrl => {
* await goProx.rammerhead("https://google.com", "stealth");
*
* goProx.searx(1);
* goProx.search("stealth");
* goProx.searx("stealth");
*
* Window mode -
* goProx.ultraviolet("https://google.com", 0);
* goProx.ultraviolet("https://google.com", "window");
*
* await goProx.rammerhead("https://google.com", 0);
* await goProx.rammerhead("https://google.com", "window");
*
* goProx.searx(0);
* goProx.search("window");
* goProx.searx("window");
*
* Return string value mode (default) -
* goProx.ultraviolet("https://google.com");
* goProx.ultraviolet("https://google.com");
*
* await goProx.rammerhead("https://google.com");
* await goProx.rammerhead("https://google.com");
*
* goProx.searx();
* goProx.search();
*/
addEventListener("DOMContentLoaded", () => {
self.goProx = {
Expand Down

0 comments on commit d0161ce

Please sign in to comment.