I can change the chrome setting by going to Privacy and security - site settings - Content section - disable Images
Is there a chrome extension that will do exactly that? I have tried 2 extensions, but both of them remove images "after" they have loaded. That does not make browsing any faster. I will like to click a button to enable / disable the setting mentioned above.
A simple Chrome extension that lets you disable/enable images on "per host" level.Click once and you'll disable images for the current site. Click again and images will be re-enabled.
https://singleclickapps.com/images-on-off/
There are some options available, but basically, the extension does just that (and nothing more)
Related
I'm working on a project where I need to see the page I'm working on without any extension injected code messing up what I see. I want to know if I can create, or if there is currently, an extension that disables all other extensions for xyz page.
No, extensions can only disable other extensions entirely by using chrome.management.setEnabled API. It's like the on/off switch in chrome://extensions page.
The only way to exclude a certain site from being affected by all or some extensions is to add ExtensionSettings policy with runtime_blocked_hosts that contains that site. Note that the entire site is disabled, not just a single URL. Example: {"*": {"runtime_blocked_hosts": ["*://lastpass.com"]}}
A simple workaround for your use case may be to open that page in an incognito window or even in a new browser profile without extensions: click your avatar icon in the toolbar to access the profile tools where you can create and then open a new profile.
i'm making a chrome extension with a toggle button that disable and enable the extension but the problem is that the extension icon hides when i click it.
i was thinking in a background extension but how I can add two extensions in the manifest.json..
The answer is simple: you can't! In a manifest.json you can only declare one extension and all the relative resources. The behaviour you want to achieve is not possible, because the icon will be removed from the chrome toolbar if an extension is deactivated, and it's not possible to change this.
I have a Chrome Extension (page action). The extension is loaded in developer mode (not from the store).
The extension is used in two sites, both of which URLs are in the manifest.
When I go to one of the sites, the page icon is enabled and when I click it, it runs fine.
When I go to the other site, the extension icon is also enabled but when I click on the extension, instead of running the action, the extension menu appears (as if I had right-clicked the icon instead of clicked it).
When I hover the page action icon, in both sites I get the text "Has access to this site".
Which are possible causes for this behavior?
Something definitely changed with the manifest.json handling of the most recent Chrome update. (In my case, "Version 72.0.3626.96 (Official Build) (64-bit)" on Windows.) My extension stopped working in a way similar to what you describe.
The solution to my problem was to remove the specific url permissions I had specified in the "permissions" section, and replace them with <all_urls>. I tried tightening them back up again, but the only other thing that worked for me was https://*/*.
I tested this on several machines that had the previous version of Chrome and they had the same behavior... successful operation before the Chrome update, no response after. The icon displayed properly and showed "Has access to this site", but my background page refused to run.
Good luck! Hopefully this helps!
Can I add code to a page that will disable an extension running on that specific page?
Yes, there are extensions and settings that will prevent an extension from running.
I'm trying to avoid those approaches and control it within the page itself where I don't want it to run.
Yes, I can add code to the page(s) where I want to disable.
Want to do this with Javasript or JQuery.
Sometimes browsers are not reloading images. Especially images that are in css.
Why is this happening?
Sometimes, when we creating website - we change images many times. Sometimes images are cached and they are not refreshing.
The best example are images, that browser loads on "mouseover" or "click" events (menu backgrounds for example) are really frustrating, because there is no way to refresh them with F5 or Ctrl+F5, because they are not displayed. They can ruin your day :D
HOW TO DISABLE CACHE IN POPULAR BROWSERS TUTORIAL
IMPORTANT: don't forget what you turned off/on - you may need cache later when you will work on 56k modem :D or 3G connection.
How to disable cache in Google Chrome:
Open Chrome Developer Tools (by menu, or shortcut Ctrl+Shift+I).
Click gear icon in right bottom corner (settings)
In settings of Developer Tools there is an option "Disable cache".
How to disable cache in Mozilla Firefox:
Type or paste "about:config" in address bar.
Accept message from scary window (new versions) :)
Find "network.http.use-cache" and double-click it.
To reenable - double-click again.
How to disable cache in Opera?
Type "opera:config" in address bar.
Find Cache section.
There are many helpful options. You can:
set image expiry in cache
permanent disable cache for images (its called "Cache Figs")
permanent disable cache for documents
How to disable cache in Internet Explorer 9
(unfortunately i dont have english version, so i can make mistake translating)
Turn on Developer Tools (shorcut key F12)
Expand developer tools window if you dont see menu
Find Cache in that menu and there should be an option "Always Refresh from Server"
Alternative for IE (older versions without developer tools):
You can find "Always Refresh from Server" option in IE settings.