René's URL Explorer Experiment


Title: Fix handling of keys that are browser shortcuts by jmmv · Pull Request #147 · endbasic/endbasic · GitHub

Open Graph Title: Fix handling of keys that are browser shortcuts by jmmv · Pull Request #147 · endbasic/endbasic

X Title: Fix handling of keys that are browser shortcuts by jmmv · Pull Request #147 · endbasic/endbasic

Description: There are a bunch of key presses that should be recognized by EndBASIC but that are also recognized by the browser. Some include the Tab key, the arrow keys (when "caret browsing" is enabled), and the slash key in Firefox. Before, pressing any of these keys would cause the browser to also perform their default action, which meant that the REPL would misbehave by losing focus or triggering links. With this change, we prevent the events from propagating to the browser once we have handled them so that this problem doesn't surface. This change is inspired by the fix submitted by @Protowalker in #140. Fixes #136.

Open Graph Description: There are a bunch of key presses that should be recognized by EndBASIC but that are also recognized by the browser. Some include the Tab key, the arrow keys (when "caret browsing" is ena...

X Description: There are a bunch of key presses that should be recognized by EndBASIC but that are also recognized by the browser. Some include the Tab key, the arrow keys (when "caret browsing&quot...

Opengraph URL: https://github.com/endbasic/endbasic/pull/147

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:51f2607b-1f3f-0361-70bf-943473279f1e
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idB44E:1BB886:22EB0B:32B9A4:6A636678
html-safe-noncee46a6d663f39a1c6a08c3b7f8493c3ff2a576c462a824338eb3c94a4f7f7abfb
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNDRFOjFCQjg4NjoyMkVCMEI6MzJCOUE0OjZBNjM2Njc4IiwidmlzaXRvcl9pZCI6IjY5NzAwNzUwNDY1OTk2ODE2NTYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacf44410ad1169105d97290a056a1d888f77d3b2cb0ebaca9e13f5a667fb79a239
hovercard-subject-tagpull_request:797486288
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/endbasic/endbasic/pull/147/files
twitter:imagehttps://avatars.githubusercontent.com/u/879272?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/879272?s=400&v=4
og:image:altThere are a bunch of key presses that should be recognized by EndBASIC but that are also recognized by the browser. Some include the Tab key, the arrow keys (when "caret browsing" is ena...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None669d3fcd704a169521d2b6431762f95a6878a9e8ccaf0fd5f2d0802fc5b971f9
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/endbasic/endbasic git https://github.com/endbasic/endbasic.git
octolytics-dimension-user_id75130732
octolytics-dimension-user_loginendbasic
octolytics-dimension-repository_id253313291
octolytics-dimension-repository_nwoendbasic/endbasic
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id253313291
octolytics-dimension-repository_network_root_nwoendbasic/endbasic
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release20da292f132ff51328be50073854259f417052c1
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/endbasic/endbasic/pull/147/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fendbasic%2Fendbasic%2Fpull%2F147%2Ffiles
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
Code QualityEnforce quality at mergehttps://github.com/features/code-quality
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fendbasic%2Fendbasic%2Fpull%2F147%2Ffiles
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=endbasic%2Fendbasic
Reloadhttps://github.com/endbasic/endbasic/pull/147/files
Reloadhttps://github.com/endbasic/endbasic/pull/147/files
Reloadhttps://github.com/endbasic/endbasic/pull/147/files
Please reload this pagehttps://github.com/endbasic/endbasic/pull/147/files
endbasic https://github.com/endbasic
endbasichttps://github.com/endbasic/endbasic
Please reload this pagehttps://github.com/endbasic/endbasic/pull/147/files
Notifications https://github.com/login?return_to=%2Fendbasic%2Fendbasic
Fork 21 https://github.com/login?return_to=%2Fendbasic%2Fendbasic
Star 383 https://github.com/login?return_to=%2Fendbasic%2Fendbasic
Code https://github.com/endbasic/endbasic
Issues 26 https://github.com/endbasic/endbasic/issues
Pull requests 4 https://github.com/endbasic/endbasic/pulls
Actions https://github.com/endbasic/endbasic/actions
Projects https://github.com/endbasic/endbasic/projects
Security and quality 0 https://github.com/endbasic/endbasic/security
Insights https://github.com/endbasic/endbasic/pulse
Code https://github.com/endbasic/endbasic
Issues https://github.com/endbasic/endbasic/issues
Pull requests https://github.com/endbasic/endbasic/pulls
Actions https://github.com/endbasic/endbasic/actions
Projects https://github.com/endbasic/endbasic/projects
Security and quality https://github.com/endbasic/endbasic/security
Insights https://github.com/endbasic/endbasic/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fendbasic%2Fendbasic%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fendbasic%2Fendbasic%2Fissues%2Fnew%2Fchoose
jmmvhttps://github.com/jmmv
masterhttps://github.com/endbasic/endbasic/tree/master
issue-136https://github.com/endbasic/endbasic/tree/issue-136
Conversation 0 https://github.com/endbasic/endbasic/pull/147
Commits 1 https://github.com/endbasic/endbasic/pull/147/commits
Checks 0 https://github.com/endbasic/endbasic/pull/147/checks
Files changed https://github.com/endbasic/endbasic/pull/147/files
Please reload this pagehttps://github.com/endbasic/endbasic/pull/147/files
Fix handling of keys that are browser shortcuts https://github.com/endbasic/endbasic/pull/147/files#top
Show all changes 1 commit https://github.com/endbasic/endbasic/pull/147/files
4c5e74c Fix handling of keys that are browser shortcuts jmmv Dec 8, 2021 https://github.com/endbasic/endbasic/pull/147/commits/4c5e74ca3f239b52db760f67891692e42abd0d1a
Clear filters https://github.com/endbasic/endbasic/pull/147/files
Please reload this pagehttps://github.com/endbasic/endbasic/pull/147/files
Please reload this pagehttps://github.com/endbasic/endbasic/pull/147/files
NEWS.md https://github.com/endbasic/endbasic/pull/147/files#diff-51920e95310ebfbc1ae31709f3b95f89afffbf4f1a6e38e8b2b406e2fb6197ea
index.js https://github.com/endbasic/endbasic/pull/147/files#diff-cc98e5422b4f067acf5e2e3b46af737f86d24f7ca543f3e0871d7c72ebe6331a
NEWS.mdhttps://github.com/endbasic/endbasic/pull/147/files#diff-51920e95310ebfbc1ae31709f3b95f89afffbf4f1a6e38e8b2b406e2fb6197ea
View file https://github.com/endbasic/endbasic/blob/4c5e74ca3f239b52db760f67891692e42abd0d1a/NEWS.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/endbasic/endbasic/pull/147/{{ revealButtonHref }}
https://github.com/endbasic/endbasic/pull/147/files#diff-51920e95310ebfbc1ae31709f3b95f89afffbf4f1a6e38e8b2b406e2fb6197ea
https://github.com/endbasic/endbasic/pull/147/files#diff-51920e95310ebfbc1ae31709f3b95f89afffbf4f1a6e38e8b2b406e2fb6197ea
web/src/index.jshttps://github.com/endbasic/endbasic/pull/147/files#diff-cc98e5422b4f067acf5e2e3b46af737f86d24f7ca543f3e0871d7c72ebe6331a
View file https://github.com/endbasic/endbasic/blob/4c5e74ca3f239b52db760f67891692e42abd0d1a/web/src/index.js
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/endbasic/endbasic/pull/147/{{ revealButtonHref }}
https://github.com/endbasic/endbasic/pull/147/files#diff-cc98e5422b4f067acf5e2e3b46af737f86d24f7ca543f3e0871d7c72ebe6331a
https://github.com/endbasic/endbasic/pull/147/files#diff-cc98e5422b4f067acf5e2e3b46af737f86d24f7ca543f3e0871d7c72ebe6331a
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.