Disable Chrome address bar autosave for dev

Web application development is local, and I just can't get Chrome to actually go to this address because automatic search always works ( http://0.0.0.0,0000/api works, for example,).

enter image description here

Is there a way to rewrite this behavior or get Chrome to try the HTTP request first before anything else?

I know that I can just twist it or something else to see the answer ...

+5
source share
4 answers

Go to chrome: // omnibox / and check [x] Prevent inline autocomplete

The answer to this should be in chrome://chrome-urls

you should see something like the following: enter image description here

A "complete" set of settings is located at chrome: // chrome-urls. It is also necessary to check chrome: // flags. As a side that allows some experimental functions from the chrom: // flags, you can significantly increase support for HTML5 browsers, which can be tested for support for HTML 5. chrome: // chrome-urls

more: Clear your browsing history, then go to settings and under "Privacy" → uncheck [] Use a prediction service to help complete searches and URLs typed in the address bar . Another idea is to carefully study if, when using linux, the following command is output for the parameters: ps -aux | grep google-chrome-stable ps -aux | grep google-chrome-stable in my case the output tells me a lot about what options are used at startup by default:

 /opt/google/chrome/chrome --type=renderer --disable-layer-squashing --enable-transition-compositing --enable-deferred-image-decoding --enable-display-list-2d-canvas --enable-distance-field-text --enable-encrypted-media --enable-experimental-canvas-features --enable-experimental-web-platform-features --enable-lcd-text --enable-one-copy --enable-overlay-scrollbar --enable-renderer-mojo-channel --enable-smooth-scrolling --enable-viewport-meta --enable-webgl-draft-extensions --enable-web-midi --enable-zero-copy --max-tiles-for-interest-area=512 --enable-plugin-power-saver --lang=en-US --force-fieldtrials=AutoReloadExperiment/FlagEnabled/AutoReloadVisibleOnlyExperiment/FlagEnabled/ChromeSuggestions/Default/DomRel-Enable/enable/EnhancedBookmarks/Default/ExtensionContentVerification/Enforce/ExtensionInstallVerification/None/GCM/Enabled/MaterialDesignNTP/Enabled_forced/OmniboxBundledExperimentV1/StandardR4/PasswordGeneration/Disabled/PrerenderFromOmnibox/OmniboxPrerenderEnabled/QUIC/FlagEnabled/SafeBrowsingIncidentReportingService/Default/SettingsEnforcement/no_enforcement/UMA-Dynamic-Binary-Uniformity-Trial/default/UMA-Population-Restrict/normal/UMA-Uniformity-Trial-1-Percent/group_09/UMA-Uniformity-Trial-10-Percent/group_02/UMA-Uniformity-Trial-100-Percent/group_01/UMA-Uniformity-Trial-20-Percent/group_04/UMA-Uniformity-Trial-5-Percent/group_16/UMA-Uniformity-Trial-50-Percent/group_01/UwSInterstitialStatus/OnButInvisible/VoiceTrigger/Install/WebRTC-IPv6Default/Default/ --enable-crash-reporter=9F2AFD26-85F1-40CB-991F-0980EF2C4D14 --enable-offline-auto-reload --enable-offline-auto-reload-visible-only --enable-offline-load-stale-cache --enable-app-window-controls --enable-embedded-extension-options --enable-experimental-extension-apis --enable-scripts-require-action --enable-nacl --enable-nacl-debug --enable-streamlined-hosted-apps --enable-web-based-signin --javascript-harmony --out-of-process-pdf --enable-delegated-renderer --enable-impl-side-painting --num-raster-threads=4 --enable-gpu-rasterization --channel=5035.27.2136067136 

Another idea is maybe to write a small widget using python tkinter and web browser modules, it can even get its input from the clipboard.

this command can also be a solution to work:

  python -m webbrowser -t "http://ip.ip.ip.ip:portport/file/" 

Another option is to use the Omnibox API and embed your own omnibox on a simple web page. Here are the ready-made omnibox api samples.

+4
source

You can avoid this by adding "/" at the end of the URL http: http://0.0.0.0:5000/api/

or

You can try adding a null search engine with the URL http://%s and null .

Go to the search engine settings:

  • Open the settings.
  • Click Manage Search Engines
  • At the bottom of the Other Search Engines section, add a new search engine. Screenshots of settings
+3
source

Using @Juan Buhagiar's answer as a starting point, I added your URL as the default search engine URL:


Other search engines

 | MyAPI | 0.0.0.0 | http://0.0.0.0:5000/api/venues/show/45/20/cafes?rubbish=%s | 

It just worked. The only drawback is that you get an excess request for your request:

 http://0.0.0.0:5000/api/venues/show/45/20/cafes?rubbish=0.0.0.0%3A5000%2Fapi%2Fvenues%2Fshow%2F45%2F20%2Fcafes%2F 

instead of plain:

 http://0.0.0.0:5000/api/venues/show/45/20/cafes 

So, as long as this does not contradict your own GET, you can simply ignore it.

+1
source

The easiest way is to add a bookmark with the desired address. This time he will not search. This may not be acceptable if you need to change variables regularly, which was not my business.

This is useful if you do not want it to disable omnibar search completely, as it is a pretty useful feature.

0
source

Source: https://habr.com/ru/post/1212183/


All Articles