Posts by Iago Bruno • 1,693 points
32 posts
-
0
votes1
answer2032
viewsQ: Javascript control element using scroll
Hello, I was thinking of putting in a project of mine, an "effect" of controlling a certain element using the position of the scroll bar, when the user descends through the page. I tried to run some…
-
4
votes3
answers1481
viewsQ: How to create a mini database written in php using a text file in json format
I was in need of a personal mini database written in PHP to store some internal data of my site, where I would create new properties, change them and delete later if necessary. In the example below…
-
0
votes2
answers4946
viewsQ: How to create a Keystore at windows prompt?
I want to sign the apk of my app that has been ready for 1 month, but I can not in any way create this 'Keystore'. I tried online, in Android Studio(zzz) and I’m trying the command prompt for 2…
-
0
votes0
answers86
viewsQ: Parse.com: Filter lines that have a term in a column
I want the API of Parse.com return only the lines that have a certain word, simulating a query in the table. Table example: The comfort I tried curl -X GET \ -H "X-Parse-Application-Id:…
-
0
votes0
answers99
viewsQ: How to filter data from a Parse.com table
I want to filter certain lines from a table on Parse to be shown on a blog, and do not know how it would be to do a search on posts or to filter posts that are not ready to be displayed. Example:…
-
2
votes2
answers468
viewsQ: Remove all tags inside a contenteditable
I want to prevent text formatting from on a website and for that I need to remove all tags (except <br>) that they had inside a text box, in case someone thinks of pasting some content from…
-
0
votes1
answer29
viewsQ: Access the same page in multiple "pathname"
I’m creating pages for a site that would show a particular person’s profile using a path in the url (pathname) Example: demo.com/page/Iagobruno demo.com/page/Rodriggodell All these domains would…
phpasked Iago Bruno 1,693 -
1
votes1
answer659
viewsQ: Request ajax in a Google Chrome app
I was developing an application in Chrome and needed to use the Instagram api to display some photos but when I went to do the tests the following error appeared: What I found strange because the…
-
1
votes1
answer534
viewsQ: Check word variation in a sentence with Regexp
I have a code that checks phrases that the user types and was tried more without much success, make a code using Regexp check that the user typed a particular phrase without or with word variations.…
-
8
votes2
answers748
viewsQ: How to detect when the person starts speaking using Speechrecognition() in Javascript
I’m using the function Speechrecognition (native of each browser) to be able to do voice searches on a website and I noticed that Google can identify when the person starts talking (both in "Ok…
-
2
votes1
answer163
viewsQ: Javascript compression techniques and tips
Recently I found for case another way to use the true and the false replacing them with !0 and !1. I kept thinking about other ways to compress the codes or make them more "secret" but I found…
javascriptasked Iago Bruno 1,693 -
5
votes3
answers1664
viewsQ: How to create a plugin for jQuery’s $() function
I noticed that you can create plugins in various jQuery functions like AJAX, CSS (using the cssHooks), animate, create new functions, among others. But I wondered if it is possible to create a…
-
11
votes1
answer25900
viewsQ: Is it possible to create Android apps using HTML5?
I really wanted to start developing applications for Android phones, but I have almost no knowledge about the operating system SDK, I have more knowledge about HTML, Javascript, CSS. I have in mind…
-
3
votes2
answers1455
viewsQ: How to find special characters that are inside other characters using javascript
I have a string value in json format '{"text": "Look "I" here"}' and I want to change this quote "I" because it will give error in the code. I was thinking of using JSON.parse and loop the items,…
-
1
votes1
answer2366
viewsQ: How to create an app on Facebook to share social network posts
I want to put a share option in an application of mine and I noticed that Addthis has an app on Facebook for this type of action but in the post there on the profile of the person is the icon with a…
-
3
votes1
answer157
viewsQ: How to send messages to open tabs of an app on Chrome
I’m fixing the sync part between the open tabs of my app and remembered that Google Chrome has an API that if I’m not mistaken does exactly what I need, send messages internally in an app. I took a…
-
1
votes2
answers63
viewsQ: How to upload external images to a Chrome app?
My application uses the Imgur api to host images, but at the time it will load the photos, the following error appears: I’ve tried using the content_security_policy in the archive manifest but this…
google-chromeasked Iago Bruno 1,693 -
-1
votes1
answer16998
viewsQ: How to download the site mega.co.nz and how to do in javascript
I thought it was cool the way the site https://mega.co.nz download the files. What code to execute-Ló? Could be examples that only work in Chrome.…
javascriptasked Iago Bruno 1,693 -
18
votes3
answers39348
viewsQ: Function to add more hours or days to a date
I don’t know much about function new Date() and wanted a way to add days/hours on a date. Example: I have: var Time = "14/03/2014 23:54"; and I want to add 2 hours to Team, then he adds the 2 hours…
javascriptasked Iago Bruno 1,693 -
4
votes2
answers4861
viewsQ: How to order a JSON in descending order?
I have a JSON value that I want to order it in descending order (I think in the example will give to understand). Example: var json = { 'um': { 'cont': '5' }, 'dois': { 'cont': '10' } ... }; So in…
-
2
votes1
answer522
viewsQ: How to trigger a function after a given date and time
I’m trying to make a script that triggers a certain function after a date and time has passed. I have tried every way but can not, always give some error or bug. My last test I did so: var time =…
javascriptasked Iago Bruno 1,693 -
6
votes1
answer1270
viewsQ: Is it safe to use ajax requests over and over again?
I want to create a 'mini server' to use on my site (tumblr), for real communication with my visitors and one way to do this is by using ajax requests. When the site loads, it requests a JSON file,…
-
16
votes4
answers3235
viewsQ: Is there a Website/API to host photos on the web?
I wonder if there is any API that makes it possible to host photos on the web. Example: cloud.push(arquivo, callback, fail); I will use this API for the purpose of enabling users to host images for…
-
1
votes1
answer645
viewsQ: How to play sound in a Chrome app?
I have an application for Google Chrome and I want it to emit a sound every time a notification is created, but in my tests I was not very successful =p I don’t know if it’s some permission or if…
-
5
votes2
answers2746
viewsQ: How to make the jQuery toggle function in pure javascript?
I found out a little while ago and found very interesting toggle function using functions: $('body').toggle( function(){ alert('A') }, function(){ alert('B') } ); (In the example I put only 2…
-
19
votes2
answers1202
viewsQ: What is the name of this 'effect' of selecting objects and how to do it in pure JS?
I wanted to know what is the name of this 'effect' ('-') that serves to select folders and files in Windows Explorer. And if possible wanted to know how to do this with pure Javascript.…
javascriptasked Iago Bruno 1,693 -
1
votes2
answers268
viewsQ: How to create "html canvas"? (I think it’s new in html)
I was looking at some websites and noticed a site that set up this example here: http://html5-demos.appspot.com/hangouts. At first I didn’t call but then when I saw the html of this page I saw that…
-
2
votes3
answers1421
viewsQ: How to call a function in javascript through a text box?
I wanted to know how to call a function through a text box. example: <input type="text" value="load()"/> But it’s not exactly the load function, I wish the typist could call any function even.…
javascriptasked Iago Bruno 1,693 -
13
votes1
answer2014
viewsQ: What is the difference between apply, call and bind methods when calling a function in Javascript?
Sometimes I use these methods but I don’t know what the difference is between them (and I want to know exactly what it’s for). function load( arg ) { console.log( this, arguments ); }…
javascriptasked Iago Bruno 1,693 -
18
votes4
answers7395
viewsQ: What’s different from jQuery’s find and filter?
I remembered that there is a function in jQuery called filter. I already know the find, but I want to know if there’s any difference between them or if they’re the same thing.…
-
3
votes2
answers140
viewsQ: How to create plugins in Sizzle?
I’m looking for some way to create plugins on Sizzle JS. I searched a lot and did not find a good tutorial and not someone to explain me.
javascriptasked Iago Bruno 1,693 -
0
votes9
answers9696
viewsA: Is it right to use the <i> tag for icons and not italics?
The same is right to use for italic text, but I usually use to create icons on my websites. Some tags I call universal tags, like span, Section and mainly the div tag, I use these tags for anything…