Hot answers tagged

29

Yes, exactly JavaScript. I just met such a worm and tried to decode it. What the actual problem is: The recent Facebook worm works by getting users to visit a page, which makes them insert a JavaScript string into their address bar and therefore executing it. So, DON'T EVER copy some JavaScript code into your address bar. That's the main problem. And don'...


25

Was it jsFiddle?


8

Another option besides jsFiddle is jsbin.com. You can even save your experiments under a public URL, so that others can view and edit your creation.


5

In short... it's a virus... like any other. The method it uses to replicate itself is to make posts on your account after being executed from someone else's page. Depending on the browser and/or operating system you're using, and vulnerabilities that it has, anything is possible. Basically, once the script is running within your browser (which can start ...


5

Why? The .NET version users have on their machines makes is immaterial. In fact whether they have .NET on their machine or not is immaterial. Any .NET code in your site is run server side not client side.


4

JavaScript is not allowed on wordpress.com blogs due to security reasons. This means that the following will not work (among others): <script> tags; javascript: links; and events such as onclick. In fact, that's the reason I switched from wordpress.com to blogger.com. Your only Wordpress option is to either host it yourself, or find some hosting ...


4

Questions about LibraryThing in general, feature requests and bug reports. Tim. Founder and Developer. (timspalding; tim{at}librarything.com) Chris H. Developer. (conceptDawg; christopher{at}librarything.com) Mike. Developer. (miketopper; mike{at}librarything.com) From their contact page.


4

Click on View all (in your case) or ...more Click on 1-50 of XXX Click on Oldest In some cases it doesn't work and I don't know why. Also, it doesn't work in Priority Inbox view, you have to go to each category - Important, Starred, Everything else - to be able to sort by Newest/Oldest.


4

For Flash, there are these two sites, both related: http://wonderfl.net/ http://beautifl.net/ More canvas-related is Aza Raskin's http://azarask.in/projects/algorithm-ink More JS-related: http://jsdo.it/


4

Firebug or Chrome Developer Tools is probably your best bet. Chrome Developer Tools has a "pretty print" feature that allows you to deobfuscate JavaScript code, making it easier to read. You can get the same feature in Firebug by installing the JavaScript Deminifier extension, or you can just use JSBeautifier if you want to deobfuscate an individual ...


4

You seem to be able to do this in jsFiddle by first getting the "Share full screen result" URL (from the Share menu) and then view the source of the full screen result to get the URL of the iframe used to display the result. For example, the "full screen result" URL, which still shows a minimal toolbar at the top: http://jsfiddle.net/w3dx/sspTY/embedded/...


3

Coercion in js is amazing and in this case you could simply use like this sheet.getRange("B2").setValue(A + "") Simply plus the empty string to your value. And for something in the similar but reverse way you can use +myString Just using an unary + operator this will coerce the string to a number. Find more about js coercion with a super sensei ...


3

I'm the sysadmin for LibraryThing and we had a problem with one of our rules in our SSL vhost. Hopefully this should be fixed for you now. I'm very sorry this caused so much trouble.


3

PollDaddy does this. Once you sign-up and create a poll you'll be given embed codes for different sites. If your blog is hosted on Wordpress.com, choose the Wordpress option, otherwise use the javascript embed snippet.


3

If you're using Firefox, install FireBug, and then FireQuery. Then on any webpage, open FireBug (bottom right), and enable the console (should be a little down arrow by "Console"). From here you'll see a button "jQuerify". Clicking it will inject jQuery into the current page. You can type whatever jQuery-dependant JavaScript you want into the command-line.


3

Yes, it is possible to tag a Facebook group in a post. Below are instructions: Step 1 Log into your Facebook account and then navigate to the item you'd like to update with a tag. Click on the "Comment" hyperlink beneath a status or image posting to tag a Facebook user in the post's comments sections. To tag a group to your status, click inside of your ...


2

I use Addpoll to create online surveys, forms and polls. Offers me great account with detailed reports, unique design, exporting, easy sharing and more. There is an option that you can enable, so the user sees results, either by percentage or as vote count. Scroll to the end of the Create Poll help page to see an example. I don't know if this is available ...


2

CubeTimer is light and stupidly simple to use.


2

As it has been already pointed out a couple of times Gmail uses a whole bunch of iframes for its interface. You can use Firebug to view the source code of Gmail, however Gmail is known to crash your browser and slow it to a crawl when inspecting the page with Firebug. Although not only does Gmail use iframes, but it uses quite a lot of obfuscated (well, ...


2

The browsers themselves will have "standard" or reasonably standard keyboard shortcuts (backspace for navigate backwards for example), but I wouldn't expect the actual applications to have keyboard shortcuts - standard or otherwise. Why? Because the browser gets to handle the input first, so application developers will need to pick shortcuts that don't ...


2

Is this what you are looking for? http://www.shiguenori.com/material/seekAttention/


2

You are correct you do this using JavaScript. Create a new bookmark and instead of putting the web address in you would use this: javascript:function LoadPlayer() { return window.open("http://www.bbc.co.uk/iplayer/console/bbc_6music","BBC 6 Music","scrollbars=no,menubar=no,height=721,width=400,resizable=yes,toolbar=no,location=no,status=no");} LoadPlayer();...


2

Nowadays you cannot. Here is a workaround: http://www.google.com/support/forum/p/apps-script/thread?tid=21b61c4c5bf9e27c&hl=en


2

Internet Explorer reports the version of .NET installed in its user agent string. If Google Analytics shows you the user agent strings for the browsers used to connect to your server, you should be able to verify the version of .NET. Some browsers allow users to change the user agent string used when connecting to web sites; you could think a user has ...


2

I wouldn't call Tumblr a web framework. It's a social blogging platform that allows customization through an templating engine. You can not insert any JavaScript. They allow you to call certain approved js files like Twitter’s widget.js but that's about it. Basically you have control of how your content is displayed via HTML and some custom CSS along pre ...


2

Note: This answer was only valid for the old Google Spreadsheets. Currently, non-deterministic functions like NOW() is not allowed as arguments of custom functions. Trying do to so results in the error message "This function is not allowed to reference a cell with NOW(), RAND(), or RANDBETWEEN()". Functions in Google Apps Script are supposed to be ...


2

Generating random number Add-on may help to generate random numbers in google spreed sheet For detailed information click here


2

Short answer Instead of using a custom function use a built-in function when possible or use a function triggered by an event. Explanation As the OP mentioned, Google Sheets has a built-in function to return a random numbers between 0 and 1: RAND. In cases where it's required to do some complex calculations that are not possible or efficient with built-...


2

There is a way to intersect two arrays without a script: see How to get the intersection of two sets One issue with your code is that all ranges of more than one cells are represented as double arrays for the scripts. E.g., a row 1 2 3 is [[1,2,3]] while a column of the same elements is [[1],[2],[3]]. (On the other hand, a single-cell range is just a value....



Only top voted, non community-wiki answers of a minimum length are eligible