Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Remove url component

Remove some url parameter from url in browser. Uses history API.

This will also work if you have got hash in your url.

Abandoned

Unfortunately I don't have any more time to maintain this repository :-(

sad cat

Usage

var remove = require('remove-url-component');

remove(['page']);

This will remove page parameter from your url.

False is returned if history API is not supported.

Example

http://my.super-page.com/?arg1=aaaaa&page=2&arg2=bbbbb

will become:

http://my.super-page.com/?arg1=aaaaa&arg2=bbbbb

Timeout

Maybe you will need to set timeout before removing, so you can set second argument in remove function.

remove(['arg1', 'arg2'], 3000);

Changelog list

  • 1.0.1

    • Move under Carrooi organization
    • Abandon package
  • 1.0.0

    • Initial version

About

[ABANDONED] Remove some url parameter from url in browser.

Resources

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages