--
You received this message because you are subscribed to the Google Groups "Chromium-extensions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-extens...@chromium.org.
To post to this group, send email to chromium-...@chromium.org.
Visit this group at http://groups.google.com/a/chromium.org/group/chromium-extensions/.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-extensions/665e122e-3a6a-4949-b075-2789cf74a4bc%40chromium.org.
For more options, visit https://groups.google.com/a/chromium.org/d/optout.
Hi Lazar,The elements are only inspectable when the Tools -> Extensions window is in "Developer Mode". But even then, you're wasting your time. We can just go in our profile directory and look at the code. People worry too much about stuff like that:1. We all learn from each other all the time, and in fact, you wouldn't be able to build your app right now without my help and I wouldn't have built mine without someone else's.2. If someone is going to try to reverse engineer your app and copy it, they are inferior to you, and they're going to provide very poor service to their customers and lose in the end. Why? Because they're losers who can't put in the effort without theft, and they have no gumption. You, on the other hand, will win. So put your energy into your product and your customers and forget about those who have no heart. :)As for disabling window resizing, check the bounds property on chrome.app.window.create, https://developer.chrome.com/apps/app_window#type-Bounds. The idea is you set the minHeight and maxHeight to be a fixed value, and do the same with minWidth and axWidth.Hope this helps, and good luck!
James
On Fri, Apr 18, 2014 at 8:16 PM, Lazar Nikolov <laki...@gmail.com> wrote:
Hello guys,I'm making a Chrome App, but I want to disable window resizing. Can you guys show me how do to that? Also I want to disable Right-Click in the app, so the users won't "Inspect My Elements".Thank you guys!Lazar Nikolov
--
You received this message because you are subscribed to the Google Groups "Chromium-extensions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-extensions+unsub...@chromium.org.
Anyway I set the min-max Width and the min-max Height values to fixed ones, but my window is still resizing. Here's a photo of proof, maybe I got something wrong so fix me up.Thanks James
On Saturday, April 19, 2014 6:45:42 AM UTC+2, James Mortensen wrote:
Hi Lazar,The elements are only inspectable when the Tools -> Extensions window is in "Developer Mode". But even then, you're wasting your time. We can just go in our profile directory and look at the code. People worry too much about stuff like that:1. We all learn from each other all the time, and in fact, you wouldn't be able to build your app right now without my help and I wouldn't have built mine without someone else's.2. If someone is going to try to reverse engineer your app and copy it, they are inferior to you, and they're going to provide very poor service to their customers and lose in the end. Why? Because they're losers who can't put in the effort without theft, and they have no gumption. You, on the other hand, will win. So put your energy into your product and your customers and forget about those who have no heart. :)As for disabling window resizing, check the bounds property on chrome.app.window.create, https://developer.chrome.com/apps/app_window#type-Bounds. The idea is you set the minHeight and maxHeight to be a fixed value, and do the same with minWidth and axWidth.Hope this helps, and good luck!
James
On Fri, Apr 18, 2014 at 8:16 PM, Lazar Nikolov <laki...@gmail.com> wrote:
Hello guys,I'm making a Chrome App, but I want to disable window resizing. Can you guys show me how do to that? Also I want to disable Right-Click in the app, so the users won't "Inspect My Elements".Thank you guys!Lazar Nikolov
--
You received this message because you are subscribed to the Google Groups "Chromium-extensions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-extensions+unsub...@chromium.org.
To post to this group, send email to chromium-...@chromium.org.
Visit this group at http://groups.google.com/a/chromium.org/group/chromium-extensions/.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-extensions/665e122e-3a6a-4949-b075-2789cf74a4bc%40chromium.org.
For more options, visit https://groups.google.com/a/chromium.org/d/optout.
--
You received this message because you are subscribed to the Google Groups "Chromium-extensions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-extens...@chromium.org.
To post to this group, send email to chromium-...@chromium.org.
Visit this group at http://groups.google.com/a/chromium.org/group/chromium-extensions/.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-extensions/6b61c3e3-7221-4606-acc1-36298dde757f%40chromium.org.
To stop a window being resizable, set the resizable flag to false when you create the window. Documentation is here: https://developer.chrome.com/apps/app_window#type-CreateWindowOptions.
On Sun, Apr 20, 2014 at 2:56 AM, Lazar Nikolov <laki...@gmail.com> wrote:
Anyway I set the min-max Width and the min-max Height values to fixed ones, but my window is still resizing. Here's a photo of proof, maybe I got something wrong so fix me up.
Thanks James
On Saturday, April 19, 2014 6:45:42 AM UTC+2, James Mortensen wrote:
Hi Lazar,The elements are only inspectable when the Tools -> Extensions window is in "Developer Mode". But even then, you're wasting your time. We can just go in our profile directory and look at the code. People worry too much about stuff like that:1. We all learn from each other all the time, and in fact, you wouldn't be able to build your app right now without my help and I wouldn't have built mine without someone else's.2. If someone is going to try to reverse engineer your app and copy it, they are inferior to you, and they're going to provide very poor service to their customers and lose in the end. Why? Because they're losers who can't put in the effort without theft, and they have no gumption. You, on the other hand, will win. So put your energy into your product and your customers and forget about those who have no heart. :)As for disabling window resizing, check the bounds property on chrome.app.window.create, https://developer.chrome.com/apps/app_window#type-Bounds. The idea is you set the minHeight and maxHeight to be a fixed value, and do the same with minWidth and axWidth.Hope this helps, and good luck!
James
On Fri, Apr 18, 2014 at 8:16 PM, Lazar Nikolov <laki...@gmail.com> wrote:
Hello guys,I'm making a Chrome App, but I want to disable window resizing. Can you guys show me how do to that? Also I want to disable Right-Click in the app, so the users won't "Inspect My Elements".Thank you guys!Lazar Nikolov
--
You received this message because you are subscribed to the Google Groups "Chromium-extensions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-extensions+unsubscribe...@chromium.org.
To post to this group, send email to chromium-...@chromium.org.
Visit this group at http://groups.google.com/a/chromium.org/group/chromium-extensions/.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-extensions/665e122e-3a6a-4949-b075-2789cf74a4bc%40chromium.org.
For more options, visit https://groups.google.com/a/chromium.org/d/optout.
--
You received this message because you are subscribed to the Google Groups "Chromium-extensions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-extensions+unsub...@chromium.org.
To post to this group, send email to chromium-...@chromium.org.
Visit this group at http://groups.google.com/a/chromium.org/group/chromium-extensions/.