Filter source URL on external website

Filter source URL on external website

My website that is on Cloudflare for example is called site1.com.br and it has a .js. This site1.com/script.js is inserted in client sites.

However, I would like to know if it is possible to check the source URL of this client of mine, for example if client1.com and everyone else (client1 to client200) are using certain words in the address of these URLs.

Example, client1.com.br has a URL that in my policy I consider prohibited.

Correct URL: client1.com/test1
Incorrect URL: client1.com/test2

NOTE: It is worth mentioning that these customers do not use Cloudflare, and as they are rebels, they are doing what they want.

In my scenario, by containing test2 on this client1.com.br, automatically my Cloudflare blocks access to site1.com/script.js

I’ve read several articles and I couldn’t find anything about it.

Today I want to automate this, as it would be a preventive layer. If I don’t have to set up a crawler to check each new news published by each client, and start penalizing him for it. However it would be the crawler is a corrective layer.