Tumblelog by Soup.io
Newer posts are loading.
You are at the newest post.
Click here to check if anything new just came in.

June 28 2017

cuda
Today's riddle: Any chance to repair the soup bookmarklet?

What's broken?
The bookmarklet tries to load a script, which currently fails with a server error.

Can we find an old, cached version anywhere on the Internet?
Let's ask the wayback machine. Ah, by pure chance the internet archive happened to download the script, last version is from 2014 though. (We can get the unmodified file by appending "id_" to the version number.)

Any magic we might miss?
Yip, after some experimenting it's clear the server expects to see a version in the "v" parameter, and the target for the posted form should point to the popup window of course. Not difficult to guess the expected version: 5, and let's set the target to a fixed window name.

Where can we put it?
Let's just upload the script into soup, as a "file".

How can we use it in the bookmarklet?
Well, decode and tidy up the original bookmarklet, set the popup window name to the same fixed value we used in the script, change the bookmarklet's script url to the asset url of the uploaded file, recompress and reencode the result.

Soooo?
Here's the temporary workaround, though I can't format it as a link in soup :(. Just copy&paste this into the URL field of a bookmark:

javascript:(function()%7Bvar%20es%3D%5B%22body%22%2C%22frameset%22%2C%22head%22%5D%2Cu%3Ddocument.location.protocol%2B%22%2F%2Fwww.soup.io%2Fbookmarklet-loading.html%22%3Bwindow.open(u%2C%22soup_bookmark_workaround%22%2C%22toolbar%3D0%2Cresizable%3D1%2Cscrollbars%3Dyes%2Cstatus%3D1%2Cwidth%3D450%2Cheight%3D400%22)%3Btry%7Bvar%20s%3Ddocument.createElement(%22script%22)%3Bs.setAttribute(%22src%22%2C%22https%3A%2F%2Fasset-f.soupcdn.com%2Fasset%2F13650%2F3220_fb53.js%22)%3Bfor(var%20i%3D0%3Bi%3Ces.length%3Bi%2B%2B)%7Bvar%20e%3Ddocument.getElementsByTagName(es%5Bi%5D)%5B0%5D%3Bif(e)%7Be.appendChild(s)%3Bbreak%7D%7D%7Dcatch(e)%7Balert(%22This%20does%20not%20work%20here.%22)%7D%7D)()
Reposted fromcomments comments viapaket paket
cuda
Reposted fromFlau Flau viayetzt yetzt
4462 e1e8
Reposted fromsehrschwul sehrschwul viaprimeval primeval
1260 5e22 500
Reposted fromsquishi squishi viacoffeebitch coffeebitch
cuda
7435 7a58 500
Reposted fromRockYourMind RockYourMind viacoffeebitch coffeebitch
cuda

June 19 2017

cuda
5516 049d
Reposted fromollardo ollardo
cuda
5531 329e 500
Reposted fromjottos jottos
cuda
cuda
7563 234e 500
cuda
0996 ee4a
Reposted fromtichga tichga viadingens dingens
cuda
0469 5a9b 500
Reposted fromsilentmaciej silentmaciej viadingens dingens
7946 99c7

omg-humor:

That’s actually not even a bad idea

Reposted fromcobbl3 cobbl3 viadingens dingens

Trying to solve a trivial bug


/* by Meltorp */

cuda
Dedicated to Ian Murdock
------------------------

Ian Murdock, the founder of the Debian project, passed away on 28th December
2015 at his home in San Francisco. He was 42.

It is difficult to exaggerate Ian's contribution to Free Software. He led the
Debian Project from its inception in 1993 to 1996, wrote the Debian manifesto
in January 1994 and nurtured the fledgling project throughout his studies at
Purdue University.

Ian went on to be founding director of Linux International, CTO of the Free
Standards Group and later the Linux Foundation, and leader of Project Indiana
at Sun Microsystems, which he described as "taking the lesson that Linux has
brought to the operating system and providing that for Solaris".

Debian's success is testament to Ian's vision. He inspired countless people
around the world to contribute their own free time and skills. More than 350
distributions are known to be derived from Debian.

We therefore dedicate Debian 9 "stretch" to Ian.

-- The Debian Developers
http://ftp.debian.org/debian/doc/dedication/dedication-9.0.txt
Reposted fromdoener doener viaElbenfreund Elbenfreund
cuda

--c3o on Twitter
Reposted frommetalab metalab viaElbenfreund Elbenfreund
cuda
cuda
1288 6e19 500
on fire
Reposted fromfreedance freedance viaElbenfreund Elbenfreund
9754 ba33 500

hexmaniacshayne:

yesterdaysprint:

yesterdaysprint:

The Daily Times, New Philadelphia, Ohio, April 23, 1924

The Daily Times, New Philadelphia, Ohio, April 7, 1924

1920s shitposting

Older posts are this way If this message doesn't go away, click anywhere on the page to continue loading posts.
Could not load more posts
Maybe Soup is currently being updated? I'll try again automatically in a few seconds...
Just a second, loading more posts...
You've reached the end.

Don't be the product, buy the product!

Schweinderl