retrorocket / right-click-to-calendar Goto Github PK
View Code? Open in Web Editor NEW正規表現を駆使して右クリックからGoogleカレンダーに予定を投稿できるChrome拡張。
License: MIT License
正規表現を駆使して右クリックからGoogleカレンダーに予定を投稿できるChrome拡張。
License: MIT License
Moment.jsのProject Status
https://momentjs.com/docs/#/-project-status/
順当にLuxonに移行する。
https://moment.github.io/luxon/
もはや使うメリットがないのとjestと相性が悪くてテストしづらいので廃止する。
(メール問い合わせ)
iframe内のテキストを選択しても投稿画面に反映されないか、投稿画面が立ち上がらない
事象を確認しているサイト
https://retrorocket.biz/archives/159
環境
Vivaldi 6.1.3035.111 (Stable channel) (64-bit)
Google認証すると空白のページにジャンプしますが、window.close()されません。
空白ページのアドレスは chrome-extension://femihkgadmhfmdlkjjfjcgleppfggadk/gettoken.html
開発者コンソールの表示は [Scripts may close only the windows that were opened by them. ](gettoken.js:32 Scripts may close only the windows that were opened by them.)です
Edgeだと再現しません。
関連 #74
v3.31時点ではGoogleのドキュメントに倣ってimplicit flowを採用している。
クライアントサイド ウェブ アプリケーション用の OAuth 2.0 | Authorization | Google Developers
これを直そうとするとやりたいことに対してコストが掛かりすぎるので諦めてこのままの運用で行く。
どうしようもないならChromiumのサポートは諦める。
「選択したテキストをカレンダーに投稿」の開始・終了年が6桁まで入力可能なため、入力桁数が4桁だと使いやすいです。
Right-Click-to-Calendar/app/setevent.html
Line 38 in d847f81
以下のstack overflowの内容が関連するかと思います。
https://stackoverflow.com/questions/24603919/html5-date-input-6-digit-year
Edgeだとブラウザを起動するたびにGoogleへのログインが必要になる上に、IDとPWの再入力と2段階認証もやり直しになり不便です。
Chromeだとこのようなことはなく快適に使えます。どうにか同じ仕様にできないものでしょうか?
1年我慢しましたが慣れなかったので解決してほしいです。
要望が多いEdgeと自分が使っているVivaldiあたりで動作するのを目標に実装する
便利な拡張機能を使わせてもらっています。
タイトルの通りですが、選択したテキストから日付を抽出できない場合、カレンダーのタイトルにテキストが入ったら便利だなと思いました。
(例えば「会食」というテキストを選択した場合、タイトルに「会食」と入るイメージです)
よろしければ検討していただけると助かります。
初回利用時
extension://femihkgadmhfmdlkjjfjcgleppfggadk/options.html
を開き、Chromium用オプションにチェックを入れ、リロードするとEdgeがクラッシュします。
ただし、全く同じOSでEdgeのバージョンも同じPC2台のうち、クラッシュするのは1台だけ、片方は正常に動作します。
Edge
バージョン 97.0.1072.55 (公式ビルド) (64 ビット)
OS
Windows 10 Pro 21H2 19044.1415
クラッシュするため開発者ツールは開けません。エラーダンプはとれませんでした。
この報告をするためだけにアカウントを作成しましたので、できれば調べてほしいです。
クラッシュしたPCでSleipnirに同じことをしましたが、Sleipnirでは動作します。
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.