How to disable the Internet connection for a specific website? - google-chrome

I need to use a website to draw some diagrams, but I want to be sure that nothing goes to the server while I'm using it. This is why I want to use it locally.
After I visit that website, how can I disable the Internet connection only for that website in a given browser (I prefer Chrome, but I can also use Firefox or Internet Explorer)?
The website provides an "offline web application" containing:
<html manifest="cache.manifest">
</html>
so, it will work "offline". But this doesn't avoid the whole communication between the client and the server when the Internet connection is available. Using the Network tab I confirmed this "theoretical knowledge".
I don't want to stop the "whole" Internet connection, because I'd like to use other websites while drawing those diagrams.

Either edit your etc/hosts to resolve the hostname of the website in question to 127.0.0.1 or install some blocker extension like request policy or µmatrix

Related

Cookies are erased when opening dev tools on localhost

Anytime I have dev tools open on localhost my cookies are deleted and I am redirected to the login page on every page load which means I cannot use dev tools to debug or get insight into my site. I have localhost setup with a valid SSL cert (self-signed) and the site works normally until I open dev tools. How do I fix or disable this new "security" or setting in chrome?
After lots of issues and trying out many different things I came across this post/answer
When adding a Javascript library, Chrome complains about a missing source map, why?
Turns out that when I opened Dev Tools it would request a CSS map and the request was being sent to a different firewall causing my application to require me to re-authenticate every time this resource was requested. Turning off the CSS source map option fixed the issue

How to visually personalize Google Chrome for development

I'm using the little setup that ShimmerCat provides for web development: SOCKS5 with built-in DNS and private certificate authority. For those of you that don't know how it works, it basically means that once you start your development web server, you invoke the browser using a helper script. This script opens a browser instance with completely separated user directory and configuration. Then it is just a matter of opening the future website as it were already deployed on the Internet, the SOCKS5 and built-in DNS emulation does the magic. For example, if the site is www.my-cool-client-site.com, I just open the locally running version by typing that address in the browser.
It's all very neat and functional, but now we have deployed our real site on the Internet, and as expected everything just looks the same as in my local development setup, including the address in the browser address bar and the green padlock icon. More than once now I have found myself banging my head for "a bug" that has turned out to be me confusing the development project with the site already deployed on the Internet. Therefore my question:
Is there a way to personalize a Google Chrome profile in a very obvious way so that I can't confuse my development configuration with the normal configuration that I use to browse the Internet?

Why Firefox cannot connect to a particular page on my local server but Chrome can?

The application is working on my Local Tomcat server. For some pages Firefox suspends, the status shows "Waiting for gg.google.com". The same page is easily achieved by Chrome.
Also, I need to mention that some icons with URLs on the Web page are not present in my server, so Firefox is losing time trying to get them
Yes, as Olaf Knock hinted, disabling JavaScript debugging in Firebug solved the problem. See https://briancaos.wordpress.com/2009/07/01/waiting-for-gg-google-com/

loading PUTTY and open an SSH connection using within HTML

I have been asked to create a webpage that has different links and depending on the link it will load putty and open an SSH connection.
I have never done this before so hoping that someone may be able to help me or guide me in the right direction.
I cannot find anywhere online where it shows how to do this.
Use the ssh: scheme in your URI:
SSH to hostname
It's up to the browser's configuration to know that it should run Putty to implement the ssh: scheme. Web browsers can't run local programs directly (except using ActiveX in Internet Explorer).
However, browsers may not actually support this. There was an Internet Draft specification for this URI scheme
https://datatracker.ietf.org/doc/html/draft-ietf-secsh-scp-sftp-ssh-uri-04
but it expired 8 years ago and was never made into an official standard.

Localhost not loading in any browser

I have asked a similar question before here I sort of fixed it but im still facing a similar issue. Every time I try to load localhost, port 8095, I receive this error message in Google Chrome:
Google Chrome's connection attempt to localhost was rejected. The
website may be down, or your network may not be properly configured.
If there is a way to fix it, please tell me,
If not, please could someone inform me how to reset IIS to its original settings. Or if I can reset Windows Features so I can re-install ISS from scratch.
My website uses ASP with a connection to a SQL Server database (2012). Basic HTML pages also don't load under the URL, localhost:8095/
The servers were stopped because 2 services within administrative tools had stopped. World Wide Web Publishing Service and Web Management Service