You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
artoo.on('ready', function() {
var tablink = "";
$('#get-data').click(function () {
chrome.tabs.getSelected(null,function(tab) {
tablink = tab.url;
});
var showData = $('#show-data');
var nameList = artoo.scrape('.profile-overview-content h1', {
name : 'text'
});
});
This is in the popup.js which is equivalent to "content.js". I am assuming that artoo.scrape should work here because it works in the context of "artoo.on()". Is my assumption right? Below is the tree structure of my plugin directory:
I am getting this error in popup.js at here:
artoo.on('ready', function() {
var tablink = "";
$('#get-data').click(function () {..}
});
I am using this in the chrome extension popup.js. Here is the manifest.json http://pastebin.com/B7w4M64g
Can you help me resolve this?
The text was updated successfully, but these errors were encountered: