python / python/pythondotorg

Bug: Outbound links take 5+ seconds to navigate to

Open
#2,739 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Python
Stars
1.7k
Forks
700
Avg merge
2d 13h
Merged PRs (30d)
11

Description

Describe the bug

Probably because of https://analytics.python.org/js/script.outbound-links.js and the fact I have ublock installed. Blocking the domain fixes things.

To Reproduce
  1. Install uBlock origin
  2. Go to a page on site
  3. Click outbound link
Expected behavior

To not wait 5 seconds

URL to the issue

https://docs.python.org/3/bugs.html

Screenshots
"![SCREENSHOT_DESCRIPTION](SCREENSHOT_LINK.png)"
Browsers

Firefox

Operating System

Linux

Browser Version

No response

Relevant log output

Additional context

No response

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by inspecting analytics.python.org/js/script.outbound-links.js and reproducing the outbound-link delay in Firefox with uBlock Origin on the linked docs page. Confirm whether the analytics script causes the wait and verify that outbound links navigate without a five-second delay when the fix is complete.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
analytics, frontend, performance, web-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.