Salesforce FLS Comparator Expanded 作者: Jacob Crandall
Compare Salesforce Field Level Security settings across fields and orgs
扫码在 Android 版 Firefox 中打开此扩展
扩展元数据
屏幕截图
权限与数据
必要权限:
- 获取浏览器标签页
- 访问您用于 salesforce.com 域名的网站的数据
- 访问您用于 lightning.force.com 域名的网站的数据
- 访问您用于 my.salesforce.com 域名的网站的数据
- 访问您用于 sandbox.my.salesforce.com 域名的网站的数据
- 访问您用于 develop.my.salesforce.com 域名的网站的数据
- 访问您用于 salesforce-setup.com 域名的网站的数据
- 访问您用于 my.salesforce-setup.com 域名的网站的数据
- 访问您用于 sandbox.my.salesforce-setup.com 域名的网站的数据
收集的数据:
- 开发者称此扩展无需收集数据。
更多信息
PERMISSIONS
storage — persists FLS snapshots and apply-history in browser.storage.local only. Nothing is sent remotely.
tabs — identifies which tab holds an active Salesforce session to retrieve the correct instance URL.
cookies — Salesforce marks its session token ("sid") HttpOnly, so document.cookie in a content script cannot read it. The background service worker reads it via browser.cookies.get() on the Salesforce host, uses it as a Bearer token for REST/Tooling API calls back to that same org, and never stores or transmits it elsewhere.
host_permissions (.salesforce.com, .lightning.force.com, .my.salesforce.com, .sandbox.my.salesforce.com, .develop.my.salesforce.com, .salesforce-setup.com variants) — required for the background worker to make authenticated fetch() calls to the Salesforce REST and Tooling APIs. The wildcard is necessary because orgs use unpredictable customer-specific subdomains.
CONTENT SCRIPT
salesforce-bridge.content.ts runs on Salesforce domains only. It detects Set Field-Level Security pages via URL pattern and injects a launch button. It reads nothing beyond what is already in the page URL. The background worker rejects any message from a content script whose sender tab is not a recognised Salesforce hostname.
HOW TO TEST
Requires a free Salesforce Developer Edition org (developer.salesforce.com/signup).
1. Open any page in the org after logging in.
2. Open the FLS Comparator sidebar (View → Sidebar → FLS Comparator).
3. Select an object (e.g. Contact) and field (e.g. Email), then click Fetch FLS.
4. The table shows Read/Edit access for every Profile and Permission Set in the org.
No eval(), no remote scripts, no telemetry. All network traffic goes only to the user's own Salesforce org.