How to reenable Mixed Content Blocking in Google Chrome - google-chrome

By Default, Chrome blocks mixed content. This can be circumvented as per How to get Chrome to allow mixed content?.
Now I reconfigured my website to no longer need mixed content to be allowed. How do I reenable it? The page still shows as "insecure" next to the URL because of it.

Simply restarting chrome will do the trick. Use Ctrl+Shift+T to reopen all tabs. Keep in mind that data entered into forms may be lost.

Related

Can I label browser tabs across-origins?

I have a number of embedded devices with a web-based front end, each on a different randomly assigned ip address.
I often want to check between these devices but, when they're open in different tabs, it is hard to tell which is which.
I have attempted to embed these pages in iframes with a header labelling each one, but CORS prevented the pages from showing.
Is there a way I could get the opening page to label a tab or window to help me distinguish between similar looking pages? Failing that, and possibly in SuperUser territory, is there any way I could manually label the tabs in my browser once they're open?
Here's a partial answer. There are a number of third-party plugins for Chrome which allow the user to manually rename tabs. I have installed one called Simple Tab Renamer and it seems to be doing the job.
An automated system would be nicer, but I suspect security policies would prevent that.
https://chrome.google.com/webstore/detail/simple-tab-renamer/ailhpmlejogfdcpoflidmobgkgdemaog

How to disable an internal settings page/tab of a browser from opening?

As context, I would say that I am suffering from a self diagnosed Youtube Addiction. For which, I decided to use Blocksite extension to block the said website which worked pretty well. But after sometime, I came across a page called brave://extensions which is part of the internal settings of the Brave browser. Due to which, my addiction resurfaced stronger than before as I could now toggle the blocksite extension off through this page. I have tried to block this webpage as well through the extension but it doesn't work on this page as it said the url is incorrect since it is not exactly a url but internal settings tab of the browser. Is there a way I can block this page and other internal tabs from opening? Please help.
Use channel blocker and unhook extensions to get rid of unwanted content on youtube.
With the first one, you basically block youtube channels that come to the search result all the time. And with the hook, you have many options. You are not given video suggestions anymore.

how to display modified webpage without clearing cache

My website is hosted by blue host.
Whenever I modify/add text in the HTML and I refresh my webpage, the change would be reflected.
However, when I update the css file, i must clear my chrome brower cache in order to reflect the change.
This is painful as I need to constantly clear my cache. Sometimes tweaking format takes several such clearing.
Is there any way i could avoid clearing the cache but still reflect the css related changes?
You have three options:
-reload the page with cntr+shft+R
-add a dummy Parameter to your css file which you change when you need to refresh the css. E.g. .../yourpath/css.css?v=1
(In case you can use scripts such as PHP, you can use a random value for this parameter which will automatically force the css-reloading on each page refresh)
-open the developer console (F12) and disable the cache on the network tab.

display instructions if mixed content is not allowed

Is there any way to detect that a users browser hasn't enabled the Allow mixed content feature?
What i want is that if it isn't enabled, the div where the http-iframe should otherwise load displays some text telling the user what went wrong.
You should read this article: http://blogs.msdn.com/b/ieinternals/archive/2009/06/22/https-mixed-content-in-ie8.aspx
I assume that you own the secure site? if so you should consider proxying the insecure content.
anyway you could reference an image/script from the source handle errors on the "onload" event. that should do the trick.

IE form input data disappear after browser refresh

I'm trying to achieve sticky forms without PHP. My setup is AJAX like javascript. The back/forward work fine on both IE and FF, but refresh only works on FF, not IE. Doesn't matter what cache options I use, I've even set IE's temporary files option to never check for updates, and the input value is gone after page refresh(the refresh button or F5)
I've read many posts where people have the opposite problem, and do not want form data to persist across page refresh, and never read from browser cache, but I do.
Any help is appreciated, thanks!
ps. posts like HTML - input value kept after Refresh are exactly the opposite of my problems
IE/Chrome/Safari/Opera/etc has the expected behavior.
I consider it a bug that FF doesn't actually refresh the fields when you click refresh.
After all, the purpose of the refresh is to dump what you have and reload from the server. For Firefox to then merge any changed information / fields back into the form is unexpected behavior and, IMHO, bad by design.
Also note that this one issue has been fought over at Mozilla for 10 years. It is a source of MANY duplicate bug reports, is considered by many to be a critical failure, and is quite frankly a complete PITA. I don't know how many times I've had to explain to non-techies why the Firefox reload button doesn't, well, reload the page.
Lately I've taken to just telling them that the Firefox reload button is broken and that they have to either hold down the shift key which clicking refresh or use a different browser. Thankfully we have choices.
--- Update due to a comment stating confusion as to what F5 and Ctrl-F5 are --
All browsers (except Firefox) treat F5 as "reload". Which means reload the page either from cache or from the server if cache is disabled. Firefox does do the reload, but it also repopulates any boxes with stuff you've typed in... Provided those fields still exist. IMHO, this is bad behavior as a page may have changed and you end up in a very invalid state with some things filled in and others not.
To be clear, the cache does not contain what you typed in the page; cache only contains what the server sent you. So Firefox itself takes this extra step of trying to merge previously typed in and unsubmitted data. Again, NONE of the other browsers do this and it is a source of much confusion.
All browsers (including Firefox) treat Ctrl F5 as "reload from server". This ignores any files you've cached (images, css, javascript, etc) and pulls it brand new from the server. Thankfully, Firefox does not merge unsubmitted data back into the page when you do a Ctrl-F5.
Even though I agree with Chris, would this be of any help?
http://snipplr.com/view/799/get-url-variables/
It would allow you to store things in the URL (like phps GET) and access them with javascript