replacing parts of a URL

View: New views
1 Messages — Rating Filter:   Alert me  

replacing parts of a URL

by jmicdizz :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I'm trying to make a script that automatically loads yahoo groups images in their large size.
This is my first script that i've ever made and i've just about got it finished, but it constantly loads the pages.

This is the script here:

// YGPAO
// Made By Josh Witt
//
//
// ==UserScript==
// @name              Yahoo Groups Photo Album Optimizer
// @description       Automatically loads Yahoo Groups Photos in original format
// @include           http://groups.yahoo.com/group/*/photos/album/*/pic/*
// ==/UserScript==

   location.href = location.href.replace ('view?picmode=&mode', 'view?picmode=original&mode');