Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Load frame content using contentDocument.location.href instead of src ↵ | toasted-nutbread | 2020-05-10 |
| | | | | attribute (#529) | ||
* | Popup refactor (#518) | toasted-nutbread | 2020-05-08 |
| | | | | | | | | | | | | | | | | | | | | | | | | | * Add default * Convert function to non-static * Remove static for private functions * Replace .call * Move functions with side effects into a synchronous prepare function * Rename variables with "container" to "frame" in _initializeFrame * Rename variables with "container" to "frame" * Rename getContainer to getFrame * Rename getContainerRect to getFrameRect * Organize and simplify * Fix incorrect change of "popup" => "this" * Move initial _updateVisibility into prepare() | ||
* | Popup proxy host refactor (#516) | toasted-nutbread | 2020-05-08 |
| | | | | | | | | | | | | | | | | | | | | | | | * Rename PopupProxyHost to PopupFactory * Update FrontendApiReceiver to support non-async handlers * Make some functions non-async * Make setCustomCss non-async * Make setContentScale non-async * Remove static * Rename variables * Pass frameId into PopupFactory's constructor * Change FrontendApiReceiver source from popup-proxy-host to popup-factor * Rename _invokeHostApi to _invoke * Rename PopupProxy.getHostUrl to getUrl | ||
* | Popup init update (#497) | toasted-nutbread | 2020-05-06 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add API function to send a message to a specific frameId in a tab * Update _windowMessageHandlers to support additional info per handler * Remove message token * Add new authorization check * Set up new initialization handler * Update initialization * Remove message token * Replace 'prepare' with 'configure' * Create new prepare function * Change configure guard * Log errors in onMessage * Improve popup initialize function * Clear secret/token in _resetFrame * Remove backend message token * Clear src and srcdoc attributes before loading * Don't treat about:blank unloads as load events | ||
* | Validate document nodes before use (#493) | toasted-nutbread | 2020-05-02 |
| | | | | | | | | | | | | | * Validate document.body before use in loadScripts This also fixes an issue where reject wasn't being passed to loadScriptSentinel. * Validate document nodes before use in _getSiteColor * Validate document.body before use in _getViewport * Validate document.body before use in setContentScale * Validate document.body before use in docImposterCreate | ||
* | Remove and unload the popup frame if an unexpected load occurs (#490) | toasted-nutbread | 2020-05-02 |
| | | | | | | | | | * Remove and unload the popup frame if an unexpected load occurs * Remove unused fields * Only update _injectPromiseComplete if the promise is the most recent one * Remove redundant this._injectPromise !== null check | ||
* | Don't parent the popup frame to elements which cause unload (#488) | toasted-nutbread | 2020-05-02 |
| | |||
* | Update Popup and DisplayFloat optionsContext from Frontend (#464) | siikamiika | 2020-04-26 |
| | | | | | | | | | | | | | | | | | | | | | | | | | * set optionsContext from Frontend * update Popup+Display options on Frontend change * remove popup setOptions * only update DisplayFloat options from Frontend * fix optionsContext usage * fix preview frame arguments * keep Frontend URL up to date * cache url * fix preview frame * trigger modifyingProfileChange in correct places * remove async from function not using await * refactor optionsContext in Frontend | ||
* | use getFullscreenElement to check fullscreen | siikamiika | 2020-04-18 |
| | |||
* | Add isExtensionUrl utility function to yomichan object | toasted-nutbread | 2020-04-11 |
| | |||
* | Update license author field to broader to explicitly reflect that | Alex Yatskov | 2020-04-10 |
| | | | | | Yomichan is an ongoing community project. It really does take a village, and everyone who contributes code owns a part of it :) | ||
* | move broadcastRootPopupInformation to Frontend | siikamiika | 2020-04-05 |
| | |||
* | use getTemporaryListenerResult in other places | siikamiika | 2020-04-05 |
| | |||
* | refactor | siikamiika | 2020-04-05 |
| | |||
* | fix and simplify | siikamiika | 2020-04-05 |
| | |||
* | simplify popup prepare | siikamiika | 2020-04-05 |
| | |||
* | show iframe popups in root frame | siikamiika | 2020-04-05 |
| | |||
* | apply all options on profile change | siikamiika | 2020-03-21 |
| | |||
* | Update global declarations | toasted-nutbread | 2020-03-10 |
| | |||
* | Use .bind instead of () => {} | toasted-nutbread | 2020-02-26 |
| | |||
* | Use a token to ensure that messages are coming from Yomichan | toasted-nutbread | 2020-02-17 |
| | |||
* | Check origin on window messages | toasted-nutbread | 2020-02-16 |
| | |||
* | Fix error handling on style injection | toasted-nutbread | 2020-02-16 |
| | |||
* | Delay CSS injection until a popup is created | toasted-nutbread | 2020-02-16 |
| | |||
* | Create more generic function for injecting stylesheets | toasted-nutbread | 2020-02-16 |
| | |||
* | Change parameter name | toasted-nutbread | 2020-02-16 |
| | |||
* | Allow apiInjectStylesheet to inject a URL | toasted-nutbread | 2020-02-16 |
| | |||
* | Set URL before adding to the document | toasted-nutbread | 2020-02-16 |
| | |||
* | Fix missing argument | toasted-nutbread | 2020-02-16 |
| | |||
* | Update how popups are created | toasted-nutbread | 2020-02-16 |
| | |||
* | Tweak how fullscreen changes are observed | toasted-nutbread | 2020-02-16 |
| | |||
* | Undo "Obscure the iframe's URL from the host page" | toasted-nutbread | 2020-02-16 |
| | | | | | | There are some additional issues which cause the frame to be reset to about:blank on certain occasions which must be fixed before this can be used. | ||
* | Simplify process to wait for iframe prepare completion | toasted-nutbread | 2020-02-16 |
| | |||
* | Obscure the iframe's URL from the host page | toasted-nutbread | 2020-02-15 |
| | |||
* | Merge pull request #357 from siikamiika/simplify-display-prepare | siikamiika | 2020-02-14 |
|\ | | | | | Simplify display prepare | ||
| * | use sendMessage to notify about initialization | siikamiika | 2020-02-14 |
| | | |||
| * | remove isInjected checks from Popup | siikamiika | 2020-02-13 |
| | | |||
| * | notify popup about initialization | siikamiika | 2020-02-13 |
| | | |||
* | | Define more globals | toasted-nutbread | 2020-02-11 |
|/ | |||
* | Fix viewport issues when popupScaleRelativeToVisualViewport is disabled | toasted-nutbread | 2020-01-22 |
| | |||
* | Update full-width popup to stay on screen | toasted-nutbread | 2020-01-22 |
| | |||
* | Allow viewport to be used for constraining popup position | toasted-nutbread | 2020-01-22 |
| | |||
* | Fix popup size changing when zooming | toasted-nutbread | 2020-01-22 |
| | |||
* | Scale popup based on current page zoom factor | toasted-nutbread | 2020-01-22 |
| | |||
* | Remove _isInitialized | toasted-nutbread | 2020-01-22 |
| | |||
* | Add _isInjectedAndLoaded property | toasted-nutbread | 2020-01-22 |
| | |||
* | Update license info URL | toasted-nutbread | 2020-01-01 |
| | |||
* | Update copyright | toasted-nutbread | 2020-01-01 |
| | |||
* | Fix undefined reference | toasted-nutbread | 2019-12-16 |
| | |||
* | isVisibleAsync => isVisible | toasted-nutbread | 2019-12-16 |
| |