Chrome - the strange case of the disappearing bookmarks - google-chrome

Just had an odd problem with Chrome(v43 on Linux-Fedora) I have never had before. I have a Google account I use in conjunction with Chrome and use it to keep my bookmarks sync'd between devices. This has worked flawlessly for years.
Then in the last few days I have begun to notice that many bookmarks have simply disappeared. Since I am the only one who uses this account I figure it must be some sort of syncing issue.
Going online to solve this problem I see that the majority simply involve restoring the Bookmarks file with the Bookmarks.bak file. This is where I noticed some strangeness. First both files are identical, and second, they both contain references to my missing bookmarks. So it appears that my missing Bookmarks are still safe in my Bookmarks and Bookmarks.bak file, but are simply not being picked up by chrome for whatever reason.
Any ideas as to why this might be happening and what to do to solve it?
Thanks

Just FYI that the answer was:
turn off Chrome's bookmark syncing (settings > advanced sync settings > uncheck 'bookmarks')
shut down all chrome browsers then delete your existing Chrome bookmarks file (location of this file will differ depending on your os)
rename your Bookmarks.bak file to Bookmarks
Important: in most cases it will be necessary to log out/reboot your machine since the bookmarks seem to cache even if you shut down and restart Chrome

Related

Why is the chrome extension not updating without removing it?

I have a chrome extension built using webpack.
When I make some code changes (in developer mode) and rebuild the extension, sometimes it updates automatically (I just need to close and reopen the ext icon.). Sometimes I need to reinstall the extension in order to apply the changes.
I tried to find a connection, but I could not find anything, it is completely random.
But worst of all, when I upload an extension to the Google Chrome store, I have the same situation. Users must completely delete and reinstall the extension for new features.
Who knows what it depends on and how to fix it?

Chrome is not clearing cache

I am working on a new site and whenever I change CSS settings chrome will not accept those changes unless I close out of chrome completely with Task manager and relaunch it. I have a tried quite a few things. Below is a list of things I've tried:
Versioning the CSS file (I am using a PHP date stamp at the end of the CSS file
Enabling "Clear Cache while developer window is open" in the Developer console
Using Ctrl + F5 to clear cache on refresh
Going to Application and Clear Storage in the developer Console
Clearing Cache folder in local AppData
Deleting CSS file from stie, refreshing, and readding file.
Incognito mode
Adding Launch options to chrome shortcut --disk-cache-dir=null
Adding Browser Plugins to delete cache.
Anyone have any ideas how to help? It is extremely annoying and inefficient to close chrome every time I want to check a CSS change. Another annoyance is that I am trying to listen to music in the browser so if I close chrome I have to go back and get my music playing again and it's just as of now extremely annoying and way more time consuming than I want.
I've tried looking at other articles online about cache busting and other articles on Stack Overflow but I've tried to do most of what they suggest and I haven't seen any positive outcome yet. Most articles say to add some sort of random string or version on the end of the CSS file as a GET request but that isn't working though I know that has worked for me in the past.
pres f12 > f1 > network > disable cache (while DevTools is open). This should solve your problem
Development server was running various caching tools though they should have been turned off. After disabling them chrome started to work better and most of the time CTRL+F5 did the trick.
"clearing cache" is not as easy as it should be. Instead of clearing cache on my browsers, I realized that "touching" the server files cached will actually change the date and time of the source file cached on the server (Tested on Edge, Chrome and Firefox) and most browsers will automatically download the most current fresh copy of whats on your server (code, graphics any multimedia too). I suggest you just copy the most current scripts on the server and "do the touch thing" solution before your program runs, so it will change the date of all your problem files to a most current date and time, then it downloads a fresh copy to your browser:
<?php
touch('/www/sample/file1.css');
touch('/www/sample/file2.css');
touch('/www/sample/file2.css');
?>
then ... the rest of your program...
It took me some time to resolve this issue (as many browsers act differently to different commands, but they all check time of files and compare to your downloaded copy in your browser, if different date and time, will do the refresh), If you can't go the supposed right way, there is always another usable and better solution to it. Best Regards and happy camping. By the way touch(); or alternatives work in many programming languages inclusive in javascript bash sh php and you can include or call them in html.
I used to have the same problem, and I believe it's a (pretty annoying) bug with chrome. You can use the CSS Reloader Chrome Extension to solve it. Not ideal, but better
If you are trying out new CSS updates, I suggest using Chrome's "Inspect" function to dynamically update CSS settings and observe the results interactively. This may save some time during update cycles as compared to manual edits alone.
Another option to try is to define "cache-control" meta tags in your head section. For development/testing, you may want to have no caching. For a real website, you may want to have a shorter age limit. Refer to the following SO Q&A.
Using meta tags to turn of caching in all browsers?

Default search in Google Chrome locked to smartsputnik

I have deleted and created a new user, cleared history, cleared cache even uninstalled and then installed chrome again, but nothing. Any solution for that.
I have seen some software while searching on different websites but em afraid they can also b some sort of malware, what should i do, any Help......
You can change registry in Windows by running regedit.exe, usually you don't need external tools for that. A quick search for "smartsputnik" in regedit reveals that some Chrome-related entry contains a link to it. Changing it back to what it should be, that is e.g. what Chrome uses for its search query, should fix the issue. For my colleague it was
{google:baseURL}search?q=%s&{google:RLZ}{google:originalQueryForSuggestion}{google:assistedQueryStats}{google:searchFieldtrialParameter}{google:iOSSearchLanguage}{google:searchClient}{google:sourceId}{google:contextualSearchVersion}ie={inputEncoding}
After the change, you can delete the offender from search engines as well, that seemed to be impossible while it was the default. That helped to restore Chrome itself, but this blog post says it will also append "http://smartsputnik.ru/?ri=1&uid=" as the argument to random shortcuts. That could be devious, but I've not observed that yet, will check and see.
BTW, my colleague did not install any software recently, so it looks like this malware learned a new trick.

Slightsearch hijacking google chrome reset not working

I recently got malware installed on my PC that contained software that infected my google chrome, by hijacking my default search engine. I tried:
Removing newly installed programs from PC, using windows utility.
Using Microsoft essentials and hitman pro to fully scan my computer (removed 3 malware of which one was a program and the other adware)
Removing the newly created extension in google chrome.
I tried to change my search engine back to default but I states that the administrator of the program has rights to change the search engine. I then:
Reset my chrome, and restarted my PC. Didn't work.
Then went to registry and deleted all traces of slightsearch and any keys relating to default search engine of chrome.
Restarted PC and nothing has changed at all. My home page is working as normal and I can search google when searching using the URL bar then it redirects to slightsearch.
Lastly, this malware even stared showing me ads on my desktop, when not in Chrome. Scanning and removing the malicious files solved this issue, but the search engine issue still exists.
Please help me solve this issue. And with all due respect, please do not give me the usual tips for removing popups or adware, because as already stated I have done all of these steps. Will appreciate any new solutions.
Regards
Ok so I eventually fixed the problem.
I had to delete files under c:\Windows\System32\GroupPolicyUsers
Checked all the files contained in GroupPolicyUsers and then deleted those that related to chrome and that was messing with my Registry.
Restarted chrome and now all is fixed!

Chrome 22 Developer Tools - Global Sources Search not working right (ctrl-shift-f)

this morning I noticed my Chrome updated to Chrome 22 and that the search in the top right has been removed and can now be accessed with ctrl-f.
I also noticed that ctrl-shift-f is no longer working as expected... (but this is inconsistent)
The global search has been a huge time saver for me, and now sometimes it doesn't work until I've viewed a script at least once.
For example, I have 5 scripts that I know all contain "fn_init"
I search for fn_init and nothing comes up.
I open one of those scripts and then ctrl-shift-f again, and finally get a matching result for just the one file...
Is this working as intended? Am I missing an option or something? My dev tools config options are:
General
Disabled cached
Sources
Show folders checked
Search in content scripts checked
Also: how can I install an older version of Chrome and stop it from updating automatically?
To get an older version of Chrome your best bet is to find a build of Chromium from https://chromium-build.appspot.com/p/chromium/console however if this if for devtools stability you are missing out on a lot of new features and bug fixes.
As for Search across all files it is still there and CTRL-SHIFT-F on Windows and CMD-OPT-F on Mac. See Addy Osmani's post https://plus.google.com/115133653231679625609/posts/e4W2kdrFJY9
If you find issues as bugs, it is better to raise the issue on http://crbug.com/new as it will get direct attention from the engineering team there.