Skip to content
This repository has been archived by the owner on Jul 21, 2021. It is now read-only.

Ability to enforce _escaped_fragment_= #940

Closed
gorhill opened this issue Feb 4, 2018 · 0 comments
Closed

Ability to enforce _escaped_fragment_= #940

gorhill opened this issue Feb 4, 2018 · 0 comments

Comments

@gorhill
Copy link
Owner

gorhill commented Feb 4, 2018

Background: https://twitter.com/thatcks/status/958776519765225473

Announcement:
https://webmasters.googleblog.com/2009/10/proposal-for-making-ajax-crawlable.html

Deprecation announcement:
https://webmasters.googleblog.com/2015/10/deprecating-our-ajax-crawling-scheme.html

This is a trivial addition. Despite the deprecation, it's unclear whether this will still be used for long by web masters. Because it is trivial to support, I added a raw setting named enforceEscapedFragment (default to true, i.e. enabled by default) to enforce the still used _escaped_fragment_= directive. This raw setting could be removed at any point in the future if ever it is found that there is no longer any point to support it.

uMatrix will convert back and forth #! to _escaped_fragment_= depending on whether 1st-party scripts are blocked.

Test case: https://groups.google.com/forum/#!topic/golang-nuts/F5xFHTfwRnY

@gorhill gorhill closed this as completed in 335709b Feb 4, 2018
Noxgrim pushed a commit to Noxgrim/uMatrix that referenced this issue Dec 29, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant