Help explain this chrome script

Solution
The way it is stored - it is malicious. It is written this way so that it will be difficult to understand unless you really wish to.

The first three rows (up until "return p") is the decoding part, someone with more free time might want to decode the rest.
The way it is stored - it is malicious. It is written this way so that it will be difficult to understand unless you really wish to.

The first three rows (up until "return p") is the decoding part, someone with more free time might want to decode the rest.
 
Solution