1
0
mirror of https://github.com/chylex/TweetDuck.git synced 2025-04-24 06:15:48 +02:00

Rewrite pre-login page skip to be instant

This commit is contained in:
chylex 2017-05-19 14:24:51 +02:00
parent 8ab99619d6
commit b5e58db242

View File

@ -704,7 +704,7 @@
//
// Block: Skip the initial pre-login page.
//
$(document).on("uiLoginFormImpression", function(){
location.href = $("a.btn", ".js-login-form").first().attr("href");
});
TD.controller.init.showLogin = function(){
location.href = "https://twitter.com/login?hide_message=true&redirect_after_login=https%3A%2F%2Ftweetdeck.twitter.com%2F%3Fvia_twitter_login%3Dtrue";
};
})($, $TD, $TDX, TD);