Unubo makes it easy for you to track progress by bringing metrics from your favourite tools into one place.
WebPush VAPIDと呼ばれる仕組みを使ってWebPushを実装する。VAPIDの仕組みそのものは下記記事を参照。 https://qiita.com/tomoyukilabs/items/9346eb44b5a48b294762 処理の流れ 大雑把な流れは クライアントでアプリケーションサーバから公開鍵の取得 サービスワーカーをブラウザへ登録 アプリケーションサーバの公開鍵をPushサーバに登録して、クライアント公開鍵・クライアント秘密乱数・エンドポイントを取得 クライアント公開鍵・クライアント秘密乱数・エンドポイントをサーバに登録 アプリケーションサーバで任意のタイミングでエンドポイントに向けてリクエストを送信 PushサーバからブラウザにPush送信 サービスワーカーでpushイベントをハンドルして通知 設計 VAPIDでPushを行うに当たって、下記の値が必要になる。 アプリ
このドキュメントは 以下の2つのドキュメントをよりプリミティブに理解するためのDRYな備忘録です。 Adding Push Notifications to a Web App | Web | Google Developers The Web Push Protocol | Web | Google Developers 背景 かつて サーバからブラウザにプッシュ通知を送りたい(非WebSocket、非ロングポーリング) - DRYな備忘録 これ書いたけど、改めてProgressive Web Appのドキュメント行ったらアホみたいに分かりづらくなってて不条理を感じたので書きます。 サーバからPush通知がブラウザに対して送れて、ブラウザのjsが閉じててもServiceWorkerが生きてるからNotificationが出る、っていうやつです。最近だとウェブのGmailと
はじめまして。FRESH! でフロントエンドの開発をしている池田 (こりら) です。 この記事では、Web Push の実装概要や FRESH! における Web プッシュ通知機能 〜機能設計編〜 をもとに、実際に FRESH! でどのように Web Push 通知機能を実装したのかを紹介します。 アジェンダ Web Push の実装概要 Web Notifications API Web Push API Firebase Cloud Messaging (FCM) Service Worker push イベント notificationclick イベント FRESH! における Web プッシュ通知の実装 FCM に関連する処理をユーティリティ化 通知に関する実装 チュートリアルの実装 チャンネルページ・登録情報の管理ページの実装 各ブラウザの個別対応 Chrome (59) Fi
Google uses AI technology to translate content into your preferred language. AI translations can contain errors. 1. 概要 プッシュ メッセージングは、ユーザーとの再エンゲージメントを簡単かつ効果的に行う方法です。この Codelab では、ウェブアプリにプッシュ通知を追加する方法について説明します。 学習内容 プッシュ メッセージングのユーザー登録と登録解除の方法 受信したプッシュ メッセージの処理方法 通知の表示方法 通知のクリックへの対応方法 必要なもの Chrome 52 以降 Chrome 用のウェブサーバー、または任意のウェブサーバー テキスト エディタ HTML、CSS、JavaScript、Chrome DevTools に関する基礎知識 サンプルコード(セット
はじめに ブラウザやプッシュ通知サービスによらず、標準化された手順でブラウザにプッシュ通知が可能になるWeb Pushに関連する技術仕様のRFC化が完了し、ブラウザとプッシュサービスへの実装もかなり整ってきています。そこで、Web Pushの使い方を改めて整理してみます。 なお、本記事は、Web Pushでブラウザにプッシュ通知を送ってみるのアップデートとなっています。 旧記事との差分 PushManager.supportedContentEncodingsがサポートされ、ブラウザが対応するContent-Encodingの種類を確認できるようになりました。Chrome 60以降、Microsoft Edge (EdgeHTML 17)が対応しています。 IETF仕様の変更により、aes128gcmというContent-Encodingが規定されました。Chrome 60以降、Firef
Why does this policy exist and where does it apply? The policy reflects certain requirements of two European privacy laws: the General Data Protection Regulation (GDPR) and the ePrivacy Directive, as well as any equivalent UK laws. This policy applies to end users located in the EEA, the UK and Switzerland. The EEA comprises the EU Member States and Iceland, Liechtenstein, and Norway. The original
プライバシーポリシーとは、サイト運営上得た個人情報をどう扱うかという指針です。必要事項と文例について簡単にまとめました。個人サイトでもアクセス解析や広告について明記しない場合、運営者責任違反となるようです。 プライバシーポリシーとは、WEBサイトを運営する上で得た個人情報をどのように取り扱うかを定めた文書です。サイト運営者はこれを自律規範としてサイトを運用することになります。 でも、個人情報の保護や運用なんて法人だけの問題では…? …という気もしますが、コメント欄でメールアドレス書く欄があれば個人情報収集してることになっちゃうんですね。 プライバシーポリシーが必要な個人サイトの要件 個人サイトでも告知が必要とされるケースは、大きく3つの柱があると思います。 cookieを利用しているかどうか 広告を掲載しているかどうか 個人情報を要求するコメント欄を設置しているかどうか cookieを利用
Hanami �� Ruby apps that grow with you Hanami is a Ruby framework designed to keep your code organised and maintainable. Separated concerns, explicit business logic, and modular architecture give you the foundation to build apps that remain a pleasure to work on even as they grow large. View the Hanami docs Hanami gives you a dedicated database layer, so you have one place for all your queries. I
ページのレイアウトをする時に全てが同じ大きさ・形・色だと、それは非常に退屈なデザインになってしまいます。要素を整理し、階層をつくり、重要な箇所にフォーカスがあたるようにするにはコントラストを効果的に使うことです。 レイアウトにビジュアルの興味を加え、デザインを生き生きとさせるコントラストの使い方を紹介します。 色の値(value)とはカラーの明るさや暗さをあらわす用語で、ピュアブラックとピュアホワイトに最もコントラストがあります。だからといって高いコントラストのデザインをつくるために、白黒のカラーパレットにこだわる必要はありません。簡単な方法の一つは、そのカラーからより明るいカラーと暗いカラーをつくり、コントラストを加え、あなたのデザインの特定の場所を目立たせることができます。 シンプルな例として、下記のような暗い背景に明るいテキストは効果的にコントラストをつくっています。背景が写真で、テ
Shopify vs WooCommerce: What's the better? What's the best website builder for an e-commerce? In the world of eCommerce, choosing the right platform can mean the difference between success... 100 Best Free Fonts for Designers in 2025 Typography is currently playing a central role in web design, with progressive improvements like Variable Fonts, CSS Shapes, FlexBox Trendy Gradients in Web Design Th
Weather Icons is the only icon font and CSS with 222 weather themed icons, ready to be dropped right into Bootstrap, or any project that needs high quality weather, maritime, and meteorological based icons! The Freedom of CSS Anthing you can do to text, you can do to the icons. Scale, rotate, flip, change color, add shadows... and more! Use In Graphic Apps Weather Icons come with OTF and TTF files
スクロールをトリガーに要素をアニメーションで表示したり、ページを表示した時にちょっとしたエフェクトを加えたり、ボタンのホバー時に気持ちいいアニメーションを加えたり、CSS3のアニメーションを簡単に加えることができるリソースを紹介します。 Story Box Story Box -GitHub スクロールをトリガーに54種類のアニメーションを簡単に実装できるjQueryのプラグイン。アニメーションは非常に軽快で、デモ:ユニークの派手なアニメーションでも快適です。 ScrollMagic ScrollMagic -GitHub Appleのプロダクトページのように次々に要素を表示したり、簡単にパララックスを加えたり、特定の要素をスクロール時にピンで留めて表示したりなど、スクロール系のエフェクトは全部できてしまう感じです。 スマフォなどレスポンシブ対応はもちろん、水平スクロール、無限スクロール、
The document summarizes quotes from three individuals about web design and development. Tim Berners-Lee notes that the primary principle of the web is universality, meaning it should be accessible from any device. Jason Fried argues that designing in Photoshop wastes time, as the design then needs to be rebuilt in HTML/CSS. Instead, one should design directly in HTML/CSS to allow for faster iterat
...psst! While Bower is maintained, we recommend using Yarn and Vite for front-end projects. Read how to migrate! Web sites are made of lots of things — frameworks, libraries, assets, and utilities. Bower manages all these things for you. Keeping track of all these packages and making sure they are up to date (or set to the specific versions you need) is tricky. Bower to the rescue! Bower can mana
A CSS sticky footer that just works We've all tried to use a sticky footer one time or another, but they never seem to come out right, do they? Well, the days of a hard to understand CSS-based sticky footer are thankfully over. In just a few simple CSS classes with minimal extra HTML markup, I've fashioned a sticky footer that even beginners can get a handle on. It's been tested in IE 5 and up, Fi
These lovely water-colorful dots will make your designs pop...
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く