Skip to content

Launch the initial function once when page is reflashed.#11

Open
Max-Sum wants to merge 1 commit into
masterfrom
fixcuhk
Open

Launch the initial function once when page is reflashed.#11
Max-Sum wants to merge 1 commit into
masterfrom
fixcuhk

Conversation

@Max-Sum

@Max-Sum Max-Sum commented Jan 18, 2018

Copy link
Copy Markdown
Collaborator

This would fix the extension in CUHK cusis, where the whole page, instead of some of the elements, would be mutated on button fire.
And I also change the listener to MutationObserver. I have no clue if it works in CUHKSZ's system. Please test it before merging.

@Max-Sum

Max-Sum commented Jan 18, 2018

Copy link
Copy Markdown
Collaborator Author

Note: MutationObserver is new API defined by W3C DOM4 to replace the older DOM listeners.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant