Skip to content
This repository has been archived by the owner on Jul 29, 2023. It is now read-only.

Comments load after YouTube's custom navigation #197

Closed
wants to merge 2 commits into from

Conversation

AjaxGb
Copy link

@AjaxGb AjaxGb commented Jan 24, 2017

See http://youtube.github.io/spfjs/documentation/events/.
The spfdone event is fired when YouTube completes an internal page load.
Fixes #194.

@AjaxGb
Copy link
Author

AjaxGb commented Jan 24, 2017

On closer inspection, this solution is clunky and inefficient. The event listener should really be added in the Application constructor, in place of the mutation observer. Otherwise, I'm just loading a new copy of the extension every time the user navigates to a new page.

Give me some time to work on this, or feel free to do it yourself.

@AjaxGb AjaxGb closed this Jan 24, 2017
@AjaxGb AjaxGb deleted the patch-1 branch September 8, 2017 20:38
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant