68 karma · joined Apr 1, 2011 (15y ago) · 23 submissions
comment 13y ago · link · parent
https://developer.mozilla.org/en-US/docs/Web/API/window.requ...
5.
Baseline - Dev box with batteries included(github.com ↗)
1 points · by crandles · 13y ago · discuss
comment 13y ago · link · parent
Instead of requiring all web access just so an app can perform an action on any page (when you decide for it to) - what if a specific user action could grant temporary/permanent access to a domain? E.g. Clicking an icon if the app is in the toolbar, or selecting a certain action from a menu.
Chrome has a way to prompt for temporary permissions - but this brings up an alert box, and that is never ideal, it would be nice if the user interaction could be taken for permission.
edit: apparently its in beta (https://news.ycombinator.com/item?id=5383011)
comment 13y ago · link · parent
comment 14y ago · link · parent
comment 14y ago · link · parent
Not the most familiar with it, but I believe the gist of it is to allow developers to create self-contained widgets (or at least part of its usefulness). With it, you'll also be able to access/manipulate browser elements (they'll be presented with a Shadow DOM interface just like a custom widget).
Think styling an HTML5 Video/Audio Player. Each browser may have their own interface, but they'll be built using components, and you'll have access to them using CSS/Javascript in your web page. With the Shadow DOM, you should be able to manipulate said datepicker.
edit: styling a video tag example http://blog.romanliutikov.com/coding/discover-the-dark-side-...
comment 14y ago · link · parent
If you're already using some kind of ad-block, there's nothing stopping you/your ad block from disabling the visibility API on select pages (youtube et. al). It's a Javascript API, and that means you'll be able to alter its functionality fairly easily (bookmarklet, plugin, addon, etc).
comment 14y ago · link · parent
For web browsing it is great. And if you do a lot of work from ssh, you'll be fine. With the added RAM and beefed specs, this thing may even be OK at playing video.
19.
Deferred Action Process for Young People Who Are Low Enforcement Priorities(dhs.gov ↗)
1 points · by crandles · 14y ago · discuss
comment 14y ago · link · parent