-
-
Notifications
You must be signed in to change notification settings - Fork 420
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Back button functionality #248
base: master
Are you sure you want to change the base?
Conversation
|
||
function pushToVulnerabilities() { | ||
let b = document.getElementById("learnAndPracticeBtn"); | ||
previousUrl = './learnVulnerabilities'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we can have URL's with the element id's. WDYT ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it's a good idea.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
also
Hi @ShareACoke1 ,
I had looked at the code, actually if we can do the same with opening the URL directly in browser then it would be great. I was thinking that we can parse the url, find the id's and click on the elements with those id's. this way we can achieve the full flow.
WDYT ?
Also i was planning to look at the router logics in frameworks so that we can do the same.
thanks,
Karan
Hi @ShareACoke1 , Are you stuck at something ? please let me know and we can discuss in detail. thanks, |
Added back button functionality to vulnerableApp.js, some changes were made in index.html too.