First commit of HP Auto Tool
Expression now removes closing article and div tags
Added a second webview match, for versions without a closing font tag. Also removed preheader pipe, since this assumes there is no preheader text. This should be confirmed in future versions.
Adding function.js, which will improve future modularity
Added headRules array, which will add all of the header rules, once the section replaces are completed. Also included a reference to the new function.js file, which already includes a promo replace
Modularized language detection
Cleaned up some var declarations
Removed GA script
Moved all functions into function.js. Improved formatting and readability
Moved acctSummary into a function, replacing webviewHTML with input. This could be a potential sore spot, hence commit ;)
function.js cleanup
Made modularHeader a function and moved to functions.js
Moved/created function for replacing dynamic progression in functions.js
cleaned up modular and acct functions
Optimized promo expresssions -- still needs work
Fixed the promo regex bug -- catastrophic backtracking. Now need to fix for account statement regex
Fixed acct regex to eliminate catastrophic backtracking
Disabled unused programs for time being
Broadened opening div and article class match
Broadened div and article match