Code Monkey home page Code Monkey logo

Comments (6)

schnerring avatar schnerring commented on June 9, 2024

Have you tweaked your FF at all? I have the same issue with my FF, but I tweaked it using Arkenfox user.js.

However, when I create a new FF profile, it works:

image

Re-installing FF doesn't purge profile data by default. Please run firefox -p (or navigate to about:profiles) and create a new profile:

image

Then test with the new blank profile and report back.

from hugo-theme-gruvbox.

matcha1024 avatar matcha1024 commented on June 9, 2024

I created a new profile and it did not work the first time I accessed it, but when I reloaded it, it worked.
I tried running Firefox in safe mode with the normal profile, but that still did not work.
I don't know what is happening.

from hugo-theme-gruvbox.

schnerring avatar schnerring commented on June 9, 2024

Does safe-mode enable something like privacy.resistFingerprinting in about:config? If I enable that setting in my blank profile, code highlighting for the theme breaks, but the prism.js demos still work fine.

I suspect that one of the Prism plugins breaks when running FF in safe-mode. Maybe try disabling some of the plugins the theme uses inside config/_default/config.toml:

[params.prism]
    languages = [
      # ...
    ]

    plugins = [
      "normalize-whitespace",
      "toolbar",
      "copy-to-clipboard",
      "line-numbers",
      "command-line",
      "diff-highlight"
    ]

from hugo-theme-gruvbox.

hyperreal64 avatar hyperreal64 commented on June 9, 2024

It works when I have uBlock Origin and PrivacyBadger disabled.

from hugo-theme-gruvbox.

hyperreal64 avatar hyperreal64 commented on June 9, 2024

If I go to the settings for uBlock Origin and PrivacyBadger and disable prefetching, the syntax highlighting works.

from hugo-theme-gruvbox.

mikefarmer01 avatar mikefarmer01 commented on June 9, 2024

Seems like the issue is related to third-party software.
Can we close it?

from hugo-theme-gruvbox.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.