Questions tagged [cross-browser]

17 questions
6
votes
2 answers

How can a website look different in safari Windows and Safari mac?

I have a website. I've been testing crossbrowser on my windows PC, and it looks good in all browsers, but on Mac in Safari it looks like the CSS is not getting interpreted right, or there is a critical javascript error. When I look in the console…
Jakob
  • 1,025
  • 2
  • 9
  • 8
5
votes
5 answers

Should Cross browser testing be explicitly mentioned in the scope of a project?

I do freelance web development and front end dev is not my strongest point. This question came to me in my recent fixed bid project. Nowadays we use Jquery and Bootstrap and these take care of lots of cross browser stuff. Still, there are lots of…
4
votes
3 answers

Javascript Use of Window Object through alternate means

Disregard your usual paradigms for a mere moment here.... I've seen a few sites who have used the following logic: a=[]; b=a["sort"]; c=(b)(); c["alert"](1); // intended output: Alert displaying "1"... supposedly to access (I'm guessing here) the…
4
votes
2 answers

Unit Testing of JavaScript - Are we testing the logic of the code or the behavior against a browser

[Warning]: I am new to the whole unit testing and have been trying to learn as much as possible. I am working on a MS CRM 2011 project and I have been trying to introduce unit testing in my company. For unit testing JavaScript web resources, I found…
Kanini
  • 2,248
  • 5
  • 24
  • 28
3
votes
2 answers

Managing Similar Code On Multiple Platforms (GIT)

My team and I have developed a Chrome extension which we are now porting into Firefox. The two versions share enough of a code base that it would be redundant to manage to separate depos. In fact theoretically the difference is within a few files…
Serguei Fedorov
  • 191
  • 1
  • 2
  • 7
2
votes
1 answer

Best strategy for OAuth2.0 across browsers and across tabs within the same browser?

I have developed a login system using OAuth2.0 that is currently working within one tab in one browser. Without diving into the code, the system works by having the user enter their credentials to login, the credentials are sent up to the API…
1
vote
2 answers

Crossbrowser testing FrontEnd apps in 2022

So nowadays, creating js & css that works the same across different browsers is less of an issue as to what it was a few years back. So let's say I have this Vue app that - Has CSS reset Include @babel/polyfil Doesn't care if it works on Internet…
Haim
  • 119
  • 2
1
vote
1 answer

How do I make my Browser Extension send a Selection it captured to a Database/Web App so it can be stored in the user's account?

I am building a Browser Extension that captures a Selection made by the user in any web page, and stores it in his account. I don't quite know how to proceed with this, however. My initial thought was that I had to build an extension for this…
1
vote
2 answers

Attempting to make a Cross Domain AJAX request to a Server I don't own

I'm aware that javascript programs running in a browser are bound to the same-origin policy which prevents them from requesting services from a server that is on a different domain. What I've gathered from that is that lets say a script on…
Javacadabra
  • 121
  • 1
  • 4
1
vote
1 answer

Web Programming Cross Browser Frustrations Normal?

So I'm a relatively junior programmer, been doing it for a couple years now and have been recently working on a redo of the company's website, and have ran into some frustrations and was just wondering if that's the way it goes or if I'm missing…
1
vote
1 answer

Developing a cross-platform interface for writing to hardware like PicKit OR USB over the web?

I thought long and hard on weather to put this question in programmers or stack overflow. Please let me know if this is not the right place and I will post it to SO. My friend and I am developing a display board that would need some configuration…
1
vote
3 answers

What are the available tools for creating cross-platform, cross-browser multiplayer online commercial games?

HTML5+Javascript is not viable as the client-side code will be visible and, thus, stealable. Flash is not viable since it's not supported on ipads and thus not cross-platform. Said that, what are the available tools for creating cross-platform,…
0
votes
3 answers

Development Of Scriptable Webpage Served As XML And Parsed As HTML

In short, this question is about the cross-browser-compatibility-ness of a way to serve a HTML page as XML. I am interested in serving a web page as XML to be interpreted as HTML for increased CSS performance by removing the user agent style sheet.…
Jack G
  • 242
  • 2
  • 16
0
votes
3 answers

Approach to develop an inline editor for enumerated lists

Background Looking to develop a WYSIWYG editor for ordered lists so that people can directly edit lists of instructions on a web page. Problem The contentEditable attribute is woefully immature for editing ordered lists (e.g.,
Dave Jarvis
  • 743
  • 6
  • 28
0
votes
1 answer

How do I add another script engine to web browsers under Linux / Windows / Mac?

In my ample (NOT!) spare time, I'm fiddling with Lhogho and wondering how to go about morphing it into a script engine for web browsers, viz

My First Web Page