Not a function
jc-wood opened this issue · comments
I wrote a filter for tiktok URLs. It was working for quite a while and then it just randomly broke. I haven't changed the script and the app hasn't been updated. Not sure what the issue is.
Scripts are as follows:
if ($.matches(url, '(www\\.)?tiktok\\.com')) {
return $.followRedirect(url);
}
if ($.matches(url, '(www\\.)?tiktok\\.com')) {
return $.setEncodedQuery(url, null);
}
I think your app has been updated where I removed the followRedirect
function. You can check the updated built-in short link rule for how to use the new $.fetch
which is more generic and I plan to maintain compatibility for.
That looks to have fixed it.
…On Wed, Jan 3, 2024, 8:14 PM Hai Zhang ***@***.***> wrote:
I think your app has been updated where I removed the followRedirect
function. You can check the updated built-in short link rule for how to use
the new $.fetch which is more generic an I plan to maintain compatibility
for.
—
Reply to this email directly, view it on GitHub
<#11 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AFMARX7PQJ6LX7Q7IV5E6FTYMX653AVCNFSM6AAAAABBLRMWVKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZWGE3TQNBYHE>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>