You have chosen to sponsor your bid up to a maximum amount of .
I have developed a Chrome Browser Extension that performs form-based single sign on and logs the user into and out of multiple popular web pages simultaneously. I am developing an [url removed, login to view] website on WIndows Server 2008 R2 with MYSQL Server. The challenge now is connecting the browser extension to my website so that I can invoke it when the user clicks a button on my UI. I would like to do this using an API. All I am requesting is for an experience programmer to write an API, explained further below, and demonstrate the Browser Extension is fully operating and invoking the Single Sign On.
I have obtained some information as to how this should be accomplished from a message board. I encourage you to follow along and use the described method unless you have a better idea:
From a high level, what you want to do is inject a content script into every web page, which adds an API, accessible to the web page. When the site calls the API, the API triggers the content script to do something, like sending messages to the background page and/or send a result back to the content script, via ansychronous callback.
• DOM manipulation: If a content script adds a element to a page, that will work as expected. Both content script and page will see the new .
• Events: If a content script sets up an event listener, e.g., for clicks on an element, the listener will successfully fire when the event occurs. If the page sets up a listener for custom events fired from the content script, they will be successfully received when the content script fires those events.
• Functions: If the content script defines a new global function foo() (as you might try when setting up a new API). The page cannot see or execute foo, because foo exists only in the content script's execution environment, not in the page's environment.
Additional detail about exactly how this can be accomplished is located here:
[url removed, login to view]
Additional Project Description:
03/20/2013 at 9:27 CST
The final deliverable is an extremely basic user interface with a sign in and sign out button for each website. There should also be a button that signs in to All and signs out of All. The button when clicked should execute the browser extension sign in and sign out.