deepjyoti30 / startpage

A minimal starpage for Chrome and Firefox
MIT License
625 stars 85 forks source link

Change Info On Page? #2

Closed iisGmoney closed 4 years ago

iisGmoney commented 4 years ago

How Do I Change The Info On The New Tab

deepjyoti30 commented 4 years ago

Do you mean the message gretting the user??

It changes based on time automatically.

iisGmoney commented 4 years ago

I want to know how to change the username and websites, I changed the username and links, and the names of one of the categories and it dissapeared. config new_tab

iisGmoney commented 4 years ago

It also bricks the google search bar.

haideralipunjabi commented 4 years ago

You should have pasted the code as text. The image makes it difficult to debug.

I think you should try removing the commas , at the end of line 12 & line 26.

deepjyoti30 commented 4 years ago

@iisGmoney Can you also check if there are errors thrown by JS?

Just open developer tools using Ctrl+Shift+i and check the console.

iisGmoney commented 4 years ago

Yup, index.html:1 Uncaught (in promise) SyntaxError: Unexpected token ] in JSON index.html : 1 at position 538.

deepjyoti30 commented 4 years ago

Make the changes as suggested by @haideralipunjabi , the issue is because of those extra commas.

iisGmoney commented 4 years ago

Thanks