The splitt function for the fields was a greedy function and splitt at the last question mark, but it should splitt at the last question mark. So now the splitt function is a non-greedy function.
I've updated the ClearURLs core, so that ClearURLs only cleans the fields from urls.
This means that ClearURLs can no longer examine all components of a URL and, if necessary, remove something, but only the so-called GET fields.
This restricts not hardly, since everything that is not a GET field is a part of the url (the path) and should not actually be removed.
However, because ClearURLs was able to remove these path elements, this problem came up again. Now ClearURLs can only remove GET fields and thus no longer destroy paths.
I hope that there are fewer problems now. Another little side effect of the change, ClearURLs is now working more efficiently.
- Delete temporary the async promise function, because it works not like
it should work. (We will test some methods to increase the performance,
but the performance is already okay)
+ Add suggestion from @grenzor #21 to center the "rules-status"-button
(+ Better indentation in the code)
+ Line 17: Do nothing is better as redirect to nothing
+ Line 212: Add function to return the provider name (for debugging)
+ Correct typos
+ Line 239: performance improvement
+ Line 286: performance improvement
+ Line 541: performance improvement
+ Add function "promise" for async request handling (performance
improvement)
+ Add function isDataURL to prevent long loading on data urls (Fix#26 )
+ Badges counts only per url (for this feature we need the new "tabs"
permission)
+ New Interface. Special thanks to @grahamperrin and @Thorin-Oakenpants.
(#21)
+ Files in folder ordered
- Remove siteBlockedAlert.html page. We're show now nothing.
+ Revised texts for Rules-Status
+ Add File for version number
The total elements field need async to long to load, so that this value
is NaN by scanning the first url. We check now first of NaN or Null and
get the current value. The browser is waiting until the value is loaded.