你正在訪問的內容是外部程式的映像位址,僅用於使用者加速訪問,本站無法保證其可靠性。當前的連結位址(單點即可複製)為 https://greasyfork.org.cn/zh-CN/scripts/552301-observe/versions,源站連結 點此以跳轉。
Observe and wait for elements
这些是此脚本变更过代码的版本。 显示所有版本。
Increment version, remove global in waitForElement, remove unnecessary bloat in assign function
Return observer in observeAndHandle
Used the wrong namespace name.
Fix mistake in previous update
Since require chains don't work, just put the namespace code inline.
It seems to fail assigning, so I am testing moving getting the namespace.
Actually add namespace dependency.
Breaking changes. Removing tag based search and replacing with selector based search (far more flexible).Using a namespacing library instead of cooking it in each time.
Add parent functionality to waitForElement
Make waitForElement async
Changed waitForElement to use more ergonomic `await` pattern using Promises.
Proper namespacing for window (avoid conflicts if possible)
Add semicolon to end of function (possibly important)
Attaching to window to see if I can actually use the library.
Change observe from const to var
Changed capitalization