cyyynthia / pronoundb.org

A browser extension that lets people know how to refer to each other on various places of the Internet. Available on Chrome, Firefox, and Edge.
https://pronoundb.org
BSD 3-Clause "New" or "Revised" License
271 stars 22 forks source link

Adding API For Other Websites #95

Closed TheMineCommander closed 7 months ago

TheMineCommander commented 1 year ago

Is it possible to add a feature where website creators can specify in the HTML of our webpage what pronouns to use? For example, we would click the extension, and it would show the website owner's pronouns. Thanks in advance!

9021007 commented 1 year ago

https://pronoundb.org/docs

TheMineCommander commented 1 year ago

https://pronoundb.org/docs

Hey there! I checked the docs and still don't see anything that can help with this. Would you like more information?

9021007 commented 1 year ago

You can just have it grab your current setting and add it to the page itself with JavaScript

NoPlagiarism commented 1 year ago

The best you can do now - use linked accounts of supported systems.

Btw, would be cool, if there would be a possibility to get pronouns from pronoundb acc id. It should do the trick, I guess

cyyynthia commented 1 year ago

I'm unsure what would be the use case here. I've seen people use the PronounDB API to fetch pronouns to show on their own pages, but I'm unsure what you're trying to achieve here.

TheMineCommander commented 1 year ago

I'm unsure what would be the use case here.

Hi there! The use case would be that users could add support for their own pages.

Think of a website where users can host their own pages. I have one of them. In this case, users would have a button to import their extension preferences (of course, the server owner would have to add a header or flag in the source code). If we could add this, it would be awesome. Thanks for your time!

cyyynthia commented 1 year ago

The extension cannot inject into arbitrary pages; it is limited to the list of supported websites as a security measure from the browser extension platform. With that in mind, I still am very confused as what you mean.

cyyynthia commented 7 months ago

Without further information I'll close this issue.