Skip to content

URL mapper is a google chrome extension to redirect URL using mapping rules

Notifications You must be signed in to change notification settings

dsin/URL-mapper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

URL-mapper

URL mapper is a google chrome extension to redirect URL using mapping rules

i.e. when we enter http://yahoo.com, we would like the browser to go to http://google.com instead

Installation

  1. Go to Google Chrome,

  2. Tools > Extensions

  3. tick Developer mode

  4. click Load unpacked extension button then navigate to the URL-mapper folder, then click open

  5. click URL-mapper's Options This is where the mapper can be set.

    For example, if you want web browser to load http://google.com when you enter http://yahoo.com, you can configure like this:

    currentURL : http://yahoo.com

    redirectURL : http://google.com

    or another practical example:

    currentURL : http://58.97.5.29/annouce/court.html

    redirectURL : http://mirrorrr.appspot.com/[prevURLwoHttp]

redirectURL's Variable

[currentURL]
[beforeRedirectURL]
If user enter URL that contains redirect inside that page, the [beforeRedirectURL] will be the URL before redirect.

For example, the page http://a.com has redirect script inside his own page to http://b.com.

When user enter http://a.com. The [currentURL] will be http://b.com and the [beforeRedirectURL] will be http://a.com

[beforeRedirectURLwoHttp]
i.e. if [beforeRedirectURL] is http://google.com, [beforeRedirectURLwoHttp] will be google.com.

About

URL mapper is a google chrome extension to redirect URL using mapping rules

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published