feat: Add Chrome Network Monitor extension with popup UI and request handling

- Implemented popup.html for user interface with search functionality and request display.
- Developed popup.js to manage search items, matched requests, and clipboard operations.
- Created mergeConflictManager.js for automated git operations in specified repositories.
- Added projects.txt to maintain a list of relevant projects.
- Introduced pushReleaseBranches.js for managing release branches across multiple projects.
- Developed releasePrepper.js to prepare projects for release with branch management.
- Created stashUpdater.js to update git origins for projects.
- Added updatedProjects.txt to track projects that have been updated.
This commit is contained in:
Greg Jacobs
2026-01-26 16:18:42 -05:00
parent 6702f04050
commit f7d928506a
82 changed files with 9285 additions and 122 deletions

View File

@@ -13,6 +13,14 @@ This project contains several files that perform various tasks to make my life e
The script exports a function fetchAndWriteApiData that takes an object with the following properties:
- url: The URL of the API endpoint to fetch data from.
- headers: An object containing the headers to be sent with the request.
- dataCenter: The data center to which the API request should be made.
- userTier: The user tier for which the API request should be made.
- xid: The xid of the security for which the API request should be made.
- symbol: The symbol of the security for which the API request should be made.
The script also schedules the API calls to be made every 2 minutes for a duration of 4 hours.
The start time and stop time are logged to the console.
## [bookmarkletMaker.js](src\utils\bookmarkletMaker.js)
@@ -34,9 +42,15 @@ No Description Provided
@param {string} projectAPI - The project API to open the documentation for.
## [bmo-gam-auth.js](src\utils\bookmarklets\bmo-gam-auth.js)
BMO GAM Authentication Bookmarklet
Checks localStorage for BMO GAM authentication keys (bmo.gam.auth.consumerKey and bmo.gam.auth.consumerSecret).
If they don't exist, modifies the current URL to include the authentication parameters and reloads the page.
Requires the use of utils/bookmarkletMaker.js to generate the bookmarklet.
## [dag.js](src\utils\bookmarklets\dag.js)
Opens the DAG Task details page(s) based on user input.
If user provides a comma-separated list of DAG Task numbers, it opens each task's details page in a new tab.
If user does not provide any input, it opens the default DAG Tasks page in a new tab.
@@ -55,8 +69,61 @@ The code is executed when the bookmarklet is clicked on the web page.
4. Copies the decoded string to the clipboard.
Note: This function uses the Clipboard API which might not be fully supported in all browsers.
Requires the use of utils/bookmarkletMaker.js to generate the bookmarklet.
## [jira.js](src\utils\bookmarklets\jira.js)
This JavaScript function is a bookmarklet that prompts the user for a JIRA ticket number
and then opens a new browser tab with the corresponding JIRA page for that ticket.
The function works as follows:
1. Prompts the user to enter a JIRA ticket number. The entered value is stored in the `answer` variable.
2. Sets a default URL to the JIRA dashboard.
3. Checks if the user entered a value in the prompt.
4. If the user entered a value, changes the URL to point to the specific JIRA page for the entered ticket number.
5. Opens the URL in a new browser tab and brings focus to it.
Note: This function is wrapped in a self-invoking function `(function() {...})();` which means it will automatically execute as soon as it is defined.
Requires the use of utils/bookmarkletMaker.js to generate the bookmarklet.
## [moids.js](src\utils\bookmarklets\moids.js)
This JavaScript function is a bookmarklet that prompts the user for multiple MOID (Markit On Demand) numbers
and then opens a new browser tab for each corresponding Jira page for those MOIDs.
The function works as follows:
1. Prompts the user to enter MOID numbers separated by commas. The entered values are stored in the `answers` array.
2. Sets a default URL to the Jira dashboard.
3. Checks if the user entered any values in the prompt.
4. If the user entered values, changes the URL to point to the specific Jira page for each entered MOID number.
5. Opens each URL in a new browser tab and brings focus to the last opened tab.
Note: This function is wrapped in a self-invoking function `(function() {...})();` which means it will automatically execute as soon as it is defined.
Requires the use of utils/bookmarkletMaker.js to generate the bookmarklet.
## [jsToMsDate.js](src\utils\bookmarklets\notMine\jsToMsDate.js)
No Description Provided
## [msToJsDate.js](src\utils\bookmarklets\notMine\msToJsDate.js)
No Description Provided
## [showDebugInfo.js](src\utils\bookmarklets\notMine\showDebugInfo.js)
No Description Provided
## [openNomad](src\utils\bookmarklets\openNomad)
No Description Provided
## [rbc-di-featureflags.js](src\utils\bookmarklets\rbc-di-featureflags.js)
This function creates a modal dialog that allows the user to toggle feature flags.
It retrieves the feature flags from the session storage, creates checkboxes for each flag,
and saves the updated flags back to the session storage when the user clicks the save button.
The modal dialog is appended to the document body and can be closed by clicking the save button.
Requires the use of utils/bookmarkletMaker.js to generate the bookmarklet.
## [rbc-di-featureflags.md](src\utils\bookmarklets\rbc-di-featureflags.md)
No Description Provided
## [rbcSessionStorage.js](src\utils\bookmarklets\rbcSessionStorage.js)