All Projects → shutterstock → UrlManager

shutterstock / UrlManager

Licence: MIT license
Javascript class for getting and setting url parameters

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to UrlManager

url-normalize
URL normalization for Python
Stars: ✭ 82 (+446.67%)
Mutual labels:  url
Brush Manager
Brush Manager is an add-on for Blender that helps you to create custom brushes, store them in a file and organize the library of various categories of brushes.
Stars: ✭ 75 (+400%)
Mutual labels:  manager
react-native-simple-download-manager
A react native module to schedule downloads on native download manager
Stars: ✭ 35 (+133.33%)
Mutual labels:  manager
kijiji-manager
App for viewing, posting, reposting, and deleting your Kijiji ads
Stars: ✭ 42 (+180%)
Mutual labels:  manager
node-match-path
Matches a URL against a path. Parameters, wildcards, RegExp.
Stars: ✭ 30 (+100%)
Mutual labels:  url
applink
A simple router based on scheme for Android
Stars: ✭ 21 (+40%)
Mutual labels:  url
Message-Manager-Bot
A Telegram Message Manager Bot by @AbirHasan2005
Stars: ✭ 32 (+113.33%)
Mutual labels:  manager
InitKit
Neo-InitWare is a modular, cross-platform reimplementation of the systemd init system. It is experimental.
Stars: ✭ 364 (+2326.67%)
Mutual labels:  manager
chemin
🥾 A type-safe pattern builder & route matching library written in TypeScript
Stars: ✭ 37 (+146.67%)
Mutual labels:  url
jquery.filebrowser
File browser jQuery plugin
Stars: ✭ 29 (+93.33%)
Mutual labels:  manager
director
Director is a production-ready supervisor and manager for Erlang/Elixir processes that focuses on speed, performance and flexibility.
Stars: ✭ 62 (+313.33%)
Mutual labels:  manager
InitWare
The InitWare Suite of Middleware allows you to manage services and system resources as logical entities called units. Its main component is a service management ("init") system.
Stars: ✭ 164 (+993.33%)
Mutual labels:  manager
url
A C++ library that implements the URL WhatWG specification
Stars: ✭ 35 (+133.33%)
Mutual labels:  url
Ffast-Java
Ffast 基于Srping boot + Mybatis Plus后台管理系统前后分离快速开发解决方案
Stars: ✭ 104 (+593.33%)
Mutual labels:  manager
KoiCatalog
A card manager for Koikatu. View, search, and sort your collection of character cards.
Stars: ✭ 18 (+20%)
Mutual labels:  manager
ST-OpenUri
The ultimate Sublime Text plugin for opening URIs (URLs) in your file.
Stars: ✭ 25 (+66.67%)
Mutual labels:  url
UnboundBL
🛑 DNSBL (adblock) on OPNsense with UnboundBL & Unbound DNS
Stars: ✭ 63 (+320%)
Mutual labels:  url
Passky-Desktop
Desktop application for Passky (password manager)
Stars: ✭ 47 (+213.33%)
Mutual labels:  manager
vue2-element
基于vue2 + vue-router2 + element-ui + vuex2 + fetch + webpack2 企业级后台管理系统最佳实践
Stars: ✭ 115 (+666.67%)
Mutual labels:  manager
UnityLauncherPro
Unity Hub Alternative Project Launcher with time saving features!
Stars: ✭ 226 (+1406.67%)
Mutual labels:  manager

UrlManager

UrlManager is a javascript class that gives you an easy way to get and set url parameters.

Example:

 if your current url is: 
 www.mydomain.com/index.html?category=pets&animal[]=cat&animal[]=dog

 var urlManager = new UrlManager();
 urlManager.readUrl();

 var c = urlManager.getParam('category');
 //c == 'pets'

 var a = urlManager.getParam('animal[]');
 //a = ['cat','dog'];

 urlManager.setParam('category','zoo');
 // updates the current URL to be: www.mydomain.com/index.html?category=zoo&animal[]=cat&animal[]=dog
 
 urlManager.setParam('animal[]','ping');
 // updates the current URL to be: www.mydomain.com/index.html?category=pets&animal[]=cat&animal[]=dog&animal[]=pig
 
 urlManager.removeParam('animal[]','dog');
 // removes "animal[]=dog" from the current URL
 
 urlManager.clearParam('animal[]');
 // removes "animal[]=cat&animal[]=dog" from the current URL
 
 urlManager.clearParam('category');
 // removes "category=pets" from the url
 
 var h = urlManager.getParams();
 // h == {category: 'pets', animal: {'cat': 1, 'dog': 1}}

License

Copyright (C) 2011-2013 by Shutterstock Images, LLC

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].