Tag Info

Hot answers tagged

28

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 ...


25

Was it jsFiddle?


11

You shouldn't - allowing JavaScript to run in a e-mail client would be a huge security risk. I originally said "you can't" but it's been pointed out that some clients will execute the Javascript. So, hopefully Gmail and Yahoomail don't allow scripting for this very reason. On a personal note, I think HTML in e-mails should be avoided to. What's wrong with ...


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.


7

Just add .js to the end of the URL like this: https://gist.github.com/1522901/0f74d53b18060f6292db9dc4d6c1922f72aa2aaf.js


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.


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 ...


4

You cannot add JavaScript directly to your Google Sites page. You can, however add a Google Gadget that has JavaScript in it. You can try the Google Gadget Builder. You may not get the result that you want, however, since your JavaScript is not valid. For example, your statements with (x)html elements will cause the JS engine to error. var <strong ...


4

According to the official support documents, no. http://en.support.wordpress.com/code/ Javascript Users are not allowed to post JavaScript on WordPress.com blogs. JavaScript can be used for malicious purposes. As an example, JavaScript has taken down sites such as MySpace.com and LiveJournal offline in the past. The security of all the blogs is a ...


4

It may sound stupid but removing the content in both windows left and right and saving it as an template creates a blank state. If you want to have the original template back here's the data: JS if (document.getElementById('hello')) { document.getElementById('hello').innerHTML = 'Hello World - this was inserted using JavaScript'; } HTML <!DOCTYPE ...


4

You can do this using Google Apps Script, which is a new JavaScript-based scripting language developed for Google Apps. According to this description from Google, you can create custom spreadsheet functions. Google Apps Script is a JavaScript cloud scripting language that provides easy ways to automate tasks across Google products and third party ...


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

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

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

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

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 ...


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

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

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

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

When you post via the API the postId will be returned. So you just append /post/{postId} to the blog's URL to get the permalink. This URL will not include the slug but the slug is just for easier reading. If you added a custom slug then just append it to to the URL. To get the blog's URL do an API call to api/authenticate and it will return the URL for all ...


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");} ...


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

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 ...



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