Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to prevent cleaning livejournal's "expand thread" links? #142

Open
afjback opened this issue Nov 24, 2021 · 1 comment
Open

How to prevent cleaning livejournal's "expand thread" links? #142

afjback opened this issue Nov 24, 2021 · 1 comment
Labels
whitelist/rules A redirection or functionality is broken by CleanLinks

Comments

@afjback
Copy link

afjback commented Nov 24, 2021

Example post
https://ohnotheydidnt.livejournal.com/122164259.html
Hit any "expand" link in comments section, which is like:
https://ohnotheydidnt.livejournal.com/122164259.html?thread=20366641699#t20366641699
and got new "cleaned" page instead of expanding
cleanLinks-or8

How to write a rule to allow such links on all LJ subdomains?
(Tried rule *.livejournal.com/*thread=* with "match subdomains", doesn't work)

@afjback afjback changed the title How to prevent cleaning on livejournal's "expand thread"? How to prevent cleaning livejournal's "expand thread" links? Nov 24, 2021
@Cimbali
Copy link
Owner

Cimbali commented Nov 24, 2021

You can’t match on parameters, just on the path. This should work:

Urls matching:

  • Domain: livejournal.com
  • Match subdomains: yes
  • Path /[0-9]+\.html (optionally, leave blank to match all pages)

Cleaning actions:

  • Allow javascript to modify links: yes

Fore more details, see for example the wiki − it’s not quite complete but there are some interesting things there.

@Cimbali Cimbali added the whitelist/rules A redirection or functionality is broken by CleanLinks label Nov 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
whitelist/rules A redirection or functionality is broken by CleanLinks
Projects
None yet
Development

No branches or pull requests

2 participants