by squarefoot · 8y ago · 0 comments
So much for the World Wide Web.
Someone give me back the web 1.0 before 2000, please.
And 100% agreed, particularly for a major newspaper.
fetch(
"https://outlineapi.com/parse_article?source_url=" +
encodeURIComponent(window.location)
)
.then(res => res.json())
.then(body => {
if (body.error) {
return alert(`Outline Bookmarklet Error: ${body.error}`);
}
window.location.href = `https://outline.com/${body.data.short_code}`
})
.catch(err => {
alert("Outline Bookmarklet Error. See console for details.");
console.error(err);
});
Or minified to be copied directly into bookmark: javascript:fetch("https://outlineapi.com/parse_article?source_url="+encodeURIComponent(window.location)).then(o=>o.json()).then(o=>{if(o.error)return alert(`Outline Bookmarklet Error: ${o.error}`);window.location.href=`https://outline.com/${o.data.short_code}`}).catch(o=>{alert("Outline Bookmarklet Error. See console for details."),console.error(o)});
[1]: https://gist.github.com/giodamelio/c97f71a12eec5c142f21f757a...This is the natural reaction when random parts of the world decide to try to regulate what sorts of sites you’re allowed to put on the internet.
A third of the 100 most viewed US newspapers have shuttered themselves to the EU, however this mass blocking has not seemingly been the norm for newspapers or other businesses in other markets outside the EU, or noticeably stopped any businesses within it from running websites.
What makes US news media companies so fragile when faced with this particular piece of EU legislation, compared to everyone else in the world, that they would rather chuck away eyeballs for their advertisers than deal with it?