forked from honestbleeps/Reddit-Enhancement-Suite
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Attempt to preserve the original urls when following links.
I created a system for preserving the original link (when necessary) without the trouble of loading entire webpages to mark history. When necessary, the original link is saved to a property called hrefOverride. If that is detected during expand creation then mouseover/mouseout handlers will be attached to swap the href on demand. This works well but it can cause the link to turn blue on mouseover. Without marking the history this has been made nearly impossible to prevent in the name of user privacy.
- Loading branch information
Showing
1 changed file
with
50 additions
and
16 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