Giter Club home page Giter Club logo

delegate-browser's Introduction

README.md

DelegateBrowser delegates dedicated urls to different browsers.

In my company I have got often the problem that some intranet pages do only work with IE... But my default browser is (of course) Firefox. So whenever I have an email where I want to click on a link for such special intranet pages, where IE must be called, I had to copy the link, open the IE, paste it, and execute...

To avoid this anoying work, I wrote this little tool. The "delegate-browser" will be registered in windows registry, but it's simply a script call. The script will read a config file "IE-urlparts.txt" and every URL which is opened and matches one of the lines inside this config file the IE will be called. Otherwise Firefox.

Prerequisites:

  • Its absolutely necessary to have a installed git bash which is part of PATH variable because the scripts uses batch + bash
  • Its also necessary that you have administrator rights, because you will have to import 3 registry entries via regedit...
  • You have to clone the "delegate-browser" git hub project exactly into C:\ so do following
  • Rename c:/delegate-browser/IE-urlparts-example.txt to c:/delegate-browser/IE-urlparts.txt and change/add patterns for internet explorer calls

How To:

  • switch to subfolder of your OS version (currently only windows 7 is supported, but maybe it works with windows 10 too)
  • follow steps described in the subfolders README.md

License:

Copyright 2016 Albert Tregnaghi

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

delegate-browser's People

Contributors

de-jcup avatar

Watchers

 avatar  avatar  avatar

delegate-browser's Issues

Delegate mechanism relink to MSYS location but not real target

As described at
http://www.mingw.org/wiki/Posix_path_conversion

/ is converted to MSYS location - e.g. C:/MinGW/msys/1.0

so following problem occurs when using git bash:
https://hostname/script.aspx?sourcedoc=/sites/test.pdf
is converted to
https://hostname/script.aspx?sourcedoc=C:/Program%20Files%20(x86)/Git/sites/test.pdf

Easiest way to workaround would be

# Prevent MinGW from converting unix paths to windows paths
export MSYS_NO_PATHCONV=1 

but sorrowly this does not work.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.