I used to be fairly stoked when Chris shared a approach to “View Supply” on cell. Certain, it’s not the identical as a built-in function but it surely permits iOS customers like myself a approach to peek at a web site’s code the identical manner of us on Android can by prepending
view-source: to a URL.
I used to be curious what kinds of dev-related instruments may be baked proper into my iPhone, so I dug round. It’s truly an ideal time to try this with iOS 15 recent out of the oven and all.
The iOS Shortcuts app may be probably the most underrated app of all. It’s sorta like IFTTT or Zapier for iOS in that you just get these hooks you may mess around with to make one app reply to a different and do issues. Like dim the lights in my home when Marvin Gaye hits the HomePod. Helpful stuff like that.
And guess what? Turns on the market are a couple of pre-made Shortcuts recipes that may be helpful for front-end builders. And you may seize them proper within the Shortcuts app’s Gallery.
View supply (for realzzz)
In fact, there’s a pre-fab shortcut to view the supply of any webpage.
Now, after I’m on a webpage, I can ask Siri to view supply, or open the Share Sheet to set off the shortcut.
This might be excellent if we have now line numbers, syntax highlighting, a mono font (critically!), zooming, and… OK, possibly it’s removed from excellent.
Seize all the photographs on a web page
That is one other Shortcuts gem. Open a webpage and ask Siri to “get photos from web page.” Now, I’m no fan of scraping property off webpages, particularly in bulk, however not all picture assortment must be nefarious.
How enjoyable is that this?! Somebody had the concept to create a shortcut that opens the present web page within the Wayback Machine to see previous variations.
I truly suppose this one is legitimately helpful. Say you need to check content material in a design and need to see precisely the way it appears on cell. This shortcut mainly drops
contenteditable on each aspect on the web page.
That’s all! Once more, all of those can be found proper within the iOS Shortcuts app within the Gallery tab. Perhaps there are others. Or possibly somebody’s made a cool shortcut to share with the remainder of us. 😉
#FrontEnd #Dev #Shortcuts #iOS