ZFC-Digital / funcaptcha-solver

This repo provides educational sample code about Chrome plugins and image recognition using Funcaptcha's Javascript protection.
15 stars 5 forks source link

Can this extension work for FunCaptcha in iframe? #2

Closed honest888 closed 2 months ago

honest888 commented 2 months ago

Hello, thanks for your effort. I wonder this extension can work with FunCaptcha in iframe. For example, in outlook FunCaptcha, the FunCatcha is in iframe. So, do you think, your extension can work for this?

mdervisaygan commented 2 months ago

Hello, yes it works in any iframe. Chrome plugins already have this feature. It works fine, but orbit captcha is not recognized by cap.guru, so it cannot solve it at the moment. It solves the others.

honest888 commented 2 months ago

Oh. Thanks for your reply. If so, do you think, this extension can't work for outlook funCaptcha?

honest888 commented 2 months ago
window.onload = () => {
    if (document.URL.includes("arkoselabs")) solveFuncaptcha()
}

This is your code. So, I think, your extension can't work for URL page that doesn't include "arkoselabs". As you know, when the FunCaptcah is in iframe, page url doesn't include "arkoselabs" string.

mdervisaygan commented 2 months ago
window.onload = () => {
    if (document.URL.includes("arkoselabs")) solveFuncaptcha()
}

This is your code. So, I think, your extension can't work for URL page that doesn't include "arkoselabs". As you know, when the FunCaptcah is in iframe, page url doesn't include "arkoselabs" string.

https://github.com/zfcsoftware/funcaptcha-solver/blob/7668e29b6b8adfda030eb97816baac107e758bdc/manifest.json#L10

Chrome extensions also treat iframes as pages. If the onload event all_frames is true, it works on all iframes and the page. The arkose captcha is already in the iframe. Since the plugin works, it can work in iframe. Please test it first.

honest888 commented 2 months ago

Thanks for your kind reply.