Hope this will reproduce OK on here:
Those are arbitrary breaks in there, it should all be on one line... getSelection does work, but it's clashing with something else, the results of my function s() aren't being appended to the URL... that's the prob with writing these things on just one line, it's a bit hard to debug! I need to write it out in full and then write a sort of compiler that'll shrink the code as much as poss... I will do some more work on this today, it might be all good by the time you see it. Well, hopefully...
js: Programming language of the internets, mostly how I make my living.
Paul Clarke's weblog - I live in A small town. Married and dad to 2, I am a full stack web developr, and I do mostly js / nodejs, some ruby, python, php etc. I like pubbing, parkrun, eating, home-automation + other diy jiggery-pokery, history, genealogy, Television, squirrels, pirates, lego, and time travel.