你正在訪問的內容是外部程式的映像位址,僅用於使用者加速訪問,本站無法保證其可靠性。當前的連結位址(單點即可複製)為 https://greasyfork.org.cn/zh-CN/scripts/17665-openload/discussions/23817,源站連結 點此以跳轉。
Remove anti-adblock, ads, popups and timer waits, and show direct download link
Hello @daedelus, thanks for the code. I have already updated the script. Let's see if this way we don't have to update much more, although I doubt it.
Sorry, just found a typo in the regex, on some videos, embed links contains a minus sign , so the new regex would be
($(this).text().match(/^[\w\.~-]+$/) && $(this).text().match(/~/))
or a generic regex that ignore tags containing whitespaces and accepts tags containing tildes
($(this).text().match(/^[^\s]+$/) && $(this).text().match(/~/))
New way to detect stream url
Updating the script everytime the devs adds an element to the dom seems pretty annoying,here is a little snippet that can match the stream url directly without having to add a condition everytime: