Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

Easily add outdated-browser project to your Flask application

Project Description

A simple way to add outdated browser to your Flask project using python code.


In flask add:

from flask_outdated_browser import OutdatedBrowser

# regular way of initializing

#it also handles Flask factory pattern
outdated = Outdated()


Configuration Variables

The extension can handle the following configuration options that follow the original project capabilities

Browser support version

Determines which version of IE will be the first supported version for your app.

  • app.config[“OUTDATED_BROWSER_FOR”], defaults to “IE10”, accepts all the original project parameters.

Jquery Usage

Sets if jquery is used or not.

app.config[“OUTDATED_BROWSER_JQUERY”], defaults to False

AJAX support

Determines if AJAX is used for script rendering.

app.config[“OUTDATED_BROWSER_AJAX”], defaults to False

Minified files

Determines if the .js and .css files are minimized or not.

app.config[“OUTDATED_BROWSER_MINIFIED”], defaults to True

Language to display

Accepts any outdatedbrowser language. It will be used to call the proper template.

app.config[“OUTDATED_BROWSER_LANGUAGE”], defaults to “en”

Usage in templates

since usually the developer wants to have control of their base.html file, or is ussing a framework like Boostratp or zurb Foundation, I dediced the best sensible way to add the outdated browser code snippets would be macros.

to use it just add the following to your jinja2 templates:

{% import "outdated/macros.html" as outdated %}

<!-- In your header styles -->
{{ }}

<!-- in your body (just anywhere) -->
{{ outdated.init() }}

<!-- in your footer scripts, after jquery if you turned it on -->
{{ outdated.script() }}
Release History

Release History

This version
History Node


Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
Flask-outdated-browser-0.1.tar.gz (8.5 kB) Copy SHA256 Checksum SHA256 Source Apr 10, 2015

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting