4 Replies Latest reply on Sep 8, 2016 8:22 AM by michel.hegeraat

    Jabber presence visibility

    michel.hegeraat

      Maybe this is not the right place to ask this. Ignore me if it is.

       

      My company uses jabber as an internal IM.

       

      I would like it if on a web-page, the presence state of the people mentioned on the page, is visible.

       

      Currently there is an icon next to a person name, that when clicked, opens Jabber conversation with that person.

      I would like to alter the icon, based on the presence state.

       

      I don't actually control the web-server or pages, in fact I only inject JavaScript inside certain web-pages.

      It's called a userscript.

       

      I don't want to get involved in receiving or sending Jabber messages, they can use their client for that. I don't want the page to act upon presence status changes either.

       

      So, I would like the page in the browser of someone using my script, to just collect the presence status of the people mentioned in the page.

       

      I would not want to put my own user-name and password in the script to connect to the presence server, since the script is in clear text.

      The page is coming from a web-server that knows/authenticates us, as we are part of the windows domain,

      The PC also has a logged in Jabber client.

       

      Is there a simple way to get just the presence of a number of people, at the time we load the page?

       

      Thanks

       

      Michel