FAQ Database Discussion Community


How can I have a different behavior in this JQuery script if the browser is Chrome?

javascript,jquery,html,css,browser
I am absolutely new in JavaScript and JQuery and I have the following problem. I have to modify a JQuery script so that it has a different behavior when the browser is Chrome. This is my script: $(document).ready(function () { $("thead.opening").click(function () { alert("INTO second function"); $(this).next().css('width', '10000000 em'); alert(modified);...

file_get_contents() function loads different page compared to broswer

php,html,file,browser,hyperlink
I am trying to find next page's link of a particular page(i call that particular page as current page here).The current page in program i am using is http://en.wikipedia.org/wiki/Category:1980_births The next page link which i am extracting from the current page is the below one http://en.wikipedia.org/w/index.php?title=Category:1980_births&pagefrom=Alexis%2C+Toya%0AToya+Alexis#mw-pages But ,, when file_get_contents()...

Open popup window in specific keyboard language

javascript,jquery,html,browser
I have code like this that open new window in javascript: window.open(URL); But although browser keyboard language at opennig moment for example is 'fa' but new window opens in 'en'. Is there a way that I can open new window in the same keyboard language that browser uses? Thanks....

What do I need to do to my HTML to allow accented characters to properly display?

html,browser,html-escape-characters
I have HTML like this (combination of English and Spanish): <p><em><span class="consolas">In </span><span class="english">English</span><span class="consolas"> and </span><span><strong>Spanish</strong></span></em><em><span class="consolas"> / En </span><span class="english">Inglés</span><span class="consolas"> y...

jQuery - Listen to User click on the Auto Suggest Option provided by browser

javascript,jquery,browser
This is my input box. <input type="text" class="form-control" id="contestCode" name="contestCode" required > My jQuery Snippet which checks for keyup event and paste event $('#contestCode').on({ keyup : function(){ checkContestCodeIfExists($(this)); }, paste : function(){ checkContestCodeIfExists($(this)); } }); But when the user clicks on the autoSuggest provided by the browser (Code exists for...

Java Selenium WebDriver with Yandex

java,selenium,browser,selenium-webdriver,yandex
At the moment, I use Firefox as browser for my Java Application with Selenium. But Firefox is slow. Is it possible to use Yandex as browser? Didn't find anything in Google. Does Selenium supports Yandex? For Chrome I need the .exe for using Chrome as browser. Is this possible with...

Changing URL as long as you are scrolling the webpage

javascript,html,url,browser,browser-history
I was seeing the NASA's press release / image gallery, (you can see it here) and it has come to my attention that as I'm scrolling down the webpage and seeing different posts, the URL in the address bar was changing (I was using chrome, but tried in Internet Explorer...

Whats the connection between the browser and the Internet?

browser
How does a browser fit in to the internet? The router connects you to the ISP servers and then you get connected to the internet, correct? How does the browser take your computer and relate it to the internet?

Android Old Browser not Deeplinking mobile application

javascript,android,browser,deep-linking
I have a mobile app which is available for Android and IPhone. For this i have a website where I have a javascript method which checks whether the user is accessing the website from mobile device or other. If it's a mobile device, i'm invoking my installed mobile app, if...

Will Microsoft Edge support userscripts?

javascript,browser,userscripts,microsoft-edge
Did Microsoft announce whether Edge will support userscripts? Doesn't matter if via plugins (similar to Greasemonkey in Firefox or Tampermonkey in Chrome) or as an out-of-the-box feature.

Yii: Redirect in controller to external site in new tab

php,browser,yii,controller
Is it possible to redirect to an external url inside a Yii controller and open the new page in a new tab? $this->redirect("http://www.google.com"); This works fine, but opens in the same tab. Is there a way to open the url in a different tab? Thanks...

return info after Twilio client outgoing call

javascript,php,browser,twilio,phone
Im trying to find a way to return information when placing an outgoing call through the twilio softphone in the browser. When I place an outgoing call my application invites the remote party to a conference room throught the rest api, and the agent is invited to that same conference...

Check if ionic app is in dev serve mode(browser)

javascript,browser,ionic-framework,ionic
I use ionic serve to run my app on localhost. how can I know when I'm in browser and not in android? I tried: navigator.platform // MacIntel navigator.platforms // undefined ionic.Platform.is('BROWSER') // false navigator.userAgent // ...iPhone... => i'm in chrome device mode Thank you!...

Load javascript in consecutive order after browser load event

javascript,jquery,html,html5,browser
What am I trying to do? In an attempt to speed up my website I am loading non-essential javascript after the browser load event. (So the JS files are not render blocking) This is currently functioning correctly. What is the problem? The problem is sometimes the non-essential javascript depends on...

Why is it so hard to style