This repository has been archived by the owner on Apr 29, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
62 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
github: matsuo |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
.DS_Store | ||
node_modules | ||
plugin.zip |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,21 @@ | ||
# referrer-policy-for-kintone | ||
# Referrer-Policy for kintone | ||
|
||
## 概要 | ||
|
||
* リファラー情報の外部への送信を極力抑制するリファラーポリシーを設定する、kintone用のプラグインです。 | ||
|
||
## 使い方 | ||
|
||
* [kintoneシステム管理]の画面で本プラグイン( https://github.com/emic/referrer-policy-for-kintone/releases/latest )を読み込みます(Zip形式圧縮ファイルのまま読み込みます)。 | ||
|
||
* 適用するアプリの[アプリの設定]>[詳細]>[プラグイン]で[プラグインの追加]をクリックして、本プラグインを選択して、プラグインを追加します。 | ||
|
||
* アプリの設定に戻ってから[アプリの更新]をクリックすると、プラグインが有効化されます。 | ||
|
||
## 注意点 | ||
|
||
* “Referrer-Policy: same-origin”に対応していないWebブラウザーでは、本プラグインによる効果はありません。Internet ExplorerやMicrosoft Edge(Chromeベースではないもの)、iOSのSafariを利用している場合には、リファラー情報の外部への送信は抑制されません(2020年1月現在)。 | ||
|
||
## ライセンス | ||
|
||
* ライセンスはMITライセンスです。 |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
(function() { | ||
'use strict'; | ||
kintone.events.on(['app.record.index.show', 'app.record.detail.show', 'app.record.create.show', 'app.record.edit.show', ' app.record.print.show', 'app.report.show', 'portal.show'], function(e) { | ||
var element = document.createElement('meta'); | ||
element.setAttribute('name', 'referrer'); | ||
element.setAttribute('content', 'same-origin'); | ||
document.head.appendChild(element); | ||
}); | ||
})(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
{ | ||
"manifest_version": 1, | ||
"version": 1, | ||
"type": "APP", | ||
"name": { | ||
"ja": "Referrer-Policy for kintone", | ||
"en": "Referrer-Policy for kintone" | ||
}, | ||
"description": { | ||
"ja": "リファラー情報の外部への送信を極力抑制するリファラーポリシーを設定します。", | ||
"en": "This plugin sets referrer policies to prevent sending referrer if possible." | ||
}, | ||
"icon": "icon.png", | ||
"homepage_url": { | ||
"ja": "https://www.emic.co.jp/kintone/", | ||
"en": "https://www.emic.co.jp/kintone/" | ||
}, | ||
"desktop": { | ||
"js": [ | ||
"js/referrer-policy-for-kintone.js" | ||
] | ||
}, | ||
"mobile": { | ||
"js": [ | ||
"js/referrer-policy-for-kintone.js" | ||
] | ||
} | ||
} |