generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: Javascript not working

Previous Thread :: Next Thread 
025110 is not online. 025110
Joined: 23 Nov 2012
Total Posts: 57661
06 Feb 2015 04:58 PM
chrome.browserAction.onClicked.addListener(function(tab){
var id = prompt("Enter");
alert("Starting from " + id + ".");
var notification = new Notification("Hi there!");
});


R$6,640
Report Abuse
Darkmist101 is not online. Darkmist101
Joined: 30 Jul 2010
Total Posts: 6208
06 Feb 2015 05:02 PM
For one its RBX.lua only (go on another online forum or google it), second you are vague.
Report Abuse
025110 is not online. 025110
Joined: 23 Nov 2012
Total Posts: 57661
06 Feb 2015 05:03 PM
For one it's not for only rbx.lua

"This is the place for discussion about scripting. Anything about scripting that is not a help request or topic belongs here."

R$6,640
Report Abuse
Darkmist101 is not online. Darkmist101
Joined: 30 Jul 2010
Total Posts: 6208
06 Feb 2015 05:08 PM
Well if you want to counteract me re-read and tell me that's not a help request. Unless of course, you are just posting it for fun.

Then you may say "Well, everyone else is asking for help", but not about Javascript.
Report Abuse
Dr01d3k4 is not online. Dr01d3k4
Joined: 11 Oct 2007
Total Posts: 17916
06 Feb 2015 05:11 PM
Read this http://stackoverflow.com/help/how-to-ask
Report Abuse
Rustage is not online. Rustage
Joined: 02 Feb 2015
Total Posts: 947
06 Feb 2015 05:48 PM
This thread makes me cringe.
I hope it's a troll and that no programmer is as dumb as OP.
Report Abuse
k9rosie is not online. k9rosie
Joined: 05 Jul 2008
Total Posts: 14339
06 Feb 2015 06:21 PM
I replied to your other thread but I might as well reply to this one as well, considering that this one is newer.

use this for your manifest. change "click.js" to whatever the name of the javascript file is

{
"name": "extension",
"version": "0.5",
"description": "chrome extension",
"manifest_version": 2,
"permissions": ["notifications"],
"background": {
"scripts": ["click.js"],
"persistent": false
},
"browser_action": {
"default_icon": "icon.png"
}
}
Report Abuse
025110 is not online. 025110
Joined: 23 Nov 2012
Total Posts: 57661
06 Feb 2015 07:09 PM
@rust if working javascript makes you cringe that's kind of weird...

@k9 thanks
I forgot to add the click.js to manifest


R$6,718
Report Abuse
ForeverDev is not online. ForeverDev
Joined: 04 Oct 2008
Total Posts: 13300
06 Feb 2015 07:10 PM
use jquery nerd
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image