Re: [Tails-dev] Verification extension [was: HTML prototype …

Borrar esta mensaxe

Responder a esta mensaxe
Autor: sajolida
Data:  
Para: Uzair Farooq
CC: Muhammad Usman Subhani, The Tails public development discussion list
Asunto: Re: [Tails-dev] Verification extension [was: HTML prototype for new download page]
Uzair Farooq:
>> It works when the version of the extension is up-to-date (1.0 or 1.1) but
>> it doesn't work when the version is outdated (0.9). I can see that
>> data-extension is still set to "ok". See screenshot.
>
> We have fixed an error with version checking so it should work now.


Cool! But I don't see any new commit on your repo so maybe you forgot to
push:

https://github.com/usman-subhani/verification-extension/commits/master

> Still if you want us to shift to simple floats comparison, we can do that.


No. If you managed to fix the integration of Giorgio's code, that's
perfect :)

> To test locally just need to change background.js, line 3
> from: let matches = "://tails.boum.org/";
> To: let matches = "file:///home/amnesia/Persistent/Tor%20Browser/
> master/install/download_2.html";


I tried that both in Tor Browser and Chromium and could make it work.
I'm sending you in attachment the modified background.js script that I'm
using.

Actually, I also tried other variations of this before asking you but
couldn't make them work either :/

How can I debug this script from inside the browser?