Page 1 of 1
About the removal of the t.co surrogate
Posted: Sun Sep 25, 2011 5:47 pm
by Kalman
From the changelog: "Removed t.co surrogate, since Twitter implemented a NOSCRIPT fallback".
t.co is failing from me in the same way before the script surrogate was introduced, I have forbidden META redirections inside NOSCRIPT elements, is there a workaround I could use?
Re: About the removal of the t.co surrogate
Posted: Sun Sep 25, 2011 9:07 pm
by Giorgio Maone
Kalman wrote:t.co is failing from me in the same way before the script surrogate was introduced, I have forbidden META redirections inside NOSCRIPT elements
By "failing" do you just mean you need to press the [Follow] button, as expected?
Re: About the removal of the t.co surrogate
Posted: Sun Sep 25, 2011 9:20 pm
by Kalman
This is what I get clicking on a t.co shortened URL:

Re: About the removal of the t.co surrogate
Posted: Sun Sep 25, 2011 9:36 pm
by Giorgio Maone
Kalman wrote:This is what I get clicking on a t.co shortened URL:

Again, does the META refresh notification with the Follow button show up? If not, could you please check whether META redirection notifications is enabled in the Notifications panel?
Re: About the removal of the t.co surrogate
Posted: Mon Sep 26, 2011 8:30 pm
by Kalman
It wasn't, now it is and I get the follow button.
Re: About the removal of the t.co surrogate
Posted: Mon Sep 26, 2011 8:54 pm
by Giorgio Maone
Kalman wrote:It wasn't, now it is and I get the follow button.
If you want to skip this passage, you can either disable the "Forbid META" option, or allow t.co, or restore a surrogate like the following:
noscript.surrogate.t_co.replacement
Code: Select all
location.replace(document.getElementsByTagName("meta")[0].content.match(/\bhttp.*/)[0])
noscript.surrogate.t_co.sources