Comment by Chamilyan on Can't run javascript included in html file
remove everything but the footer and see if it renders what you need. The error could have been above and it never got executed.
View ArticleComment by Chamilyan on Bootstrap Input Slider - very basic setup
just think of it like one long script starting at the top. If your trying to load slider without it being initialized then that's a problem.
View ArticleComment by Chamilyan on Extract hostname name from string
fails at some pretty simple parsing. Try getUrlParts('www.google.com') in a console on this page.
View ArticleComment by Chamilyan on Extract hostname name from string
nice because it handles a case where www is irrelevant
View ArticleComment by Chamilyan on Chrome Extension content_script on Twitter pages...
I'm having a similar issue with Twitter navigation and content scripts. Test the matches by adding a simple console message to the top of the content script and nothing else and see if it fires during...
View ArticleComment by Chamilyan on Combine browserify and WebWorker
@MattWilde that sounds like a question outside the scope of whats being asked. Ask about that in a separate question.
View ArticleComment by Chamilyan on Twitter Card API - Open twitter dialog via javascript...
this is Facebook code
View ArticleComment by Chamilyan on Can't Read Twitter Json
Welcome to this is your (developer) life 2018, haha. Memories. Whoever, thanks for the downvote on the main question, I would have completely forgotten about this!
View ArticleComment by Chamilyan on How to have favicon / icon set when bookmarklet...
It works fine in Windows, Firefox and Chrome. Good solution! Although it's a workaround that isn't directly answering the question it gets 90% there.
View ArticleComment by Chamilyan on Lightweight Javascript DB for use in Node.js
I think your looking for the newer PersistenceJS
View ArticleComment by Chamilyan on endpoint location not updating in jsPlumb resize
ui.helper is likely coming from jQuery UI Draggable api.jqueryui.com/draggable
View ArticleComment by Chamilyan on Extract hostname name from string
same as answer given by @Pavlo stackoverflow.com/a/35222901/339768 and also stackoverflow.com/questions/8498592/…
View ArticleComment by Chamilyan on Is there a way to make chrome extensions run...
Does this answer your question? Chrome extension: load different content scripts
View ArticleComment by Chamilyan on html2Canvas vs dom-to-image
@Mike'Pomax'Kamermans I see what your saying but I want to add that in this case it is an appropriate question for SO. HTML2IMAGE and HTML2CANVAS have different implementation patterns and by faster it...
View Articlemailto: links unsupported in Android?
I dont have a real Android device so I'm using emulators for all my development for now, are mailto: web links really unsupported on Android devices 2.1 and below? 2.2 works, but every time I click a...
View ArticleAnswer by Chamilyan for MEAN.js - How to redirect after Push function
Try injecting $window and run a lower level location api with $window.location.href = 'path';also it may matter that you want to keep your data in sync so try...
View ArticleAnswer by Chamilyan for How to get Twitter suspended user details
The call you want is GET users/lookupFrom the Twitter API docs:GET users / show is used to retrieve a single user object.If a requested user is unknown, suspended, or deleted, then that user will not...
View ArticleAnswer by Chamilyan for Angular data parsing string for multiple numbers
Angular by itself cannot handle SQL statements on it's own. Angular doesn't understand the where clause. You may have better luck integrating a library that understands this kind of sql like syntax....
View ArticleVariable case list in switch statement
I have a somewhat complicated need for a switch statement with a variable case list. It would look like this in pseudo-code..switch(check){case 1:case 2:..case etc: do somethingbreak; }in theory the...
View ArticleGo back to previous page after a delay
I want to go to the previous page after a 2 second delay using jQuery. I thought maybe I could do it this way but I think 'm using this in the wrong context. Code doesn't do anything...
View Article