Khan / Khan/live-editor

[Idea] [HTML] Disable window.history

Open
#293 2 comments 0 reactions 0 assignees View on GitHub
idea webpage
Dominant language
JavaScript
Stars
776
Forks
180
PR merge metrics
No merged PRs in 30d

Description

It is currently possible to execute the `window.history` functions (`back()` and `forward()`)...

This isn't really a cause for concern, but, honestly, what use is there to have `window.history` in the webpage environment?

I see a lot of potentially annoying programs being created, albeit it'd be hard to save them after writing them...

Not exactly an issue, nor is this anything that needs to be dealt with right away (or ever, really), but something worth mentioning...

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by examining the webpage environment entry point and how it exposes window.history, including the back() and forward() functions. First determine whether disabling those functions is wanted and what behavior should replace them; the issue is complete only when that scope and expected behavior are clearly decided.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.