Hi pall
It makes sense. Will have a go at it.
Thanks for all your help!
Dave
On 26 Feb 2016 16:29, "Pall Thayer" wrote:
> That's going to be tricky. You'll need to go through word by word,
> checking for matches to the ones that you want to change. If a match is
> found then
That's going to be tricky. You'll need to go through word by word, checking
for matches to the ones that you want to change. If a match is found then
you want the script to ignore the blank space replacement. If the word is
not a match then you want to go through each character and replace it with
Thanks Pall
That works well!
My next question (sorry to keep bothering you) is how would I replace all
the text on a page with blank space, except replace certain words with
other words?
Last question, honest!
dave
On 25 February 2016 at 17:16, Pall Thayer wrote:
> Hi
Thanks for the link dave. There are so many open layers going into our
interfaces that they deserve to be intervened into, deconstructed,
destroyed, or subtly changed, to reveal, remove, obfuscate, adding a
critical distance or intimacy, derailing, drifting through the urban
net landscape, as long
Thanks very much pall. Ok will try this. Much appreciated
Ta
Dave
On 25 Feb 2016 17:16, "Pall Thayer" wrote:
> Hi Dave,
>
> You'll need to change the selector for the getElementsByTagName function:
>
> var elements = document.getElementsByTagName('img');
>
> Then you can loop
Hi Dave,
You'll need to change the selector for the getElementsByTagName function:
var elements = document.getElementsByTagName('img');
Then you can loop through the results and change the 'src' attribute:
for(var i=0;i < elements.length;i++) {
elements[i].src = 'a_different_image.png';
}
Hi Pall
Have got it working in Chrome and am customising it.
It's really great!
How would I replace images in the content.js file?
Sorry to bother you!
dave
On 25 February 2016 at 12:09, dave miller wrote:
> Thanks Pall
> I think this could be a good way to tell
Thanks Pall
I think this could be a good way to tell stories by deleting and replacing
content in web pages.
Thanks for the code and will have a play.
Dave
On 25 Feb 2016 12:05, "Pall Thayer" wrote:
> Hi Dave,
>
> I hadn't seen Nick's Deletionist but it sounds familiar.
Hi Pall and Bjorn
Have you seen this from Nick Montfort and Amanda Borsuk (2013):
http://thedeletionist.com/about.html
The Deletionist is a concise system for automatically producing an erasure
poem from any Web page. It systematically removes text to uncover poems,
discovering a network of
very cool - browsers should come with this feature default, the
ability to add names, words, and expressions to a list to be
automatically replaced or deleted, for whenever you're tired of...
being branded (the consumer is consumed). imagine people starting to
share and build subcultures of find
I thought about that... i.e. that it would be interesting if users could
change settings to find and replace whatever they want with whatever they
want but didn't feel like digging too deep to figure out how to do that.
Who knows... maybe a plugin like that already exists.
Best r.
Pall
On Thu,
I made a Google Chrome extension that replaces Republican candidates names
with their "rapper" nicknames...
https://chrome.google.com/webstore/detail/repub-rappers/nndedgpdnlmbkapigoilbpdanfpiapka
--
P Thayer, Artist
http://pallthayer.dyndns.org
___
12 matches
Mail list logo