Topic: Google Chorme edit master preferences  (Read 1261 times)

Google Chorme edit master preferences
« on: August 09, 2018, 02:58:19 PM »

teik

  • Chef
  • ***
  • Date Registered: Nov 2016
  • Posts: 250
This morning looking for how to make chrome not start the welcome page when booting and I have seen how it is configured "Master_preferences". But I'm still very new to control it. Looking for some information I leave a template here for those who want to look at it.
I need help to include a marker to the bar and make it visible. In case anyone knows more about this topic.

Code: [Select]
{
  "homepage": "http://www.google.com",
  "homepage_is_newtabpage": false,
  "browser": {
    "show_home_button": true
  },
  "session": {
    "restore_on_startup": 4,
    "startup_urls": [
      "http://www.google.com/ig"
    ]
  },
  [color=red]"bookmark_bar": {
    "show_on_all_tabs": true[/color]
  },
  "sync_promo": {
    "show_on_first_run_allowed": false
  },
[color=red]  "distribution": {
    "import_bookmarks_from_file": "bookmarks.html",
    "import_bookmarks": true,[/color]
    "import_history": true,
    "import_home_page": true,
    "import_search_engine": true,
    "ping_delay": 60,
    "suppress_first_run_bubble": true,
    "do_not_create_desktop_shortcut": true,
    "do_not_create_quick_launch_shortcut": true,
    "do_not_launch_chrome": true,
    "do_not_register_for_update_launch": true,
    "make_chrome_default": true,
    "make_chrome_default_for_user": true,
    "suppress_first_run_default_browser_prompt": true,
    "system_level": true,
    "verbose_logging": true
  },
  "first_run_tabs": [
    "http://www.example.com",
    "http://welcome_page",
    "http://new_tab_page"
  ]
}
I found this part of the code, but how would I find a marker inside a Win10XPE iso? What would be the correct address?

Code: [Select]
{
   "distribution": {
      "import_bookmarks": false,
      "import_bookmarks_from_file": "c:\\path\\to\\your\\bookmarks.html"
   },
   "bookmark_bar": {
      "show_on_all_tabs": true
   }
 }

The relevant entries are:

"import_bookmarks_from_file": needs to have the path to bookmark file. The backslashes in the path must be escaped by a backslash; use double-backslashes.  Also be sure that this file exists at the point that the user first runs Chrome.
"import_bookmarks" should probably be false, so your imported bookmarks don't get overwritten.
"show_on_all_tabs": can either be true or false, whether we've promised the partner to show the bookmarks bar on by default or not.



----------------------------------------------------------------------------------------------------------------------------------------------------------------------

Can someone help me with this configuration? I want to be able to include the bookmarks bar, and a page that would be in it. Also, do not start the chrome welcome page.

Greetings.

Re: Google Chorme edit master preferences
« Reply #1 on: August 09, 2018, 05:29:17 PM »

James

  • Grand Chef
  • *****
  • Location: USA
  • Date Registered: Dec 2017
  • Posts: 2272
within the Google Chrome Plugin There Is this Line
Code: [Select]
ExtractFile,%ScriptFile%,Folder,master_preferences,"%Target_Prog%\%ProgramFolder%"

Setup your Google Chrome preferences on your Host PC -
Browse to "\Program Files (x86)\Google\Chrome\Application\master_preferences"
Encode (Attach) that Master-preferences File to your google chrome script

Now your Google Plugin will extract your personal preferences..
« Last Edit: August 09, 2018, 05:31:18 PM by James »

Re: Google Chorme edit master preferences
« Reply #2 on: August 10, 2018, 02:48:02 PM »

teik

  • Chef
  • ***
  • Date Registered: Nov 2016
  • Posts: 250
Sorry, I do not explain me well.
I have two problems when I add my file.

-----------------------------------------------------------------------
I use:

"distribution": {
    "import_bookmarks_from_file": "X:\\Program Files\\Marcadores\\bookmarks.html",
    "import_bookmarks": false,

----------------------------------------------------------------------------------
I save:

X:\Program Files\Marcadores\bookmarks.html
   

Solved. I had erased the initials, and that's why it did not work correctly, now it's all good, I upload my file in case someone wants to look at it and make one of its own or improve it.

@James if you want to include in the scrit a variable to add markers would also be fine.

Now I am going to try to include more than one bookmark, modifying the bookmarks file in this way.

---------------------------------------------------------------------------------------------------------------------------

<!DOCTYPE NETSCAPE-Bookmark-file-1>
<!-- This is an automatically generated file.
     It will be read and overwritten.
     DO NOT EDIT! -->
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8">
<TITLE>Bookmarks</TITLE>
<H1>Bookmarks</H1>
<DL><p>
    <DT><H3 ADD_DATE="1533993665" LAST_MODIFIED="0" PERSONAL_TOOLBAR_FOLDER="true">Barra de marcadores</H3>
    <DL><p>
        <DT><A HREF="https://tb.rg-adguard.net/public.php?lang=es-ES"
        <DT><A HREF="https://sanet.st/windows/"
         

   </DL><p>
</DL><p>

They are the example. I also upload the file in case someone wants to look at it.

  regards
« Last Edit: August 11, 2018, 03:01:24 PM by teik »

 

Powered by EzPortal