Skip to content

Commit

Permalink
added variation of changing URL through location's "href" and "pathna…
Browse files Browse the repository at this point in the history
…me" properties.
  • Loading branch information
eladkarako committed Oct 18, 2016
1 parent 6f0693f commit 524f647
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
, "short_name" : "__MSG_name_shrt__"
, "description" : "__MSG_name_desc__"

, "version" : "1.5.4.3"
, "version" : "1.5.4.5"
, "homepage_url" : "https://github.com/eladkarako/Chrome-Extension-Remove-Rude-Redirects/issues/"
, "author" : "Elad Karako"

Expand Down
6 changes: 5 additions & 1 deletion resources/at_document_end.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,17 +53,21 @@
, '[href]:not([href=""]):not([href^="#"])[onmousedown*="frames.open("]'
, '[href]:not([href=""]):not([href^="#"])[onmousedown*=".href="]'
, '[href]:not([href=""]):not([href^="#"])[onmousedown*="location="]'
, '[href]:not([href=""]):not([href^="#"])[onmousedown*="location.href="]'
, '[href]:not([href=""]):not([href^="#"])[onmousedown*="location.pathname="]'
, '[href]:not([href=""]):not([href^="#"])[onmousedown*="location.replace("]'
, '[href]:not([href=""]):not([href^="#"])[onmousedown*="location.reload("]'
, '[href]:not([href=""]):not([href^="#"])[onmousedown*="location.assign("]'

, '[href]:not([href=""]):not([href^="#"])[onclick*="window.open("]' /* other (uncommon) */
, '[href]:not([href=""]):not([href^="#"])[onclick*="window.open("]' /* other (uncommon) */
, '[href]:not([href=""]):not([href^="#"])[onclick*="self.open("]'
, '[href]:not([href=""]):not([href^="#"])[onclick*="top.open("]'
, '[href]:not([href=""]):not([href^="#"])[onclick*="parent.open("]'
, '[href]:not([href=""]):not([href^="#"])[onclick*="frames.open("]'
, '[href]:not([href=""]):not([href^="#"])[onclick*=".href="]'
, '[href]:not([href=""]):not([href^="#"])[onclick*="location="]'
, '[href]:not([href=""]):not([href^="#"])[onclick*="location.href="]'
, '[href]:not([href=""]):not([href^="#"])[onclick*="location.pathname="]'
, '[href]:not([href=""]):not([href^="#"])[onclick*="location.replace("]'
, '[href]:not([href=""]):not([href^="#"])[onclick*="location.reload("]'
, '[href]:not([href=""]):not([href^="#"])[onclick*="location.assign("]'
Expand Down

0 comments on commit 524f647

Please sign in to comment.