nathan-d / aws-smc-greasemonkey Goto Github PK
View Code? Open in Web Editor NEWGreasemonkey script to pull configuration from AWS simply monthly calculator
Greasemonkey script to pull configuration from AWS simply monthly calculator
Post-PoC the script needs auditing and tidying up. Focus on the following areas...
There are at least a few areas which work in spite of the logic used. There is obvious fragility in the rowHandler
that should be addressed.
In a few areas we're dropping through multiple levels of HTML collections where a single direct quertySelectorAll
might be a better fit. We've also got some slight overlaps in functions handling headers, rows, and more specific data structure parsing such as for radio buttons.
There are a few functions related to row handling functionality which should be split out into distinct functions with wrapping calls. At the very least we should keep the functions to less than 20 lines.
At the moment we allow any numeric figure to be passed as an identifier for the customer account. We should to implement some sort of validation functionality to ensure only FAWS customer IDs can be used.
We add some basic field length and format checks to ensure the number used looks like a real account id.
Pros
Cons
We add an async on submission check which exposes a Export failed - Unknown or incorrect account number used notification (Not a JS alert but likely a flash - Not adobe flash) to the user.
Pros
Cons
At the moment we're using some very basic styling for the FAWS export stripe. We should look to add the following:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.