4ae9b8 / browserhacks Goto Github PK
View Code? Open in Web Editor NEWAn extensive list of CSS/JS browserhacks from all over the interwebs.
Home Page: http://browserhacks.com/
An extensive list of CSS/JS browserhacks from all over the interwebs.
Home Page: http://browserhacks.com/
A place to display awesome quotes.
Kind of slow right now. Let's try to make the beast faster.
main.js
should probably be minified.The version of a hack is 3.5+. So when you search for 5, the expected result would be every hack with version 5 and all hacks with version 3.5.
Currently there is no result for Firefox 5
.
Add mobile browsers hacks.
Display something nice:
<your suggestion here?>
When no result found, there are still the headers ("JavaScript hacks", "Media hacks", etc.).
Just update the logo.
Can't reach test.browserhacks.com anymore.
We need a new favicon.
Searching for "Opera 7", gives "Opera 9.27" as a result.
We need to know more about which versions of Safari are hacked by:
::made-up-pseudo-element, .selector {}
Safari 6: to be tested.
Safari 5: OK.
Safari 4: to be tested.
Safari 3: to be tested.
Safari 2: to be tested.
The browser-logos.png
is currently 296.08 KB big. This is too much. We need to optimize it in some way:
Add a @2x image for this (http://preview.browserhacks.com/img/linedpaper.png) background image and show it on retina displays.
Good idea? Bad idea?
Since most people will look for a IE hack, I think IE should be the first in the list.
Do we really need this option? My point of view: Keep it simple. The search is enough for me.
What do you think?
I created a new account for BH which needs to be added before we go live. I will give full access to 4ae9b8 members.
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-38522111-1']);
_gaq.push(['_setDomainName', 'browserhacks.com']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
Why aren't we loading jQuery from Google CDN?
I think hacks targeting "everything but..." should be considered as another whole thing. To be discussed.
Sara dropped this link: http://www.deepakmishra.name/post/39760396488/browser-css-hacks
To be checked...
entypo doesn't work properly on every device/browser/os combination. We should replace it with another Icon Fonts (e.g. Fontawesome or what ever you want)
The test page needs the new rotating catch phrase from #27 too.
Might want do replace the JS based animation with a CSS on:
http://codepen.io/FWeinb/pen/80acf062c1e953947be570717a801bc4
Make JS hacks work in the test page.
Currently unusable in IE6, IE7 and IE8. The later should be compatible.
What if we merged both? We run the tests on the home page directly.
Any thought?
Something with checkboxes would be great. Advices & comments welcome.
Not much to say here. The background looks out of proportion and kinda blurry, there are tons of better ones, so I'd suggest changing it...
From a UX perspective.. if I open the BH in a browser, I would first like to see all hacks that DO work in the browser I'm viewing, taking into consideration the version as well.. and maybe be given an option to see all hacks that don't work. Having to look for the hacks that doesn't work isn't nice UX.
For example I don't wanna have to keep scrolling down "looking for" hacks that worked. So it would be great, to kinda like FILTER the hacks for each browser: at top: the ones that work, at bottom: the ones that didn't work/match.
Chrome 24-.
/* Safari (version?) and Chrome (not Canary) */
::made-up-pseudo-element, .selector { background: lightgreen; }
Now we have a dedicated Twitter account, we should put a link to it on the home page.
Would be nice to have a page like preview.browserhacks.com so that people can review the site and are not forced to git/server/what ever on their local machine.
Would be awesome to some kind of "jump" to a specific browser. Or is the search the only navigation element?
The Chrome logo on the site is old. Quick fix.
What about a little "Copy to clipboard" button for each snippet? I don't know if it worth it. Any thought?
Mozilla Firefox should also be referenced as "ff".
Searching for a number should return either:
Currently, searching for a number doesn't do anything.
Ok, the rest of the #4ae9b8 team is allowed too D:
Is'nt in the green for Safari Version 6.0.2 (8536.26.17) on OSX 10.8.2
var isSafari = /a/.proto=='//';
To be tested:
/* IE 10 */
(function() {
"use strict";
var tmp = (document["documentMode"] || document.attachEvent) && "ev",
msie = tmp
&& (tmp = window[tmp + "al"])
&& tmp("/*@cc_on 1;@*/")
&& +((/msie (\d+)/i.exec(navigator.userAgent) || [])[1] || 0);
return msie || void 0;
})();
Source JS: http://www.jquery4u.com/browsers-2/check-ie-version/
To be tested:
/* IE 10 */
navigator.msMaxTouchPoints
Describe what the green and red background means.
On newer Safari versions /a/.__proto__
returns /(?:)/
, the same for Google Chrome, Firefox and Opera. So doing that check will not tell if it is Safari.
Can't say if this will work on all versions of Safari (tested on 4.0.5 and 6.0.2) and on iOS (3.0, 4.0, 5.1, 6.0).
var isSafari = /Constructor/.test(window.HTMLElement);
What about moving the test page to test.browserhacks.com?
The browser on the test page should be sorted alphabetically to be consistent with the main page.
Why? #23
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.