Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

clear playlistItems when navigating on YT #2587

Open
wants to merge 14 commits into
base: feature/Playlists
from
Open
Changes from 1 commit
Commits
File filter...
Filter file types
Jump to…
Jump to file
Failed to load files.

Always

Just for now

Next

Fix for videos not showing in all iFrames on the playlist.

  • Loading branch information
Brandon-T committed Dec 2, 2019
commit 145c04d665e067fe003a64f730087724bb882479
@@ -208,7 +208,7 @@ class UserScriptManager {
let token = UserScriptManager.securityToken.uuidString.replacingOccurrences(of: "-", with: "", options: .literal)
alteredSource = alteredSource.replacingOccurrences(of: "$<videosSupportFullscreen>", with: "VSF\(token)", options: .literal)

return WKUserScript(source: alteredSource, injectionTime: .atDocumentStart, forMainFrameOnly: true)
return WKUserScript(source: alteredSource, injectionTime: .atDocumentStart, forMainFrameOnly: false)
}()

private func reloadUserScripts() {
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.