anti-csrf-plugin icon indicating copy to clipboard operation
anti-csrf-plugin copied to clipboard

Rewrite getting current URL code

Open avlidienbrunn opened this issue 9 years ago • 1 comments

The code currently keeps track of the current URL by holding an array of tab object(s). This is because I didn't find any synchronous way to get the current URL of the tab issuing the request, but if that's possible somehow it will be a significant performance boost. And nicer code to look at.

avlidienbrunn avatar Jul 23 '15 14:07 avlidienbrunn

It will also fix the race that lead to the try{}catch(){} block in background.js (ugly).

avlidienbrunn avatar Jul 23 '15 14:07 avlidienbrunn