Giter Club home page Giter Club logo

gsearch-gmaps-link's Introduction

gsearch-gmaps-link

https://www.buymeacoffee.com/rhozacc

I got annoyed that when clicking the map box on a Google Search result it doesn't take you to a Google Maps location anymore. Using this extension, when clicking on map box in a Google Search results it opens Google Maps like it used to:

Installation

  1. Download gsearch-gmaps-link. Due to Chrome blocking you from downloading .crx files, you download source code zip, and unzip the repository.
  2. Go to chrome://extensions
  3. Enable _Developer Mode _Once you've enabled Developer Mode, you'll see additional options appear.
  4. Click on the Load unpacked button. A file dialog will open. Navigate to the location where you downloaded the gsearch-gmaps-link.crx file and select it. Once installed, you should see the extension appear in the list of installed extensions on the Extensions page.
  5. Verify Installation. You should now see the extension icon in the Chrome toolbar. You can also verify that the extension is installed and enabled by checking the Extensions page. Navigate to Google search results and look for a map box element. Click on the map box, and it should open Google Maps with the corresponding search query.

By following these steps, you should be able to successfully install and use the gsearch-gmaps-link extension in Chrome. If you have any questions or encounter any issues during the installation process, feel free to ask!

gsearch-gmaps-link's People

Contributors

rhozacc avatar

Stargazers

 avatar Tristan Hollman avatar  avatar Aleksandr Tereshchenko avatar Petr Nohejl avatar JonPQ avatar  avatar

Watchers

 avatar

gsearch-gmaps-link's Issues

Use regular links instead of click handlers

Instead of click handlers, regular links may be used. This would have many benefits:

  • Cleaner, more natural integration.
  • Able to left-click (open in current tab) or middle-click (open in new tab).
  • See target in status bar.

Implementation suggestion:

  1. Use elm.closest('a'). If a link is found, edit its href attribute do nothing, keep the existing link.
  2. If no link is found, encapsulate the element in a link:
const link = document.createElement('a');
link.href = googleMapsLink;
mapBox.after(link);
link.append(mapBox);

I can't view cities.

There seems to be a problem when I search up cities. I can only see locations of certain statues or places e.g. "The Great Wall of China", but when I search up e.g. "Hebron", I can't click on it. I hope this can be fixed.

Doesn't work when googling address.

It works nicely for results with the map as part of the knowledge graph on the right, but not when the map is inline with search results as shown here:

image

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.