Optimization.
This commit is contained in:
parent
4b5cfb1832
commit
05978691ba
@ -12,7 +12,7 @@ function shareURL(){
|
||||
|
||||
// manages Mozilla Firefox reader mode
|
||||
var rawUrl = tab.url;
|
||||
var partToRemove = partToRemove = "about:reader?url=";
|
||||
var partToRemove = "about:reader?url=";
|
||||
if(rawUrl.includes(partToRemove)) {
|
||||
rawUrl = rawUrl.substring(partToRemove.length);
|
||||
rawUrl = decodeURIComponent(rawUrl);
|
||||
|
Loading…
Reference in New Issue
Block a user