Main, home of the dope ass bear.
THE MAIN RULE: ALL TEXT POSTS MUST CONTAIN "MAIN" OR BE ENTIRELY IMAGES (INLINE OR EMOJI)
(Temporary moratorium on main rule to encourage more posting on main. We reserve the right to arbitrarily enforce it whenever we wish and the right to strike this line and enforce mainposting with zero notification to the users because its funny)
A hexbear.net commainity. Main sure to subscribe to other communities as well. Your feed will become the Lion's Main!
Good comrades mainly sort posts by hot and comments by new!
State-by-state guide on maintaining firearm ownership
Domain guide on mutual aid and foodbank resources
Tips for looking at financials of non-profits (How to donate amainly)
Community-sourced megapost on the main media sources to radicalize libs and chuds with
Main Source for Feminism for Babies
Maintaining OpSec / Data Spring Cleaning guide
Remain up to date on what time is it in Moscow
view the rest of the comments
A more obviously safe command (to me) is to use the .length method.
window.isoData.site_res.taglines.lengthWill give you the number directly, and putting .length on the end guarantees that all you're doing with that array is printing the length of it. But I'm a JS beginner!
Very true! Although, in a scenario in which I were actually doing something nefarious, it's not difficult to run arbitrary code whenever a property is accessed—here's a relevant example from StackOverflow using Proxy() and modified to fit our scenario:
In this case, it'll throw an error, since there is no
site_res(or anything below it) in our toy example, but the code ingetruns all the same. Also, sincewindowis a reserved global variable, I had to be a little sneaky and swap out the Latin o for a Cyrillic o to avoid the naming conflict.Anyhow, another advantage of accessing the array is that you can then click to expand it in your browser console and peruse the taglines at your leisure!
Also, hello, fellow Aer!
Oh what a coincidence! I didn't notice!