Address
:
[go:
up one dir
,
main page
]
Include Form
Remove Scripts
Session Cookies
Open navigation menu
Close suggestions
Search
Search
en
Change Language
Upload
Sign in
Sign in
Download free for days
0 ratings
0% found this document useful (0 votes)
22 views
2 pages
ParseGoogle Main Interface
Uploaded by
Nam Nguyen
AI-enhanced title
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content,
claim it here
.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
Download
Save
Save ParseGoogle.main.interface For Later
Share
0%
0% found this document useful, undefined
0%
, undefined
Print
Embed
Report
0 ratings
0% found this document useful (0 votes)
22 views
2 pages
ParseGoogle Main Interface
Uploaded by
Nam Nguyen
AI-enhanced title
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content,
claim it here
.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
Go to previous items
Go to next items
Download
Save
Save ParseGoogle.main.interface For Later
Share
0%
0% found this document useful, undefined
0%
, undefined
Print
Embed
Report
Download
Save ParseGoogle.main.interface For Later
You are on page 1
/ 2
Search
Fullscreen
{"javascript":"\n$(document).
ready(function() {\n \n\n var app = new Vue({\n
el: '#Main',\n data: {\n Log: [],\n Proxy: \"\",\n
ProxyResult: \"\",\n ProxyResultIsSuccess: true,\n
ProxyResultIsLoading: false,\n IsRunning: false,\n Thread:
null,\n Error: \"\",\n Query: \"\"\n },\n
computed:\n {\n LogPrepared: function(){\n var Res
= []\n for(var i = 0;i<this.Log.length/2;i++)\n {\n
var ListItem = {name: this.Log[i*2+1], link:this.Log[i*2]}\n
Res.push(ListItem)\n }\n return Res;\n }\n
},\n methods:\n {\n SaveResults: async function()\n
{\n var Data = this.Log.join(\"\\r\\n\")\n
Api.SaveFileDialog({caption: \"Where to save query result?\",filter: \"Text files
(*.txt)\"}).then(function(SelectedFile){\n if(SelectedFile)\n
{\n WriteFile(SelectedFile, Data)\n }\n
})\n },\n CheckProxy: async function()\n {\n
this.ProxyResult = \"\"\n this.ProxyResultIsSuccess = true\n
this.ProxyResultIsLoading = true\n \n\n var Thread =
new BASThread()\n\n try\n {\n
await Thread.RunFunction(\"SetProxy\", {\"ProxyLine\": this.Proxy})\n
var Result = await Thread.RunFunction(\"CheckIp\", {})\n
this.ProxyResult = Result\n this.ProxyResultIsSuccess = true\n
}catch(e)\n {\n this.ProxyResult = `Failed to
load page with proxy ${this.Proxy}`\n this.ProxyResultIsSuccess
= false\n }\n\n this.ProxyResultIsLoading = false\n\n
var self = this\n\n setTimeout(function(){\n
self.ProxyResult = \"\"\n self.ProxyResultIsSuccess = true\n
},5000)\n\n Thread.StopThread()\n },\n Search:
async function()\n {\n if(this.IsRunning)\n
{\n return;\n }\n \n\n
var self = this\n \n this.Log = []\n
this.Error = \"\"\n this.IsRunning = true;\n\n
if(this.Query.length == 0)\n {\n this.Log = []\n
this.Error = \"Query is empty\"\n this.IsRunning = false;\n
setTimeout(function(){\n self.Error = \"\"\n
},5000)\n return;\n }\n\n
this.Thread = new BASThread()\n try\n {\n
await this.Thread.RunFunction(\"SetProxy\", {\"ProxyLine\": this.Proxy})\n
var Log = await this.Thread.RunFunction(\"Query\", {\"Text\": this.Query})\n
if(Log)\n this.Log = Log;\n else\n
{\n throw \"Empty data\"\n }\n
}catch(e)\n {\n this.Error = e\n
setTimeout(function(){\n self.Error = \"\"\n
},5000)\n }\n this.Thread.StopThread()\n
this.IsRunning = false;\n\n },\n Stop: async function()\n
{\n if(!this.IsRunning)\n {\n
return;\n }\n\n this.Log = []\n
this.Error = \"\"\n \n this.Thread.StopThread()\n
this.IsRunning = false;\n }\n }\n })\n\n /////Api event
handler\n Api.SetEventHandler(function(EventType, EventData){\n \
n /////Script started\n if(EventType == \"start\")\n {\n }\n\n
/////Script stopped\n if(EventType == \"stop\")\n {\n }\n\
n /////More events:
https://wiki.bablosoft.com/web-interface/#/managingscriptlifetime\n \n })\
n\n /////Automatically start script
https://wiki.bablosoft.com/web-interface/#/managingscriptlifetime?id=method-
acceptresources\n Api.AcceptResources(true)\n\n\n /////After everything is
initialized may show body\n $(\"body\").fadeIn()\n\n /////Events\n\n});\n\
n/////Resource values are obtained through this function when hitting run button,
you can change it.\n/////For example, you can edit value entered by user, make
custom validation, or replace resource system compleatelly\n/////More info:
https://wiki.bablosoft.com/web-interface/#/managingscriptlifetime?id=method-
acceptresources\nfunction GetResourceValue(ResourceName)\n{\n return \"\"\n}\n\
n\n//Interface editor has no connection to BAS and therefore can't execute BAS
functions. \n//If you try to call function from interface editor, \n//you will get
a random string as result in a several seconds. \n//This behavior is not acceptable
in several cases: if your function return a list, \n//not a string, or string in
specific format, if you want to test error handling, etc. \n//In order to
circumvent this limitation. you need to define \"EmulateFunctionRun\" \n//function
inside web interface.\n//More info:
https://wiki.bablosoft.com/web-interface/#/callbasfunction?id=debugging-bas-
function-call\n\nfunction EmulateFunctionRun(FunctionName, FunctionParameters,
Resolve, Reject)\n{\n \n //Generate random data\n var RandomTime =
Math.floor(Math.random() * (1000 - 500) ) + 500\n var RandomResult =
Math.floor(Math.random() * (1000))\n\n //Return result in RandomTime
milliseconds\n setTimeout(function(){\n //Generate result string\n
if(FunctionName == \"Query\")\n {\n Resolve([\
n \"Test result link1\",\"Test result name1\",\
n \"Test result link2\",\"Test result name2\",\
n \"Test result link3\",\"Test result name3\",\n ])\n
\n }else\n {\n Resolve(\"Test result \" + RandomResult)\n
}\n },RandomTime)\n\n}","cssFiles":["https://cdn.jsdelivr.net/npm/semantic-
ui@2.4.2/dist/semantic.min.css"],"jsFiles":["https://bablosoft.com/buildinterface/
jquery/jquery.min.js?v=3","https://bablosoft.com/buildinterface/bas-api/bas-api.js?
v=3","https://cdn.jsdelivr.net/npm/semantic-ui@2.4.2/dist/
semantic.min.js","https://cdn.jsdelivr.net/npm/vue"],"css":"#Main\r\n{\r\n
padding:10px;\r\n}\r\n\r\n.text-red\r\n{\r\n color:#D95C5C\r\n}\r\n\r\n.text-
green\r\n{\r\n color:#5BBD72 !important;\r\n}\r\n\r\n.notice\r\n{\r\n font-
size:small;\r\n color:gray;\r\n \r\n}","html":"\n\n\n<div class=\"ui fluid
container\" id=\"Main\">\n <h3 class=\"ui header\"><i>ParseGoogle</i></h3> \n
\n <div style=\"margin-bottom:30px;\">\n <i class=\"info circle icon\"
style=\"color:E07B53\"></i> <span class=\"notice\">ParseGoogle - helps to make
google query and saves results to file. Project is written entirely on <a
href=\"#\"
@click=\"OpenUrl('https://bablosoft.com/shop/BrowserAutomationStudio')\">BrowserAut
omationStudio</a>.</span>\n </div>\n <form class=\"ui form\">\n <div
class=\"field\">\n <label>Proxy: </label>\n <input
type=\"text\" placeholder=\"Proxy\" v-model=\"Proxy\" >\n \n
</div>\n <div class=\"field\">\n <input type=\"button\"
class=\"ui button\" value=\"Check proxy\" @click=\"CheckProxy\"/>\n <div
v-if=\"ProxyResultIsLoading\" class=\"ui active inline loader\"></div>\n
<span v-bind:class=\"{ 'text-green': ProxyResultIsSuccess, 'text-red': !
ProxyResultIsSuccess }\">{{ProxyResult}}</span>\n </div>\n <div
class=\"field\">\n <label>Google search query: </label>\n
<input type=\"text\" placeholder=\"Query\" v-model=\"Query\" >\n </div>\n
\n </form>\n \n \n \n <button class=\"ui primary button\" v-
if=\"!IsRunning\" @click=\"Search\">Search</button>\n <button class=\"ui
button\" v-if=\"IsRunning\" @click=\"Stop\">Stop</button>\n <button class=\"ui
button\" v-if=\"Log.length > 0\" @click=\"SaveResults\">\n <i
class=\"download icon\"></i>\n Save results\n </button>\n \n\n <div
class=\"text-red\" style=\"margin-bottom:10px;margin-top:10px\">{{Error}}</div>\n\n
<div class=\"ui relaxed divided list\">\n <template v-for=\"item in
LogPrepared\">\n <div class=\"item\">\n <i class=\"large
google middle aligned icon\"></i>\n <div class=\"content\">\n
<a class=\"header\" @click=\"OpenUrl(item.link)\">{{item.link}}</a>\n
<div class=\"description\">{{item.name}}</div>\n </div>\n
</div>\n </template>\n </div>\n \n \n</div>\n "}
You might also like
Htmlviewer
PDF
No ratings yet
Htmlviewer
97 pages
WT Program 10
PDF
No ratings yet
WT Program 10
3 pages
Promise & Async Await
PDF
No ratings yet
Promise & Async Await
27 pages
Lab - Assignment - 3 (Desktop)
PDF
No ratings yet
Lab - Assignment - 3 (Desktop)
13 pages
1 5imllabprog - Ipynb
PDF
No ratings yet
1 5imllabprog - Ipynb
40 pages
Trush
PDF
No ratings yet
Trush
998 pages
To Submit Java Script
PDF
No ratings yet
To Submit Java Script
21 pages
WB 10 PGM
PDF
No ratings yet
WB 10 PGM
5 pages
Jqueryintellisense
PDF
No ratings yet
Jqueryintellisense
59 pages
Return HIt
PDF
No ratings yet
Return HIt
14 pages
Freebitco - in V 4.5.2
PDF
No ratings yet
Freebitco - in V 4.5.2
10 pages
Claude Json
PDF
No ratings yet
Claude Json
5 pages
CROKO
PDF
No ratings yet
CROKO
9 pages
Prototype Ajax and DOM Guide
PDF
100% (1)
Prototype Ajax and DOM Guide
47 pages
Why Frameworks Matter - RWieruch
PDF
No ratings yet
Why Frameworks Matter - RWieruch
31 pages
Program Cs
PDF
No ratings yet
Program Cs
3 pages
DL Librescore - User
PDF
No ratings yet
DL Librescore - User
568 pages
Proxy Rental API: IP Switching Guide
PDF
No ratings yet
Proxy Rental API: IP Switching Guide
49 pages
Bringing Digital Electronics More Closer To Daily Life: Arduino Based Security System
PDF
No ratings yet
Bringing Digital Electronics More Closer To Daily Life: Arduino Based Security System
11 pages
Message
PDF
No ratings yet
Message
152 pages
Archive Browser
PDF
No ratings yet
Archive Browser
88 pages
Metamask Sniffed
PDF
No ratings yet
Metamask Sniffed
5 pages
Ai Studio Enhanced
PDF
No ratings yet
Ai Studio Enhanced
5 pages
Stop Burning Clients!!!: Alert ( Start!!!')
PDF
No ratings yet
Stop Burning Clients!!!: Alert ( Start!!!')
15 pages
Unit4 (API)
PDF
No ratings yet
Unit4 (API)
26 pages
AJAX
PDF
No ratings yet
AJAX
4 pages
Gayeueyeuehehehd
PDF
No ratings yet
Gayeueyeuehehehd
28 pages
Explore The Features of ES6 Like Arrow Functions, Callbacks, Promises, Asyncawait. Implement It
PDF
No ratings yet
Explore The Features of ES6 Like Arrow Functions, Callbacks, Promises, Asyncawait. Implement It
16 pages
Software Dev Project
PDF
No ratings yet
Software Dev Project
10 pages
Asdf
PDF
No ratings yet
Asdf
10 pages
Good Practices JavaScript
PDF
100% (1)
Good Practices JavaScript
112 pages
SAP UI5 Mock Server Initialization
PDF
100% (1)
SAP UI5 Mock Server Initialization
3 pages
Aos Js
PDF
No ratings yet
Aos Js
13 pages
Bls Decrypted
PDF
100% (2)
Bls Decrypted
264 pages
Unity Ads Web App
PDF
No ratings yet
Unity Ads Web App
555 pages
Bls Decrypted
PDF
No ratings yet
Bls Decrypted
264 pages
Best Code Practices & Tips and Tricks
PDF
No ratings yet
Best Code Practices & Tips and Tricks
23 pages
Interview Questions
PDF
No ratings yet
Interview Questions
20 pages
JavaScript Module and URL Parsing
PDF
No ratings yet
JavaScript Module and URL Parsing
606 pages
Web Api Lec 18
PDF
No ratings yet
Web Api Lec 18
9 pages
Util Hammer
PDF
No ratings yet
Util Hammer
47 pages
Js 2
PDF
No ratings yet
Js 2
23 pages
Video Publishing & Sorting Guide
PDF
No ratings yet
Video Publishing & Sorting Guide
11 pages
CSCE 120: Learning To Code: Processing Data II Hacktivity 10.2
PDF
No ratings yet
CSCE 120: Learning To Code: Processing Data II Hacktivity 10.2
5 pages
jQuery Core and Deferred Object Guide
PDF
No ratings yet
jQuery Core and Deferred Object Guide
14 pages
Angular App
PDF
No ratings yet
Angular App
3 pages
Async Js Challenges
PDF
No ratings yet
Async Js Challenges
3 pages
Unit4 (API) - Tagged
PDF
No ratings yet
Unit4 (API) - Tagged
40 pages
Pasted Text 1742413947531
PDF
No ratings yet
Pasted Text 1742413947531
895 pages
Menu-Function 250414 112109
PDF
No ratings yet
Menu-Function 250414 112109
6 pages
Log
PDF
No ratings yet
Log
6 pages
Name MicrosoftAjax - Debug.js
PDF
No ratings yet
Name MicrosoftAjax - Debug.js
155 pages
2 Async Exercises TypeScript
PDF
No ratings yet
2 Async Exercises TypeScript
2 pages
F3 Mock Interview
PDF
No ratings yet
F3 Mock Interview
15 pages
Pwa 3
PDF
No ratings yet
Pwa 3
20 pages
Blocks Instructions
PDF
No ratings yet
Blocks Instructions
2 pages
Hsuwbsbsus
PDF
No ratings yet
Hsuwbsbsus
2 pages
JS
PDF
No ratings yet
JS
5 pages
Hands On Exercise No. 2 Digiskills - PK Batch-01 Freelancing Total Marks: 10 Due Date: 17/03/2022
PDF
No ratings yet
Hands On Exercise No. 2 Digiskills - PK Batch-01 Freelancing Total Marks: 10 Due Date: 17/03/2022
3 pages
Recover Hidden Files from Virus
PDF
No ratings yet
Recover Hidden Files from Virus
7 pages
3-2 R19 Supple2023
PDF
No ratings yet
3-2 R19 Supple2023
4 pages
Cybercrime Law Literature Review
PDF
100% (2)
Cybercrime Law Literature Review
5 pages
BSC Master Class For PLN Sesi 5
PDF
100% (1)
BSC Master Class For PLN Sesi 5
47 pages
Enclosure NIM 2xxx PDF
PDF
No ratings yet
Enclosure NIM 2xxx PDF
11 pages
Gravitee - API First Ebook
PDF
100% (1)
Gravitee - API First Ebook
15 pages
AXIAR TECHNICAL NOTES (49B) - Windows 2012-Windows 8 Installation
PDF
No ratings yet
AXIAR TECHNICAL NOTES (49B) - Windows 2012-Windows 8 Installation
14 pages
Code of Conduct For Students
PDF
No ratings yet
Code of Conduct For Students
4 pages
Ethereum Transaction Hash - 0x0c849803c3... - Etherscan
PDF
No ratings yet
Ethereum Transaction Hash - 0x0c849803c3... - Etherscan
2 pages
DevOps Assign 2
PDF
No ratings yet
DevOps Assign 2
5 pages
Recording Studio Guidelines - JR
PDF
No ratings yet
Recording Studio Guidelines - JR
6 pages
DOC-062829 Rev 01 Add Clear UDI Cover Label Process Validation Protocol
PDF
No ratings yet
DOC-062829 Rev 01 Add Clear UDI Cover Label Process Validation Protocol
7 pages
PYTHON Textbook
PDF
100% (2)
PYTHON Textbook
232 pages
TYU - Shell and Shell's Interpretive Cycle: Attempt History
PDF
No ratings yet
TYU - Shell and Shell's Interpretive Cycle: Attempt History
8 pages
AIS950 Installation and Operation Instructions 87149-5-En
PDF
No ratings yet
AIS950 Installation and Operation Instructions 87149-5-En
92 pages
Senior Devops Engineer Resume Example
PDF
No ratings yet
Senior Devops Engineer Resume Example
1 page
Wireshark Lab Guide for Beginners
PDF
No ratings yet
Wireshark Lab Guide for Beginners
11 pages
CORBA
PDF
No ratings yet
CORBA
2 pages
File
PDF
No ratings yet
File
2 pages
Advanced Web Programming Lab Manual
PDF
No ratings yet
Advanced Web Programming Lab Manual
62 pages
03 Von Neumann and Data Flow Model
PDF
No ratings yet
03 Von Neumann and Data Flow Model
22 pages
M1 - Lab 1 CS
PDF
No ratings yet
M1 - Lab 1 CS
5 pages
CI7130 Coursework 2017 - 18
PDF
No ratings yet
CI7130 Coursework 2017 - 18
3 pages
Tech DDQ Guide for Hedge Funds
PDF
No ratings yet
Tech DDQ Guide for Hedge Funds
3 pages
Chapter 5.2 PHP
PDF
No ratings yet
Chapter 5.2 PHP
69 pages
Swamy K: Current Solution
PDF
No ratings yet
Swamy K: Current Solution
3 pages
MS Word Parts & Functions Guide
PDF
No ratings yet
MS Word Parts & Functions Guide
36 pages
Sensors: Design and Implementation of A Pressure Monitoring System Based On Iot For Water Supply Networks
PDF
No ratings yet
Sensors: Design and Implementation of A Pressure Monitoring System Based On Iot For Water Supply Networks
19 pages
Noor. The Best Laptops For Podcasting
PDF
No ratings yet
Noor. The Best Laptops For Podcasting
8 pages