Clipboard in Safari and Chrome - google-chrome

I found a few articles how clipboard works in IE and Firefox without flash, but I did not find any example regarding to Safari and Chrome. Could somebody share with me example or provide link?
Thank you!

I believe you want to manually set the system clipboard contents from JavaScript running in Safari or Chrome? Unfortunately, this capability was disabled a long while ago due to security reasons (previously, it had been possible to do that using execCommand(), but no more.) Sorry I cannot provide you a link to the respective WebKit bugzilla issue offhand. I'd be curious, though, if someone had a working solution.

Related

is chromium browser less cpu-intensive than google chrome?

I mostly use Google Chrome for my browsing, it's startup speed is good for my taste. Few days past, I was working in office computer and found another browser, Chromium. I searched for details and I found that Google takes it's(chromium) functions and features for Chrome, that way I thing Chromium has vast features to discover. So I want to replace Chrome for Chromium. Most irritating issue on Chrome is it's very CPU-intensive. So I want to know that is Chromium less intensive or same?? If same then it won't do any work for me. Please help. Thank you.
P.S please don't suggest me other browsers, because that isn't my concern!
P.P.S who don't have knowledge in this please don't put irrational comments!
Chrome is basically Chromium with a few additional closed bits and Google branding. so no, there won't really be a difference between running Chromium & Chrome wrt resource utilization.
keep in mind there are other factors that might matter -- Chromium does not include Adobe Flash for example.

Site doesn't display correctly in IE

I know it is not a new question but I can't find an answer in previously asked questions.
This is one of first sites I've build (using a tutorial). So I don't have a good knowledge of HTML.
i checked the site using validator en removed some errors (still some warnings left) but according to that site it seems ok. (http://validator.w3.org/check?uri=caenenbvba.be&charset=%28detect+automatically%29&doctype=Inline&ss=1&outline=1&group=0&verbose=1&st=1&user-agent=W3C_Validator%2F1.606)
In firefox, google chrome, safari it works fine.
can you guys help me?
website: http://www.caenenbvba.be
thanks in advance.
DD
im not %100 but im pretty sure internet explorer doesn't support all new features with HTML5 and css3. i have a website and one page doesn't work because its got the newest CSS3 features on it.
Make sure it's not in compatibility mode

Display:table-* and major browsers issues

I am developing the follow website:
http://di20studios.com/2012/royalpack/
All works fine in Mozilla Firefox and IE 8, but Safari, Opera and Google Chrome don't like my display:table-*CSS...
The display:table-* is at header and bottom.
What I want? Continuous background:
Can you enter the website and see this issue in action? How I can solve this?
Check this out, I believe you will find your problem is similar.
This is an unconfirmed webkit bug. My only suggestion would be to make sure you are using an HTML5 doctype:
<!DOCTYPE html>
From John Resig:
What’s nice about this new DOCTYPE, especially, is that all current browsers (IE, FF, Opera, Safari) will look at it and switch the content into standards mode – even though they don’t implement HTML5. This means that you could start writing your web pages using HTML5 today and have them last for a very, very, long time.
Also, I might suggest you NOT use this method (display:table-*) unless it is the ONLY solution (which is never :P). There are many known issues with this method, one being that it is not supported in IE7.
A plausible solution would be to use floating to achieve this. You will need to change the transparency over the images for the repeat-x to overlay properly. I edited the images so you can see a working example. As long as you MAKE sure to clear after the header-container, you shouldn't run into any issues using float. PS, this works in IE7+ :]
Can you enter the website and see this issue in action?
If the question is as above, then my answer is: Yes, yes I can. I am using Google Chrome 18.0.1025.162 on Linux.

How to design a browser extension/add-on compatible with multiple browsers

I want to develop an browser extension/add-on which keeps track of the url value in the address bar. The add-on could either be downloaded to local file system or it could be integrated within the browser.
Also, i'm curious to know how browser extensions like Toolyo are programmed. (It's a demo link of the Toolyo tool. Sorry, I didn't find a better example than this whic is much similar to my requirement). Can someone please throw light on the languages/methods used to develop extensions that can work in multiple browsers.
Sorry for a generic (and vague, as well) question. I would really appreciate any answers/suggestions.
The extension APIs for browsers with add-on functionality (Chrome, Firefox, etc.) are all very different and much of the browser-chrome-privileged code must be rewritten for the different browsers. User scripts, are a good alternative add-on architecture, but they only have the privilege level of an in-page script (except for GreaseMonkey in Firefox).
Greasemonkey is inbuild in Chrome
And also had support for Flock, Safari and Opera
And its also coming for IE soon.
So writing Greasemonkey script is also good rather then writing code per browser vendor.

How to solve the problems that html page works well in firefox and chrome, but wrong with IE?

I meet a problem that my page works well in firefox and chrome(almost the same look and feel) but very bad in IE. It's time consuming to adjust the differences. Is there any research has been done already to tell the differenceS, or any automation tool to examine the uncompatibilities?
BTW: which tool you guys are using when debugging in IE(like firebug for IE)?
Your best starting point is to always use some kind of "reset mechanism" like Eric Meyer's CSS Reset or framework like HTML5 Boilerplate, they help in reducing differences between browsers (not all, but most of it). If this is not possible (project is already in finishing phase, etc.) you can always ask questions here, check Position Is Everything for description of bugs, Quirks Mode, SitePoint reference and various other sites (Google is your friend :)). Hope this helps.
There is "debugging" tool for IE - IE Developer Toolbar - but it's usefulness can't compare to that of Firebug, Dragonfly and such. IE8+ does have better support for debugging, though… There are some articles that suggest using Visual Studio, but I haven't tried it. Mostly it's just trial and error with IE :).
ie7-js is a JavaScript file that automatically fixes many Internet Explorer bugs for all versions. Works like magic.
For fast and better results in IE you can use CSS Hacks for adjusting the HTML elements.
For IE we have IE Developer AddOn
you can download it here : http://www.microsoft.com/downloads/en/details.aspx?FamilyID=95e06cbe-4940-4218-b75d-b8856fced535
Welcome to the tiresome world of IE.
IE8 has some version of developers tools, hit F12 on your keyboard and it will pop up. (not present in 6&7)
There are many documented bugs in IE, a simple Google Search would help you out better, but a lot cannot be accounted for until you have your site working in FF.
What most developers I know do is to make the site in FF, make small changes for Webkit browsers then go over to IE (not including 6) and debug.
In my experience there really is no way to tell what IE is going to mess up next, so you'll probably just have to deal with it as it happens.