• Resolved syrill

    (@syrill)


    Hey there and thanks for the awesome plugin.

    I managed to block Instagram with a custom regex, so the plugin itself works on the website I use it on.

    But sadly this does not apply to TikTok. Using the regex <blockquote.*script async src="https:\/\/www.tiktok.com\/embed.js"></script> I can not block it,even though any regex-checker tells me it should work.

    Could you please have a look into it? Probably some minor thing I just cant seem to find

    The page I need help with: [log in to see the link]

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author Matthias Kittsteiner

    (@kittmedia)

    Hi here,

    sure! Can you send me the exact code you’ve embedding?

    Thread Starter syrill

    (@syrill)

    Sadly not, because this form messes up even if I choose inline code
    Can provide the link tho

    Thread Starter syrill

    (@syrill)

    Or even the TikTok, where we just use the share->embed link

    Plugin Author Matthias Kittsteiner

    (@kittmedia)

    So this would be correct?

    <blockquote class="tiktok-embed" cite="https://www.tiktok.com/@edeka/video/7326257011446926625" data-video-id="7326257011446926625" style="max-width: 605px;min-width: 325px;" > <section> <a target="_blank" title="@edeka" >@edeka</a> So aktuell wie nie… Wir ?? Vielfalt und stehen auf gegen Rechts! <a title="gegenrechts" target="_blank" >#GegenRechts</a> <a target="_blank" title="? Originalton - EDEKA" >? Originalton - EDEKA</a> </section> </blockquote> <script async src="https://www.tiktok.com/embed.js"></script>
    Thread Starter syrill

    (@syrill)

    Teach me your magic, I cant seem to embed that here.
    Yea looks correct

    Plugin Author Matthias Kittsteiner

    (@kittmedia)

    You can add a “code” block here in the comments by clicking on the paragraph icon on the left of the toolbar. ??

    You can try this regex:

    /<blockquote class="tiktok-embed"(.*?)<\/blockquote> <script async src="https:\/\/www\.tiktok\.com\/embed\.js"><\/script>/
    Thread Starter syrill

    (@syrill)

    Good to know, thanks!

    Works like a charm <3
    So I actually only had to put / infront and after my regex. Well as long as I can go on with other stuff… ˉ\_(ツ)_/ˉ Thanks man

    Plugin Author Matthias Kittsteiner

    (@kittmedia)

    Close. Your regex had an error. You’ve missed escaping the / of </script> in the end.

    Thread Starter syrill

    (@syrill)

    Oh true… gonna keep that in mind.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Cant block TikTok’ is closed to new replies.