...
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
local initializeScript = [[ $(document).on("click", "#importButton", function() { atlasAddonAsync.executeAddonFunction('Import', { document.getElementById('valueToImport').value }); --call the Import function with the value of the valueToImport element in the web page as a parameter. }); $(document).on("click", "#replaceButton", function() { atlasAddonAsync.executeAddonFunction('Replace', { document.getElementById('originalValue').value, document.getElementById('valueToImport').value }); --call the Replace function with the values of the originalValue element and the valueToImport element }); ]]; function Import(newValue) --Process the import of the newValue ... end function Replace(oldValue, newValue) --Process the replacement ... end function Init() --Assume browser has been created, initialized, and navigated to a site. --Execute the initialization javascript so that when the buttons are clicked it will trigger the addon functions to be called via the scripting bridge browser:ExecuteScript(initializeScript); end |
DeleteCookies
Ability to delete cookies from the Chromium Browser. This ability can only be used with installations of Aeon v5.1.
Parameter Direction | Parameter Name | Parameter Description |
---|---|---|
Input | DeleteCookies | Delete any cookies from the Chromium Brower's history. |