Giter VIP home page Giter VIP logo

chrome-response-override's People

Contributors

pasupathi-rajamanickam avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

chrome-response-override's Issues

Extension not working

I can't get this extension to work with even a basic find/replace.

I am using Chrome 86.0.4240.75 (Official Build) (64-bit).

Steps to reproduce:

  1. Navigate to http://example.com
  2. Open Chrome DevTools
  3. Navigate to the Response Override tab and add the following row:
    • URL contains: /
    • Find: domain
    • Replace: foobar
    • Content-Type: (empty)
      image
  4. Click Save and then the "play" button (>)
  5. Refresh the page.

Expected behavior:

I would expect the word "domain" in the page body to be replaced with "foobar".

Actual behavior:

The word "domain" does not get replaced anywhere in the response content, either in the reponse shown in the Network tab of the DevTools or in the rendered page body itself.

Extensions doesn't start

I'm trying to get this extension to work in order to replace a value from a response. Here is what I have

image

I must add, that it took me a while to find the 'play' button (I don't think > is a good icon for a play button). But when I click it nothing actually happens. Does this extension still work with the latest chrome?

Can status code be overridden?

Is it possible to override a response and change the status code to 401?

This is what I've tried but since it's not working for me I'm probably not doing it the correct way or maybe it's not possible to via this extension?

image

No info about how to start this

You should add some information for noobs like me about how to actually set it up. In Readme you are expecting that it's already part of devtools, but in order to get there you need to do some magic before that

Some of the request headers were missed when enable this extension

Hi,

I was trying to modify the response of my http request. The request was used to upload file to remote server.
I noticed that when I enable the extension, the Content-Length was set to zero, and thus, server could not properly process the request.
The fisrt snapshot showed you the wrong content-length, the second one was the right one with extension disabled.
image
image

Chrome's native solution for overrides

Hello @Pasupathi-Rajamanickam,

First and foremost, I want to express my sincere gratitude for developing this extremely useful extension. It has been an invaluable asset to me on numerous occasions during the testing of our web application.

However, I'd like to bring to everyone's attention that Chrome has recently launched a native feature for overrides, as detailed here: https://developer.chrome.com/docs/devtools/overrides. This new built-in solution offers a more intuitive user experience and, unfortunately, renders your extension less necessary.

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.