mirror of
https://github.com/SpotX-Official/SpotX.git
synced 2026-06-20 14:10:54 +10:00
fixed version range for canvas blocking on the main page
This commit is contained in:
@@ -2135,7 +2135,7 @@ if ($test_spa) {
|
|||||||
default { $null }
|
default { $null }
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!($calltype -eq "'canvas'" -and [version]$offline -le [version]"1.2.52.442")) {
|
if (!($calltype -eq "'canvas'" -and [version]$offline -le [version]"1.2.44.405")) {
|
||||||
$section = $section -replace "sectionBlock\(data, ''\)", "sectionBlock(data, $calltype)"
|
$section = $section -replace "sectionBlock\(data, ''\)", "sectionBlock(data, $calltype)"
|
||||||
injection -p $xpui_spa_patch -f "spotx-helper" -n "sectionBlock.js" -c $section
|
injection -p $xpui_spa_patch -f "spotx-helper" -n "sectionBlock.js" -c $section
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user