Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8494573
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T23:20:13+00:00 2026-06-10T23:20:13+00:00

I have a webpage that I want to mess with using Greasemonkey. There are

  • 0

I have a webpage that I want to mess with using Greasemonkey. There are flash headers at the top (With changing images).
I already have all those images and have reproduced the file structure so I can redirect the image requests.

This is how the flash object works:
It loads, and then whenever it goes to the next image in the slideshow it sends a GET request to retrieve the image. I want to redirect that request to my image so that the slideshow is now showing my images.

  • The site is the Haslett Public School’s page. I want to change the images to ponies.

  • The flash object

I don’t want to edit the flash object, just redirect the requests.

Example: Redirect:

http://www.haslett.k12.mi.us/images/album/11139/hs/album_3964_1327077935.png

To:

http://anotherdomain.net/images/album/11139/hs/album_3964_1327077935.png

Or, most likely scenario, I’ll use an image sharing site and I’ll redirect to:

http://imagesite.com/image/album_3964_1327077935.png

The 11139 directory is sometimes different, so is the HS directory, but the file names won’t actually change from old file to new file.

The file names are all different, so I think I can just redirect the specific album requests (11139, 11140, 11141, etc). to one directory.

Here’s what I have: I got it from some example code, but a have a feeling that it just edits any and tags, or maybe tags. Mine needs to actually redirect the GET requests.

// ==UserScript==
// @name           Sudofox image redirect 
// @namespace      imagehost redirect
// @description    Replace requests for images with 
// @include        http://www.haslett.k12.mi.us/*
// @include        https://haslett.k12.mi.us/*
// @include        https://www.haslett.k12.mi.us/*
// @include        http://haslett.k12.mi.us/*
// ==/UserScript==

var a = document.getElementsByTagName('a');
for (i=0;i<a.length;i++) {
  p = /\/images\/album\/([A-Za-z0-9]+)/;
  res = p.exec(a[i]);

  if (res!=null) {
    a[i].href = 'http://site.com/image/' + res[1] + '.png';
  }
}
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T23:20:15+00:00Added an answer on June 10, 2026 at 11:20 pm

    It’s Flash, not Javascript. You can’t mess with that from the outside. Without access to the server to actually redirect the requests, your chances are slim to none.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have images on a webpage that I want to have linked to another
Hi I have a webpage that's using classic ASP that I want to display
i have a webpage including 4 different iframe webpages i want that all pages
I have a webpage that displays a calendar, and I want to change the
I have a number of outgoing links on my webpage that I want to
I have this webpage that I want to post to my profile in FB.
I have a webpage that sends out emails using phpmailer. I set the host
I have a single webpage that is shared on 9 different domains. I want
I have a webpage that I only want a specific group to log into.
I have a webpage that I read using Python and BeautifulSoup, say soup=BeautifulSoup(urllib2.urlopen(site)) .

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.