GithubHelp home page GithubHelp logo

Comments (4)

Yomguithereal avatar Yomguithereal commented on September 27, 2024

artoo's ajaxSniffer was developed at a time fetch was not a thing yet, as we only had XMLHTTPRequest related stuff. So unfortunately I would say this piece of code is probably outdated nowadays, which is probably why the sniffer does not work in your case.

Maybe it is possible to monkeypatch fetch but I did not investigate much about it and I don't have time to do so soon. If you want you can try and investigate please feel free to open a PR on the subject and I will review it.

from artoo.

devmertsert avatar devmertsert commented on September 27, 2024

Firstly i want to correct my sentence. It is not working on some sites not all. Because it is blocked by that sites. Sorry for that. And i am trying to fix this. i will inform you. And i will check monkeypatch. Thanks for your answer

from artoo.

Yomguithereal avatar Yomguithereal commented on September 27, 2024

This is because of CSP rules some websites are enforcing through response headers. You might want to check how to disable browser security wrt CSP or use some browser extension such as: https://chrome.google.com/webstore/detail/allow-csp-content-securit/hnojoemndpdjofcdaonbefcfecpjfflh

from artoo.

devmertsert avatar devmertsert commented on September 27, 2024

Yes, that was my problem but i fixed it. I found an extension as you said. There is no problem for now. Thank you
This is the extension:
https://chrome.google.com/webstore/detail/scriptautorunner/gpgjofmpmjjopcogjgdldidobhmjmdbm

from artoo.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.