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.

`#repo-content-pjax-container` is gone

See original GitHub issue

Extension version

main

Browser(s) used

Chrome

Description

  1. Open https://github.com/refined-github/refined-github/issues
  2. #repo-content-pjax-container exists
  3. Click on Issues tab
  4. #repo-content-pjax-container is gone, see console error on this line

https://github.com/refined-github/refined-github/blob/5cda3447bf80cca0c64ae5eb79779ecd62fec18e/source/features/dim-bots.tsx#L44

Related code: https://github.com/refined-github/refined-github/search?q=repo-content-pjax-container

However GitHub’s own code is still using this selector too, so it might be a temporary issue. The specific console error could probably be avoided though

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:11 (9 by maintainers)

github_iconTop GitHub Comments

2reactions
fregantecommented, Aug 5, 2022

Likely point of failure:

https://github.com/refined-github/refined-github/blob/243e51d786e4771d313091b94cec826ff86becc9/source/features/index.tsx#L326-L327

We should probably just update the selectors for now and ship another release if it works well enough, but in the future we might just look better into turbo-frame to rethink our deduplication strategy.

1reaction
fregantecommented, Aug 5, 2022

ripgrep has the -i flag

❯ rg -l -i repo-content-pjax-container
source/features/linkify-branch-references.tsx
source/features/useful-forks.tsx
source/features/quick-review.tsx
source/features/comments-time-machine-links.tsx
source/features/same-branch-author-commits.tsx
source/features/rgh-feature-descriptions.tsx
source/features/latest-tag-button.tsx
source/features/default-branch-button.tsx
source/features/swap-branches-on-compare.tsx
source/features/dim-bots.tsx
source/features/linkify-symbolic-links.tsx
source/features/rgh-linkify-features.tsx
source/features/index.tsx
Read more comments on GitHub >

github_iconTop Results From Across the Web

king-pjax - npm
Pjax is a standalone JavaScript module that uses AJAX (XmlHttpRequest) and pushState() to deliver a fast browsing experience.
Read more >
COIN_0145_Sept_2014.txt - Veterans Affairs
... /><meta content="VA_Data_Assets_OM - This an a repository for VA - OM data ... id="js-repo-pjax-container" data-pjax-container> <div class="pagehead ...
Read more >
pjax -- must links be inside the pjax-container? - Stack Overflow
If I move the link inside the div with the data-pjax-container attribute, it works (the page is not reloaded and only the container...
Read more >
yiisoft/jquery-pjax - Packagist
pushState + ajax = pjax, a forked maintainted by the Yii Framework ... the content of a container element on your page with...
Read more >
Untitled
<meta name="browser-stats-url" content="/_stats"> <link rel="assets" ... /.repository-sidebar --> <div id="js-repo-pjax-container" class="repository-content ...
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