Code Monkey home page Code Monkey logo

edge2chrome's Introduction

Edge 2 Chrome browser extension

icon128

Spoof Chrome while Googling to avoid Google's anti-competitive behavior

A Microsoft Edge extension that changes all the User Agent related headers to match the headers sent by Google Chrome. Why wouuld you want to do this? It seems Google classifes search traffic from any non-Chrome web browsers as "suspicious network activity." I noticed while using Chrome, the constant CAPTCHA pages stopped... This extensions is still experimental, but for two days since creating it, I have had no CAPTCHAs.

Why this extensions?

User-Agent alone is not enough anymore - there are four total headers that must be modified to convince Google you are using Chrome:

  • Sec-CH-UA
  • Sec-CH-UA-Full-Version
  • Sec-CH-UA-Full-Version-List
  • User-Agent

See rules.json for the replacement values.

Note that this release has all the version numbers hard-coded. Manifest V3 is a complete dumpster fire of lost functionality, effectively making extensions useless. (Despite claims to the contrary, Google most likely made these changes to stop ad-blockers and make more $$$)

Installation

  • Install the extension from the Edge Extension store: icon32 Edge to Chrome for Google Search
  • Download and extract the zip package (or clone the repo), enable developer mode in entensions and add unpacked extension

Notes

The current matching regex is:

^https?:\/\/[a-z0-9\-\.]*((google|gstatic|googleusercontent|ytimg|youtube|googleapis)(\.[a-z0-9\-]+(\.[a-z]{2})?))(\/.*)?$
  • Any scheme or no scheme
  • subdomains or none to one of google's domains used in search (google, gstatic, googleusercontent, ytimg, youtube, googleapis)
  • google TLD, google.Any TLD, google.co. or google.com. any two-character TLD
  • NOTE: Permissions and rules use a different method of defining the URL, so presently non "google" domains are only supported for .com.

TODO Items

  • Detect the CPU architecture and OS and update the User Agent appropriately
  • Detect the Chromium version used by Edge so the versions won't require extension updates
  • Add an indicator to the icon when it is active on a page
  • Add a configuration page to allow users to customize the UA
  • Add Firefox support (firefox will be easier using manifest v2)

Please submit any issues or feature requests!

edge2chrome's People

Contributors

jasonjshuler avatar

Stargazers

xiahan4956 avatar  avatar

edge2chrome's Issues

Can you make it so it spoofs any website I use chrome?

I am making a terrible test this Saturday and it REQUIRES me to use Chrome, no matter whether Edge runs the same core, it just won't start. I've been looking for a way to spoof my metadata, and this extension came the closest, but I am unable to make it work else where. Am I missing something? Please let me know asap

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.