How to grey out the browser back button on home page


#1

My ionic 3 app runs on desktop browser. When use enter the url:
www.example.com
ionic sets the root page to “HomePage” and changes the url to:
Http://www.example.com/#/home
And the browser shows the back button. How can I disable the back button on the HomePage in this case?
I mean the browser back button
thx


#2

I don’t think this is possible, as this is caused by the way Ionic handles URLs.

You should create an issue at the Ionic Github repo for this.


#3

thx Sujan!
Then I will just leave it.


#4

@lolaswift1
Are you able to enter any url other than homepage for ex. www.example.com/#/about
Because when I enter any other url it redirect to home page automatically.