how to prevent chrome follow any location headers - google-chrome

What plugin or settings to use in google chrome to prevent follow by any location header? Can't find any information about that.

I found extension for Chrome - "Tamper chrome". It allows to edit response headers.

Related

Can't open Adblock page from within Chrome Extension

I'm trying to allow users to add an Adblock Whitelist via a Chrome extension. To allow this there is the API like such:
1) Add The Ebates WhiteList
However if I add that link to a Chrome extension popup window the link doesn't go anywhere. My guess is that the Chrome extension execution context isn't aware of Adblock/able to support that API. Is anyone who is more of an extension wizard than myself able to verify that I'm correct in my assumption and that there is no workaround? Thanks!

chrome: CORS prefly request: status 405

I'm developing a ionic app and I need to make some CORS requests for dev purpose.
I use chrome v49 with -disable-web-security. I also use an .htcacces to allow OPTIONS request.
But i still get an error 405.
Chrome header sum'up
Try adding the chrome Extension Allow-Control-Allow-Origin: * from chrome webstore , enable
cross-origin resource sharing
from its option, then reload the page
Thanks for your answer. We already tried that but it did not succeed either.
The problem was server side. We used symphony witch refuse everything with is rly strict policy. To solve this we used NelmioCorsBundle.

Google MAP API does not work in https mode

I have integrated Google MAP api into our application using Javascript but unfortunately it does not work in https mode until I click "Show all content" button displays in the bottom of IE. There is no problem with http mode. Please let me know how can I fix it.
are you including the Google MAP script in a protocol agnostic way or just using an http link? if you want to server both, the script pointing to google maps should be
<script src="//maps.googleapis.com/maps/api/js?v=3.exp&sensor=false"></script>
so that either http or https is used.
If you check the 'Enable Protected Mode' box under Internet Options > Security > Local Intranet this seems to have the effect of allowing the map to display in IE 8 and 9 for users on a corporate network.
This of course seems counter-intuitive, especially given the explanation in this link
but it has solved the problem for my users on many occasions. Not ideal, but worth a shot if you can recreate the problem and see if this is the fix.

Unable to use Chrome Experimental Devtools API

I'm trying to use the Chrome Experimental Devtools API.
I've tried running Chrome with: --enable-experimental-extension-apis as suggested here: http://developer.chrome.com/extensions/experimental.html and enabled the "Experimental Extension APIs" in the flags settings.
When I open the Console in Chrome (or Canary), I get the following:
chrome.devtools: undefined
chrome.experimental: undefined
I'm running Chrome 21.0.1180.77 beta-m. I've also tried Canary.
What am I missing?
As explained here: http://developer.chrome.com/extensions/devtools.html, the chrome.devtools APIs are only available in your devtools HTML page.
First, you need to create an HTML file and then add it to your extension's manifest under the "devtools_page" key. When you load your extension into Chrome and open the DevTools, you should see your new tab.
In that tab is the only place chrome.devtools will work.
chrome.experimental is different and will be available in all of your background pages and content scripts.
You need to run it only in Canary.
Plus when you run chrome add this flag to the command line:
path_to_chrome.exe --enable-experimental-extension-apis

Restoring chrome new-tab w/o uninstalling my extension

I have a chrome extension whick among other things is replacing the new-tab functionallity.
But since i can't restore all the new-tab functionallity (account sync login,bookmarks,web apps,recent sites,most popular).
I want the users to be able to restore the default new tab, w/o uninstalling my extension.
From my investigation there is the internal chrome scheme: "chrome-internal://" whick has the URL : chrome-internal://new-tab/ .
When i try to navigate to it from my extension it does not seem to work (premission denied,although i requested it within the mainfest).
But when navigating to it from chrome (js console) it does show the default new tab.
Any help will be appreciated.
In a Chrome extension, you can set a tab to display the original chrome new tab page by calling update on it:
chrome.tabs.update({
url: 'chrome-internal://newtab/'
});
The "New Tab" chrome extension does this. View the code on GitHub.
Alex is right. from Chrome 33+
https://www.google.co.jp/_/chrome/newtab?ie=UTF-8
replace chrome-internal
and chrome://apps works.