Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #30975
| Newsgroups | comp.lang.javascript |
|---|---|
| Subject | Re: [Browser] How to replace strings in a URL with a javascript boormarklet? |
| From | "Evertjan." <exxjxw.hannivoort@inter.nl.net> |
| References | (9 earlier) <a24b5bf3-1345-443a-8214-f80f921ae899@googlegroups.com> <XnsA64DED5FCE72Beejj99@194.109.6.166> <93e6c052-f2bc-445a-9bb6-23795cd70610@googlegroups.com> <XnsA64E7A6F89A70eejj99@194.109.6.166> <43f0b77c-7269-4814-81d8-75475178b659@googlegroups.com> |
| Date | 2016-07-27 00:20 +0200 |
| Message-ID | <XnsA6523669C512eejj99@194.109.6.166> (permalink) |
arpegiateur@gmail.com wrote on 26 Jul 2016 in comp.lang.javascript: > On Saturday, July 23, 2016 at 11:02:30 AM UTC+1, Evertjan. wrote: >> >> >> while you should do: >> 1 copy present location.href into a string >> 2 skip the front of the string >> 3 decode the result >> 4 paste the result as new location.href > > I thought I was doing the 4th one How? You skipped the code you are talking about! Perhaps you misinterpreted the regex replace(), that RETURNS the result and does NOT change the source, and THEN you still have to do something with it. >> You will get results in knowledge, experience and coding. Not buy >> pasting > >> code from the web without adding your growing own logic and >> understanding > . > > That was a metaphor, of course I wasn't randomly pasting pieces of code How could I mindlessly have thought you ment what you said? > mindlessly (only the results felt that way), I went for the other > bookmarklets I have here that take the URL, do something with it and > navigate to the new URL, and through them I tried to get a glimpse of > what I should do. Surely the opening of the URL should be common to all > of them, but they weren't (several ways to skin a cat) and I was trying > one or the other, with no results, from nothing happening whatsoever, to > some errors here and there. Javascript code engines do not interprete metaphors. ;-) -- Evertjan. The Netherlands. (Please change the x'es to dots in my emailaddress)
Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[Browser] How to replace strings in a URL with a javascript boormarklet? arpegiateur@gmail.com - 2016-07-18 13:42 -0700
Re: [Browser] How to replace strings in a URL with a javascript boormarklet? "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2016-07-18 23:24 +0200
Re: [Browser] How to replace strings in a URL with a javascript boormarklet? arpegiateur@gmail.com - 2016-07-19 08:10 -0700
Re: [Browser] How to replace strings in a URL with a javascript boormarklet? "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2016-07-19 19:49 +0200
Re: [Browser] How to replace strings in a URL with a javascript boormarklet? arpegiateur@gmail.com - 2016-07-19 13:34 -0700
Re: [Browser] How to replace strings in a URL with a javascript boormarklet? "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2016-07-20 09:39 +0200
Re: [Browser] How to replace strings in a URL with a javascript boormarklet? arpegiateur@gmail.com - 2016-07-20 10:09 -0700
Re: [Browser] How to replace strings in a URL with a javascript boormarklet? Osmo Saarikumpu <osmo@weppipakki.com> - 2016-07-21 16:21 +0300
Re: [Browser] How to replace strings in a URL with a javascript boormarklet? Osmo Saarikumpu <osmo@weppipakki.com> - 2016-07-21 16:36 +0300
Re: [Browser] How to replace strings in a URL with a javascript boormarklet? arpegiateur@gmail.com - 2016-07-22 12:19 -0700
Re: [Browser] How to replace strings in a URL with a javascript boormarklet? "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2016-07-22 23:20 +0200
Re: [Browser] How to replace strings in a URL with a javascript boormarklet? arpegiateur@gmail.com - 2016-07-22 18:13 -0700
Re: [Browser] How to replace strings in a URL with a javascript boormarklet? "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2016-07-23 12:02 +0200
Re: [Browser] How to replace strings in a URL with a javascript boormarklet? arpegiateur@gmail.com - 2016-07-26 11:49 -0700
Re: [Browser] How to replace strings in a URL with a javascript boormarklet? "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2016-07-27 00:20 +0200
Re: [Browser] How to replace strings in a URL with a javascript boormarklet? arpegiateur@gmail.com - 2016-07-28 08:07 -0700
Re: [Browser] How to replace strings in a URL with a javascript boormarklet? "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2016-07-28 19:24 +0200
Re: [Browser] How to replace strings in a URL with a javascript boormarklet? arpegiateur@gmail.com - 2016-07-28 14:44 -0700
Re: [Browser] How to replace strings in a URL with a javascript boormarklet? "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2016-07-29 00:29 +0200
Re: [Browser] How to replace strings in a URL with a javascript boormarklet? arpegiateur@gmail.com - 2016-07-30 07:53 -0700
Re: [Browser] How to replace strings in a URL with a javascript boormarklet? "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2016-07-30 17:59 +0200
Re: [Browser] How to replace strings in a URL with a javascript boormarklet? arpegiateur@gmail.com - 2016-08-03 08:03 -0700
Re: [Browser] How to replace strings in a URL with a javascript boormarklet? "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2016-08-03 10:05 -0700
Re: [Browser] How to replace strings in a URL with a javascript boormarklet? "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2016-08-03 23:38 +0200
Re: [Browser] How to replace strings in a URL with a javascript boormarklet? arpegiateur@gmail.com - 2016-08-04 13:09 -0700
Re: [Browser] How to replace strings in a URL with a javascript boormarklet? "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2016-08-04 22:37 +0200
Re: [Browser] How to replace strings in a URL with a javascript boormarklet? arpegiateur@gmail.com - 2016-08-05 10:54 -0700
Re: [Browser] How to replace strings in a URL with a javascript boormarklet? "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2016-08-05 20:31 +0200
Re: [Browser] How to replace strings in a URL with a javascript boormarklet? Aleksandro <aleksandro@gmx.com> - 2016-07-19 15:45 -0400
Re: [Browser] How to replace strings in a URL with a javascript boormarklet? arpegiateur@gmail.com - 2016-07-19 13:40 -0700
Re: [Browser] How to replace strings in a URL with a javascript boormarklet? arpegiateur@gmail.com - 2016-07-19 13:41 -0700
csiph-web