A simple script designed to mimmic the CSS background-attachment: fixed property on a linear gradient. The purpose being that Safari browsers (ios) don't implement this property.
The script takes two colors in the form of RGB values, identifies all elements on the page that include the "gradient" class, and applies a linear gradient of those colors to each element to appear fixed when scrolling vertically.