question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Meta feature: Automatically fill in browser+extension information on issue reports

See original GitHub issue

On

We can automatically append this information to the text:

Refined GitHub: {version} {getAdditionalPermissions().hosts.length > 0 ? 'has GHE' : ''}
Browser: {navigator.userAgent}

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:3
  • Comments:8 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
kidonngcommented, Feb 2, 2022

We can put userAgent in comments:

import * as textFieldEdit from 'text-field-edit'
// Won't overwrite error messages (https://github.com/refined-github/refined-github/blob/6c6e2799cd1499f6e629cf9764e0e23b3fd19ce5/source/features/index.tsx#L74-L78)
textFieldEdit.insert(description, `<!-- UserAgent: ${navigator.userAgent} -->`)

The info is retained while keeping the issue from looking too verbose.

1reaction
fregantecommented, Dec 7, 2021

It would be astonishing if some part of RGH works in Chrome but not other Chromium-based browsers.

You’d be surprised! I don’t want to be surprised, especially because we don’t want to waste time trying to replicate those non-Chrome issues.

Other non-matching browsers are still required to be specified.

The problem is that they wont, because the field is already filled in. You know they’ll open that link and submit the issue as is without any comment 😅

Read more comments on GitHub >

github_iconTop Results From Across the Web

Chrome Autofill does not trigger change #7058 - vuejs/vue
The library tbosch/autofill-event bills itself as "A polyfill to fire a change event when the browser auto fills form fields". 6
Read more >
HTML attribute: autocomplete - MDN Web Docs
The HTML autocomplete attribute lets web developers specify what if any permission the user agent has to provide automated assistance in ...
Read more >
How do you disable browser autocomplete on web form field ...
Try github.com/terrylinooo/disableautofill.js , it uses JavaScript the skip the auto-fill function from browser. This question is being discussed on meta. < ...
Read more >
Chrome Extensions: Frequently asked questions
Frequently asked questions · What are Google Chrome extensions? · How can I set up Chrome for extension development? · What technologies are...
Read more >
Fill out forms automatically - Computer - Google Chrome Help
Add, edit, or delete info: Add: Next to "Payment methods" or "Addresses," click Add. This will save your info to Chrome on your...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found