

Front-End Dev Shortcuts in iOS 15 | CSS-Tricks
source link: https://css-tricks.com/front-end-dev-shortcuts-in-ios-15/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

Front-End Dev Shortcuts in iOS 15
Geoff Graham on
Sep 29, 2021 (Updated on Sep 30, 2021)
Take your JavaScript to the next level at .
I was pretty stoked when Chris shared a way to “View Source” on mobile. Sure, it’s not the same as a built-in feature but it allows iOS users like myself a way to peek at a site’s code the same way folks on Android can by prepending view-source:
to a URL.
I was curious what sorts of dev-related tools might be baked right into my iPhone, so I dug around. It’s actually a perfect time to do that with iOS 15 fresh out of the oven and all.
The iOS Shortcuts app might be the most underrated app of all. It’s sorta like IFTTT or Zapier for iOS in that you get these hooks you can play around with to make one app respond to another and do things. Like dim the lights in my house when Marvin Gaye hits the HomePod. Useful stuff like that.
And guess what? Turns out there are a few pre-made Shortcuts recipes that can be useful for front-end developers. And you can grab them right in the Shortcuts app’s Gallery.




View source (for realzzz)
Of course, there’s a pre-fab shortcut to view the source of any webpage.
Now, when I’m on a webpage, I can ask Siri to view source, or open the Share Sheet to trigger the shortcut.


This would be perfect if we have line numbers, syntax highlighting, a mono font (seriously!), zooming, and… OK, maybe it’s far from perfect.
Grab all the images on a page
This is another Shortcuts gem. Open a webpage and ask Siri to “get images from page.” Now, I’m no fan of scraping assets off webpages, especially in bulk, but not all image collection has to be nefarious.


Wayback Machine
How fun is this?! Someone had the idea to create a shortcut that opens the current page in the Wayback Machine to see past versions.


Edit webpage
I actually think this one is legitimately useful. Say you want to test content in a design and want to see exactly how it looks on mobile. This shortcut basically drops contenteditable
on every element on the page.


That’s all! Again, all of these are available right in the iOS Shortcuts app in the Gallery tab. Maybe there are others. Or maybe someone’s made a cool shortcut to share with the rest of us. 😉
Recommend
-
112
Front-End-Checklist : ? The perfect Front-End Checklist for modern websites and meticulous developers
-
98
Front-End Performance Checklist :video_game: The only Front-End Performance Checklist that runs faster than the other...
-
10
adobe The End of Adobe Flash Learn Development at
-
5
Front-End Testing is For Everyone — Open, multi-cloud stack for modern apps Testing is one of those things that you either get super excited about or kinda close your eyes and walk away. Whichever camp you fall into, I’...
-
22
VsCode extensions are the backbone on the text editor. You can add language, keymaps, plugins, debuggers and many other tools by the help of extension. Here are some useful or "Must have" extensions for front end dev like me :) ...
-
6
2021 End-of-Year Thoughts Archive Life is imperfect, unpredictable, and beautiful. We can walk through the same forest every day and see different color leaves. We can look up at the clouds every minute and...
-
16
Web Development 10 Useful CSS Tricks for Front-end Developers
-
7
@zadr's iOS 7 dev tricks Sep 20, 2013 @zadr 在 iOS 7 正式发布几个小时后在 Twitter 上连续发了一些 iOS 7 SDK 小技巧,大部分都是我还不知道的东西,...
-
24
I started as a front-end web developer and then became a Flutter developer. I think there were some concepts that helped me adopt Flutter easier. There were also some new concepts that were differ...
-
10
Finding Front-End Development Scholarships ...
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK