vote on flavourtown with ONE TAB! you dont have to open 3000 tabs to vote anymore, now you can see the repo and the website and the readme in one tab.
vote on flavourtown with ONE TAB! you dont have to open 3000 tabs to vote anymore, now you can see the repo and the website and the readme in one tab.
This actually helped me get the votes for the ship faster. Yay!
The bugs fixed are:
In itzmetanjim/spaceshipvote
In itzmetanjim/github.com
Log in to leave a comment
Since real github.com does not allow iFrames, i decided to make my own client using the API. As you see i didnt really try too hard to make it look realistic since i am not trying to be phishing. You can try this client out by replacing github.com with tanjim.org/github.com in a repo URL.
Importantly, this supports Github releases as many people use that as their demo link
In the spaceshipvote repo, I did some mnor changes
In the repo for the client,
Log in to leave a comment
Now it works! hooray!
I also registered the extension by adding the X-Flavortown-Ext-17833:true header which is how FT tracks how many people use the extension. This took less than 15 mins thats why it want in a seperate devlog
HOWEVER! Github does not allow iframing so I have to use the Github API to make a github viewer thing. I guess this is an oppurtunity to optimize the client for voting or something
In the screenshot: the sidebar on the right is what my extension added
since you are voting you probably have a lot of votes left so to make them faster for you and use less RAM download this then continue voting (takes ~5 minutes to download). now back to the devlog…
I moved all the stuff to the left by using this simple uncentrify function, then put an example div there (where the iframe stuff will live) using element.after on the div that shows the project info and devlogs.
function uncentrify(x){
x.style.alignItems="flex-start"
x.style.marginInline="0"
}
Log in to leave a comment