Comments (4)
In the same vein, I had to modify overrideIntlAPI in utils.js as the key
argument is sometimes a Symbol instead of a string:
function overrideIntlAPI(language){
try {
// ...
overridePropertyWithProxy(window, 'Intl', {
get(target, key){
if(typeof key !== 'string' || key[0].toLowerCase() === key[0]) return target[key]; // Add a check in case key is not a string
return new Proxy(
target[key],
innerHandler
);
}
});
} catch (e) {
// ...
}
}
This caused the website to detect my scraper and redirect me to the login page. Now I can scrap data with Puppeteer 21.5.0 (Playwright is detected).
from fingerprint-suite.
Hello @marcplouhinec and thank you for your interest in this project (and sorry for the wait)!
Both changes seem reasonable - a PR is welcome :) In case you haven't done this before - you fork this project, make the changes, and then create a PR from your project against this one. This way, you can still make a pull request to this repository without being a member of the Apify GitHub organization.
Cheers!
from fingerprint-suite.
@marcplouhinec Sorry to interrupt your contribution but I got this bug too @barjin please merge my PR
from fingerprint-suite.
I just submitted the pull request #257. It is very similar to the one of @thangman22 but I limited changes as much as possible (no code reformatting).
from fingerprint-suite.
Related Issues (20)
- fingerprint injection makes browsers detectable as headless HOT 16
- mobile attr for Page.setDeviceMetricsOverride could be false for mobile browser UserAgent HOT 1
- Problem with UA limitation in fingerprint generation. HOT 1
- Headers customization HOT 2
- Opera User Agent Missing. HOT 1
- Prompt browser is not safe, how to solve this problem? HOT 1
- Invalid filename after Electron build HOT 1
- Random useragent HOT 1
- Invalid Filename Error on Instantiating `FingerprintGenerator` in AWS Lambda HOT 8
- Bug in platform generation `"platform": "Win32"` HOT 3
- Invalid Filename Error on Instantiating FingerprintGenerator in AWS Lambda
- Antibot system HOT 1
- Relaxing the constraints & Strict mode HOT 1
- Fingerprint of my browser to fingerprint-suite HOT 1
- Nowsecure.nl does not pass HOT 4
- Bug fonts in fingerprint generator HOT 1
- navigator.userAgentData.getHighEntropyValues() doesn't return the values of base hints HOT 1
- Please add documentation
- navigator.mediaDevices maybe nullable HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fingerprint-suite.