Detect the type of Organization of a user to update Sigil accordingly #5

Closed
opened 2022-12-09 17:23:57 +01:00 by alk-spriet · 2 comments
alk-spriet commented 2022-12-09 17:23:57 +01:00 (Migrated from github.com)

I have no way to detected autonomously if a user is logged as Retailer or Supplier.

Until a month back, I was relying on Chrome Profiles that allowed me to have different extensions profiles and load right banner. But as I moved to Firefox, I don't have profiles but rather Containers. However, Extensions and webpage themself can't access this.

I have no way to detected autonomously if a user is logged as Retailer or Supplier. Until a month back, I was relying on Chrome Profiles that allowed me to have different extensions profiles and load right banner. But as I moved to Firefox, I don't have profiles but rather Containers. However, Extensions and webpage themself can't access this.
alk-spriet commented 2022-12-09 17:24:20 +01:00 (Migrated from github.com)

For now, Suppliers have access to the Academy and Retailer use the Help Center. So it detect when ever li.HelpCenter have #academy-access or :not(#academy-access).

This is not really reliable though.

For now, Suppliers have access to the Academy and Retailer use the Help Center. So it detect when ever `li.HelpCenter` have `#academy-access` or `:not(#academy-access)`. This is not really reliable though.
alk-spriet commented 2022-12-09 17:34:37 +01:00 (Migrated from github.com)

Also there is now a single file Sigils.css to use.

Also there is now a single file Sigils.css to use.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Salsify/front-ui-tweaker#5
No description provided.