| Post | Author | Forum | Thread | Posted | Relevance | |
|---|---|---|---|---|---|---|
|
Post #11560342 i use below (reason information from a XML file) thanks… |
stefanvd | Opera Extensions Development Discussions | Get value of the var | Feb 6 2012 | ||
|
Post #11556292 ah. that is a good idea (checking source).… |
stefanvd | Opera Extensions Development Discussions | catch error | Feb 5 2012 | ||
|
Post #11555292 [author] Hi, Follow problem: var item0 = "stefan"; var item1 = "vd"; var item2 = "Opera"; for (i = 0; istefan vd opera But i got this now: item0 item1 item2 How fix this. Stefan… |
stefanvd | Opera Extensions Development Discussions | Get value of the var | Feb 5 2012 | ||
|
Post #11552982 Current i test it on a local file on my computer. And just don't want to see that error message in the opera console.log. Because if i draw (a object) few times, i see 10 error about that topic. ...… |
stefanvd | Opera Extensions Development Discussions | catch error | Feb 5 2012 | ||
|
Post #11547712 [author] Hi, I have something drawed with canvas, if i collect the data from the same URL it work. But if i try to get from a other server. It give me this kind of error: Unable to get image data from ...… |
stefanvd | Opera Extensions Development Discussions | catch error | Feb 4 2012 | ||
|
Post #11521942 THANKS!… |
stefanvd | Opera Extensions Development Discussions | quick question | Feb 1 2012 | ||
|
Post #11516222 [author] Hi, I want to search for the classname "source", and display it to block, like this: var divs = document.getElementsByClassName('source'); for(var i=0; i tag (and not other tag element like ...… |
stefanvd | Opera Extensions Development Discussions | quick question | Jan 31 2012 | ||
|
Post #11472752 Ah. Can this trick work (to get the color)? that it (a code) make a img file in Datacode, add it self in the current page and take there the color? Or (a code) that create a div element?... ...… |
stefanvd | Opera Extensions Development Discussions | how create a color picker | Jan 26 2012 | ||
|
Post #11472112 hm.. is there a other way to get the color of a html5 video. I read that this code can solve the problem: ctx.crossOrigin = ''"; But it doesn't work for me here. Kind Regards, Stefan… |
stefanvd | Opera Extensions Development Discussions | how create a color picker | Jan 26 2012 | ||
|
Post #11467212 OK i fix the memory thing. Now on this page, it got 2 canvas elements. (one for draw the video, and the other to take a point) http://www.stefanvd.net/operatest.html When i click play, it doe ...… |
stefanvd | Opera Extensions Development Discussions | how create a color picker | Jan 25 2012 | ||
|
Post #11447052 Now in Opera it draw the video in my canvas, and i see below my canvas the color(s) taken from html5 video. But it doesn't use that as background-color for the webpage. :/ Kind Regards, Stefan… |
stefanvd | Opera Extensions Development Discussions | how create a color picker | Jan 23 2012 | ||
|
Post #11428012 Ok, I create a test page. (that draw for each second the video frame and pick the color of x= 10 y=50% -> and show that as background-color of the webpage) http://www.stefanvd.net/testpagevi ...… |
stefanvd | Opera Extensions Development Discussions | how create a color picker | Jan 21 2012 | ||
|
Post #11422632 [author] Hi, How can i take the color of a html5 video (and or adobe flash). Must do something like the color picker from the current website, but for video. Example html5 video http://camendesign ...… |
stefanvd | Opera Extensions Development Discussions | how create a color picker | Jan 21 2012 | ||
|
Post #11067312 Thank you all!! :) i thought that was the best way. … |
stefanvd | Opera Extensions Development Discussions | Get keyboard action | Dec 14 2011 | ||
|
Post #11060012 thanks!… |
stefanvd | Opera Extensions Development Discussions | high cpu when change a value | Dec 13 2011 | ||
|
Post #11059542 [author] Hi, I have create a shortcut option in my extension, and the code doesn't work. But in Google Chrome this work fine. Any idea what i do wrong, or got a better way :) if(shortcut == true){ ...… |
stefanvd | Opera Extensions Development Discussions | Get keyboard action | Dec 13 2011 | ||
|
Post #11047832 It work well, but if i remove that id="gammaVal" (with a other extension button). And add it back that id="gammaVal. Then it doesn't save anything.… |
stefanvd | Opera Extensions Development Discussions | high cpu when change a value | Dec 12 2011 | ||
|
Post #11042342 [author] Hi, I want to create a script that when i change a value in the (with the id="gammaVal") or change the html5 "range". It must take that value and save it to my Opera extension settings page. I ...… |
stefanvd | Opera Extensions Development Discussions | high cpu when change a value | Dec 11 2011 | ||
|
Post #10918612 See this post: http://my.opera.com/community/forums/topic.dml?id=1169202&t=1322666141&page=1… |
stefanvd | Opera Extensions Development Discussions | Question related to Messaging between content script and background html | Nov 30 2011 | ||
|
Post #10918592 yes, thanks!… |
stefanvd | Opera Extensions Development Discussions | send back to source tab | Nov 30 2011 | ||
|
Post #10893822 OK, just found JSOn to HTML code sample. Thanks!… |
stefanvd | Opera Extensions Development Discussions | translation extension | Nov 27 2011 | ||
|
Post #10890302 Thanks for you reply. But still the problem is how to get it from javascript, can't figure it out to receive that (from json to javascript) in code. If you know a example, then it will be great. :)… |
stefanvd | Opera Extensions Development Discussions | translation extension | Nov 27 2011 | ||
|
Post #10882482 [author] I got a open page, when i click on the url. It inject something in the page. But about a rondom time it send a message to the background page. and the background must send it back to tab id wher ...… |
stefanvd | Opera Extensions Development Discussions | send back to source tab | Nov 26 2011 | ||
|
Post #10875702 I use that already in my config file (for the titel & description). But i got translations from my www.getlocalization.com project, (where i can download all translation in to a zip file) and t ...… |
stefanvd | Opera Extensions Development Discussions | translation extension | Nov 25 2011 | ||
|
Post #10851092 [author] Hi, I got a Chrome extension and that use json files as translations. Here i see it is not possible to use direct json as translation. But i recent see that lastpass extension use json translat ...… |
stefanvd | Opera Extensions Development Discussions | translation extension | Nov 22 2011 | ||
|
Post #10461442 Thanks for you help. :) I will research it here again with breakpoint.… |
stefanvd | Opera Extensions Development Discussions | got a error, doesn't get object | Oct 3 2011 | ||
|
Post #10461032 It solve the 'o not getting a reference to ytCinema', but it create also a new error. The ytCinemaMessage is created by a other javascript file. The original file work great on Safari and Chro ...… |
stefanvd | Opera Extensions Development Discussions | got a error, doesn't get object | Oct 3 2011 | ||
|
Post #10460582 I refresh the extension, but got now this error: [3/10/2011 11:11:53] JavaScript - http://camendesign.com/code/video_for_everybody/test.html Script thread creation Maximum script thread recur ...… |
stefanvd | Opera Extensions Development Discussions | got a error, doesn't get object | Oct 3 2011 | ||
|
Post #10460112 Here is the source code (with change of the above suggestion): http://turnoffthelights.googlecode.com/files/injected2.js Kind Regards, Stefan… |
stefanvd | Opera Extensions Development Discussions | got a error, doesn't get object | Oct 3 2011 | ||
|
Post #10440252 still got the problem, here the full error message i receive: [30/09/2011 13:42:29] JavaScript - http://camendesign.com/code/video_for_everybody/test.html Event thread: load Uncaught exceptio ...… |
stefanvd | Opera Extensions Development Discussions | got a error, doesn't get object | Sep 30 2011 | ||
|
Post #10436172 Thanks for you reply! This make it now less error, but still got the error when i click on a play/pause button. Example html5 video i use: http://camendesign.com/code/video_for_everybody/test. ...… |
stefanvd | Opera Extensions Development Discussions | got a error, doesn't get object | Sep 29 2011 | ||
|
Post #10393562 [author] Hi, When i open a html5 video page, i inject this script. But in the opera console log, it give me a error: Event thread: DOMNodeInserted Uncaught exception: TypeError: Cannot convert 'o' ...… |
stefanvd | Opera Extensions Development Discussions | got a error, doesn't get object | Sep 26 2011 | ||
|
Post #10344992 thanks for you help, i see code that can help me out now.… |
stefanvd | Opera Extensions Development Discussions | send the "action" to working tab but it's not focus | Sep 19 2011 | ||
|
Post #10325372 I mean that it call to the background page 'automatic' and then it go the script where the function 'automatic' is. And inside the function will see if it's inject the already or not. If create ...… |
stefanvd | Opera Extensions Development Discussions | send the "action" to working tab but it's not focus | Sep 16 2011 | ||
|
Post #10322562 action: 'automatic' just send to a file to run that. And that file do the insert or remove it. Just a problem with my sending. Example, here for sending 'settings' to my source tab -> that w ...… |
stefanvd | Opera Extensions Development Discussions | send the "action" to working tab but it's not focus | Sep 16 2011 | ||
|
Post #10319872 My script check for the video is ended -> then send "automatic". And run a file to remove or insert a . But i want something that it only run the action where the source tab send his message ...… |
stefanvd | Opera Extensions Development Discussions | send the "action" to working tab but it's not focus | Sep 15 2011 | ||
|
Post #10313772 I will say it now in a other way to understand my question better. Example: A Youtube video is playing -> automatic it focus the video and dark the rest. When a switch from tab, i read the NY ...… |
stefanvd | Opera Extensions Development Discussions | send the "action" to working tab but it's not focus | Sep 14 2011 | ||
|
Post #10311202 [author] Example: Opera browser got 10 tabs open and one of the tab is active (working tab) and i click on the button. It inject something (a element), with a time (30s) to remove it later. But i go to ...… |
stefanvd | Opera Extensions Development Discussions | send the "action" to working tab but it's not focus | Sep 14 2011 | ||
|
Post #9744502 No it must be string, because Opera browser it place on the begin of that value a " and on the end also a ". (in a other browser i got not this quotes). I need a script to detect if there is a qu ...… |
stefanvd | Opera Extensions Development Discussions | easy way script | Jun 28 2011 | ||
|
Post #9740942 found the problem var currenturl = location.protocol + '//' + location.host; must be var currenturl = window.location.protocol + '//' + window.location.host;… |
stefanvd | Opera Extensions Development Discussions | detect current url and run the action | Jun 27 2011 | ||
|
Post #9740932 [author] Hi, Do somebody know a other way to detect only the first and last quotes (") and remove them with a nothing (remove character). injected script excludedDomains: JSON.stringify(localStora ...… |
stefanvd | Opera Extensions Development Discussions | easy way script | Jun 27 2011 | ||
|
Post #9731202 [author] Hi, I got inside my extension a option page, to show the url list that my extension must do the action. In my option page it can read the website url and i can enter self a new url and save it ...… |
stefanvd | Opera Extensions Development Discussions | detect current url and run the action | Jun 26 2011 | ||
|
Post #9730932 Thanks!! :) The line you say, is a type error from me (copy paste..) Must be deleted in the code.… |
stefanvd | Opera Extensions Development Discussions | show/hide opera extension button | Jun 26 2011 | ||
|
Post #9729102 [author] Hi, In my extension i have create a option to hide/show my extension button. It work great if i change it in my option page. But the first time use (when installed the extension). It doesn't sh ...… |
stefanvd | Opera Extensions Development Discussions | show/hide opera extension button | Jun 26 2011 | ||
|
Post #8639941 [author] When i add a html5 YouTube player inside my option page (for my extension). It doesn't show up, only a white background. And if a open it normal (file-> open...) then i see the YouTube player.… |
stefanvd | Opera Extensions Development Discussions | BUG option page? | Feb 13 2011 | ||
|
Post #8581621 [author] Hi, I have create a option page for my extension (options with false or true) From this post http://dev.opera.com/forums/topic/824462 Now i have create a color input in my option page. (and ...… |
stefanvd | Opera Extensions Development Discussions | error color | Feb 6 2011 | ||
|
Post #8244432 [author] Hi, I create a yahoo slider to add on the current webpage. like this http://developer.yahoo.com/yui/examples/slider/slider-ticks.html It successful add the style and html element (div,...) ...… |
stefanvd | Opera Extensions Development Discussions | yahoo jquery add to current page | Jan 1 2011 | ||
|
Post #8244112 thanks… |
stefanvd | Opera Extensions Development Discussions | how create a context menu like Google Chrome | Jan 1 2011 | ||
|
Post #8232372 [author] Hi, Can somebody give me here the code how to create a context menu (right click menu). in javascript. Kind Regards, Stefan… |
stefanvd | Opera Extensions Development Discussions | how create a context menu like Google Chrome | Dec 30 2010 | ||
|
Post #7994912 [author] i create a injectscript to add something on that current webpage. if it detect example the website "www.vimeo.com" then do a job1 if "www.megavideo.com" then do job2 javascript code: var url ...… |
stefanvd | Opera Extensions Development Discussions | RegExp doesn't work? | Dec 11 2010 | ||
Showing search results 1 - 50 of 69.
Icon guide:
New posts
No new
Friend
You are the author
You have replied
Poll
Sticky
Locked