FilterRequest Struct

struct QWebEngineCookieStore::FilterRequest

QWebEngineCookieStore::FilterRequest 構造体はQWebEngineCookieStore::setCookieFilter() と共に使用され、filterCallback が操作する型である。詳細...

パブリック変数

詳細説明

QWebEngineCookieStore::setCookieFilter()も参照

メンバ変数のドキュメント

QUrl FilterRequest::firstPartyUrl

この変数はナビゲートされたURLを保持する。

アプリケーションにロケーションバーがある場合、ロケーションバーに表示されるサイトです。

訪問した特定のサイトについて、クッキー・アクセスやサードパーティ・クッキー・アクセスをホワイトリストまたはブラックリストに登録するために使用できます。

origin およびthirdPartyも参照してください

QUrl FilterRequest::origin

この変数はクッキーにアクセスするスクリプトやコンテンツの URL を保持します。

特定のサービスに対するサードパーティクッキーアクセスをホワイトリスト化またはブラックリスト化するために使うことができます。

firstPartyUrlthirdPartyも参照してください

bool FilterRequest::thirdParty

この変数は、サードパーティのアクセスとみなされるかどうかを保持する。

これは、FilterRequest::originFilterRequest::firstPartyUrl を比較し、トップドメイン(.comや.co.ukなど)でない共通のオリジン、または独立して所有するサブドメインを持つ既知のホスティングサイトを共有しているかどうかをチェックすることで計算されます。

firstPartyUrl およびoriginも参照

© 2025 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.