-
-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: priority use document.baseURI to replace window.location
- respect `<base>` tag in case: when view page cache, search engine will inject `<base>` tag to current html but `window.location` is still `webcache.googleusercontent.com/search?q=cache:...` in most situation `baseURI` is equal to `window.location`
- Loading branch information
1 parent
55373ec
commit 7a76f2f
Showing
3 changed files
with
8 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.