Skip to content

Commit

Permalink
2.1.8 New Update
Browse files Browse the repository at this point in the history
  • Loading branch information
askfriends committed Jun 17, 2022
1 parent c19c8ba commit d688d6c
Show file tree
Hide file tree
Showing 12 changed files with 272 additions and 1,413 deletions.
36 changes: 18 additions & 18 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -214,24 +214,11 @@

## Get Google_Client_ID and Secret and Generate Token

* Open [Google Dev Credentials Site](https://console.developers.google.com/apis/credentials).
* Create a Project, name as you like.
* Enable [Drive API](https://console.developers.google.com/apis/library/drive.googleapis.com)
* In [Credentials Page](https://console.developers.google.com/apis/credentials) Click `Create Credentials` and then Click `OAuth Client ID`.
* Click Configure Consent Screen.
* Select External.
* Fill your APP Details
* Select Scope as `https://www.googleapis.com/auth/drive` (wait few hours if Google Drive is not showing up if you've just enabled the scope) or
* You can also enter manual scope `https://www.googleapis.com/auth/drive` and click on add to table and then save or update.
* Proceed with Save and Continue.
* Add your email id you want to use as test user, up to 100 emails maximum. (Because you are not verified)
* In [Credentials Page](https://console.developers.google.com/apis/credentials) Click `Create Credentials` and then Click `OAuth Client ID`.
* Select Desktop App.
* Now you have your own CLIENT ID and CLIENT SECRET.
* Copy your details and save for future use.
* Copy worker-generator.js code.
* Replace Line 20 and 21 with your own CLIENT ID and CLIENT SECRET.
* Paste this code in Cloud flare Workers and follow the site.
* Google is depreciating OOB, read blog post [here](https://developers.googleblog.com/2022/02/making-oauth-flows-safer.html).
* Old authorizations users did on our App will keep working.
* New Users will see new Client ID and Secret on our APP.
* Instead of updating generate new code.
* Currently we do not have a guide for custom workflow. But we'll update it in time.

## Upcoming Changes

Expand Down Expand Up @@ -265,12 +252,25 @@
* Beta Version is redesigned using Bootstrap from Alpha Version by [Parveen Bhadoo](https://twitter.com/ParveenBhadoo).
* This Repo was imported from [yanzai](https://github.com/yanzai/goindex) and then modified for personal use.

## Legal Disclaimer

* Hash Hacker's or Bhadoo Cloud or Parveen Bhadoo doesn't own the websites created using this software. The Software is under MIT License and Free to use for everyone personally or commercially. If any site is found using the name in title as the project or related names, shouldn't be assumed to be associated with us. The Software provides full configuration to the user to update and change the names of title, contact information for the published website using this software.
* As an open-source Software, it can be used by good and bad actors both, eg. the use of [YT-DL](https://youtube-dl.org), read full post [here](https://github.blog/2020-11-16-standing-up-for-developers-youtube-dl-is-back/).

## Sponsors

<a href="https://www.browserstack.com"><img src="https://i.imgur.com/UMYceGo.png" alt="drawing" width="300" /></a>

## Support this Project

[![Support](https://cdn.buymeacoffee.com/buttons/v2/default-white.png)](https://www.buymeacoffee.com/bhadoo)

* Contribute to this project or improve this README.

## License

* [MIT License](https://gitlab.com/ParveenBhadooOfficial/Google-Drive-Index/-/blob/master/LICENSE)

### Donate by Crpto

* ETH `0xaf25cdc7967213172a745453a64e8a0b59686729`
Expand Down
57 changes: 2 additions & 55 deletions js/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -607,8 +607,6 @@ function render_search_result_list() {
var content = `
<div class="container"><br>
<div id="update"></div>
<div style="text-align:center;">
<iframe src="//www.effectivedisplayformats.com/watchnew?key=2e2a9456e19ab31c427db4dd29e81e08" width="728" height="90" frameborder="0" scrolling="no"></iframe></div><br>
<div class="card">
<div class="${UI.path_nav_alert_class} d-flex align-items-center" role="alert" style="margin-bottom: 0;">Search Results</div>
<div id="list" class="list-group text-break">
Expand Down Expand Up @@ -791,7 +789,7 @@ function onSearchResultItemClick(a_ele) {
}
title = `Result`;
$('#SearchModelLabel').html(title);
content = `<a class="btn btn-info" href="${ehrefurl}">Open</a> <a class="btn btn-info" href="https://www.safestgatetocontent.com/dd96h6n0b?key=3c40440077127b1eae59339de7681597">Download</a> <a class="btn btn-secondary" href="${ehrefurl}" target="_blank">Open in New Tab</a>`;
content = `<a class="btn btn-info" href="${ehrefurl}">Open</a> <a class="btn btn-secondary" href="${ehrefurl}" target="_blank">Open in New Tab</a>`;
$('#modal-body-space').html(content);
return;
}
Expand Down Expand Up @@ -885,12 +883,8 @@ function file_others(path) {
<div class="card text-center">
<div class="card-body text-center">
<div class="${UI.file_view_alert_class}" id="file_details" role="alert">${obj.name}<br>${size}</div>
<div style="text-align:center;">
<iframe src="//www.effectivedisplayformats.com/watchnew?key=2e2a9456e19ab31c427db4dd29e81e08" width="728" height="90" frameborder="0" scrolling="no"></iframe></div><br>
</div>
<div class="card-body">
<div style="text-align:center;">
<iframe src="//www.effectivedisplayformats.com/watchnew?key=7527a6e66c9a683813d8fe80219cbb1e" width="468" height="60" frameborder="0" scrolling="no"></iframe></div><br>
<div class="input-group mb-4">
<div class="input-group-prepend">
<span class="input-group-text" id="">Full URL</span>
Expand All @@ -900,7 +894,6 @@ function file_others(path) {
<div class="card-text text-center">
${UI.display_drive_link ? '<a type="button" class="btn btn-info" href="https://drive.google.com/file/d/'+ obj.id +'/view" id ="file_drive_link" target="_blank">GD Link</a>': ''}
<div class="btn-group text-center">
<a href="https://www.safestgatetocontent.com/dd96h6n0b?key=3c40440077127b1eae59339de7681597" type="button" class="btn btn-primary">HQ FAST DOWNLOAD</a>
<a href="${url}" type="button" class="btn btn-primary">Download</a>
<button type="button" class="btn btn-primary dropdown-toggle dropdown-toggle-split" data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
<span class="sr-only"></span>
Expand All @@ -913,10 +906,7 @@ function file_others(path) {
</div>
<button onclick="copyFunction()" onmouseout="outFunc()" class="btn btn-success"> <span class="tooltiptext" id="myTooltip">Copy</span> </button>
</div>
<br></div>
<div style="text-align:center;">
<a href="https://publishers.adsterra.com/referral/yFnJNjfdHq"><img src="https://i.ibb.co/qpsMScp/720x90-adsterra-reff.gif" alt="Free Sign Up" border="0"></a>
</div><br>`;
<br></div>`;
}
} catch (err) {
var content = `
Expand Down Expand Up @@ -967,15 +957,11 @@ function file_code(path) {
<div class="card text-center">
<div class="card-body text-center">
<div class="${UI.file_view_alert_class}" id="file_details" role="alert">${obj.name}<br>${size}</div>
<div style="text-align:center;">
<iframe src="//www.effectivedisplayformats.com/watchnew?key=2e2a9456e19ab31c427db4dd29e81e08" width="728" height="90" frameborder="0" scrolling="no"></iframe></div><br>
<div>
<pre ${UI.second_domain_for_dl ? 'style="display:none;"': 'style="display:block;"'} class="line-numbers language-markup" data-src="plugins/line-numbers/index.html" data-start="-5" style="white-space: pre-wrap; counter-reset: linenumber -6;" data-src-status="loaded" tabindex="0"><code id="editor"></code></pre>
</div>
</div>
<div class="card-body">
<div style="text-align:center;">
<iframe src="//www.effectivedisplayformats.com/watchnew?key=7527a6e66c9a683813d8fe80219cbb1e" width="468" height="60" frameborder="0" scrolling="no"></iframe></div><br>
<div class="input-group mb-4">
<div class="input-group-prepend">
<span class="input-group-text" id="">Full URL</span>
Expand All @@ -985,7 +971,6 @@ function file_code(path) {
<div class="card-text text-center">
${UI.display_drive_link ? '<a type="button" class="btn btn-info" href="https://drive.google.com/file/d/'+ obj.id +'/view" id ="file_drive_link" target="_blank">GD Link</a>': ''}
<div class="btn-group text-center">
<a href="https://www.safestgatetocontent.com/dd96h6n0b?key=3c40440077127b1eae59339de7681597" type="button" class="btn btn-primary">HQ FAST DOWNLOAD</a>
<a href="${url}" type="button" class="btn btn-primary">Download</a>
<button type="button" class="btn btn-primary dropdown-toggle dropdown-toggle-split" data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
<span class="sr-only"></span>
Expand All @@ -997,9 +982,6 @@ function file_code(path) {
</div>
</div>
<button onclick="copyFunction()" onmouseout="outFunc()" class="btn btn-success"> <span class="tooltiptext" id="myTooltip">Copy</span> </button></div><br></div>
<div style="text-align:center;">
<a href="https://publishers.adsterra.com/referral/yFnJNjfdHq"><img src="https://i.ibb.co/qpsMScp/720x90-adsterra-reff.gif" alt="Free Sign Up" border="0"></a>
</div><br>
<script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/prism.js" integrity="sha256-fZOd7N/oofoKcO92RzxvC0wMm+EvsKyRT4nmcmQbgzU=" crossorigin="anonymous"></script>
`;
} catch (err) {
Expand Down Expand Up @@ -1054,9 +1036,6 @@ function file_video(path) {
<div class="card text-center">
<div class="text-center">
<div class="${UI.file_view_alert_class}" id="file_details" role="alert">${obj.name}<br>${size}</div>
<br>
<div style="text-align:center;">
<iframe src="//www.effectivedisplayformats.com/watchnew?key=2e2a9456e19ab31c427db4dd29e81e08" width="728" height="90" frameborder="0" scrolling="no"></iframe></div><br>
<video id="vplayer" width="100%" height="100%" playsinline controls: ['play-large', 'play', 'progress', 'current-time', 'mute', 'volume', 'captions', 'settings', 'pip', 'airplay', 'fullscreen']; data-plyr-config="{ "title": "${decodename}"}" data-poster="${poster}" style="--plyr-captions-text-color: #ffffff;--plyr-captions-background: #000000;">
<source src="${url}" type="video/mp4" />
<source src="${url}" type="video/webm" />
Expand All @@ -1079,12 +1058,8 @@ function file_video(path) {
<script>
const player = new Plyr('#vplayer',{ratio: "${UI.plyr_io_video_resolution}"});
</script></br>
<div style="text-align:center;">
<iframe src="//www.effectivedisplayformats.com/watchnew?key=7527a6e66c9a683813d8fe80219cbb1e" width="468" height="60" frameborder="0" scrolling="no"></iframe></div><br>
${UI.disable_video_download ? `` : `
<div class="card-body">
<div style="text-align:center;">
<iframe src="//www.effectivedisplayformats.com/watchnew?key=7527a6e66c9a683813d8fe80219cbb1e" width="468" height="60" frameborder="0" scrolling="no"></iframe></div><br>
<div class="input-group mb-4">
<div class="input-group-prepend">
<span class="input-group-text" id="">Full URL</span>
Expand All @@ -1093,7 +1068,6 @@ ${UI.disable_video_download ? `` : `
</div>
${UI.display_drive_link ? '<a type="button" class="btn btn-info" href="https://drive.google.com/file/d/'+ obj.id +'/view" id ="file_drive_link" target="_blank">GD Link</a>': ''}
<div class="btn-group text-center">
<a href="https://www.safestgatetocontent.com/dd96h6n0b?key=3c40440077127b1eae59339de7681597" type="button" class="btn btn-primary">HQ FAST DOWNLOAD</a>
<a href="${url}" type="button" class="btn btn-primary">Download</a>
<button type="button" class="btn btn-primary dropdown-toggle dropdown-toggle-split" data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
<span class="sr-only"></span>
Expand All @@ -1116,9 +1090,6 @@ ${UI.display_drive_link ? '<a type="button" class="btn btn-info" href="https://d
<button onclick="copyFunction()" onmouseout="outFunc()" class="btn btn-success"> <span class="tooltiptext" id="myTooltip">Copy</span> </button>
<br>
</div>
<div style="text-align:center;">
<a href="https://publishers.adsterra.com/referral/yFnJNjfdHq"><img src="https://i.ibb.co/qpsMScp/720x90-adsterra-reff.gif" alt="Free Sign Up" border="0"></a>
</div><br>
</div>
`}
</div>
Expand Down Expand Up @@ -1158,8 +1129,6 @@ function file_audio(path) {
<div class="card" style="background-image: linear-gradient(to top, #fbc2eb 0%, #a6c1ee 100%);">
<div class="card-body text-center">
<div class="${UI.file_view_alert_class}" id="file_details" role="alert">${obj.name}<br>${size}</div>
<div style="text-align:center;">
<iframe src="//www.effectivedisplayformats.com/watchnew?key=2e2a9456e19ab31c427db4dd29e81e08" width="728" height="90" frameborder="0" scrolling="no"></iframe></div><br>
<br><img draggable="false" src="${UI.audioposter}" width="100%" /><br>
<audio id="vplayer" width="100%" playsinline controls>
<source src="${url}" type="audio/ogg">
Expand All @@ -1172,8 +1141,6 @@ function file_audio(path) {
const player = new Plyr('#vplayer');
</script></br>
<div class="card-body">
<div style="text-align:center;">
<iframe src="//www.effectivedisplayformats.com/watchnew?key=7527a6e66c9a683813d8fe80219cbb1e" width="468" height="60" frameborder="0" scrolling="no"></iframe></div><br>
<div class="input-group mb-4">
<div class="input-group-prepend">
<span class="input-group-text" id="">Full URL</span>
Expand All @@ -1183,7 +1150,6 @@ function file_audio(path) {
<div class="card-text text-center">
${UI.display_drive_link ? '<a type="button" class="btn btn-info" href="https://drive.google.com/file/d/'+ obj.id +'/view" id ="file_drive_link" target="_blank">GD Link</a>': ''}
<div class="btn-group text-center">
<a href="https://www.safestgatetocontent.com/dd96h6n0b?key=3c40440077127b1eae59339de7681597" type="button" class="btn btn-primary">HQ FAST DOWNLOAD</a>
<a href="${url}" type="button" class="btn btn-primary">Download</a>
<button type="button" class="btn btn-primary dropdown-toggle dropdown-toggle-split" data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
<span class="sr-only"></span>
Expand All @@ -1195,9 +1161,6 @@ function file_audio(path) {
</div>
</div>
<button onclick="copyFunction()" onmouseout="outFunc()" class="btn btn-success"> <span class="tooltiptext" id="myTooltip">Copy</span> </button></div><br>
<div style="text-align:center;">
<a href="https://publishers.adsterra.com/referral/yFnJNjfdHq"><img src="https://i.ibb.co/qpsMScp/720x90-adsterra-reff.gif" alt="Free Sign Up" border="0"></a>
</div><br>
</div>
</div>
</div>
Expand Down Expand Up @@ -1299,8 +1262,6 @@ function file_pdf(path) {
<div class="card">
<div class="card-body text-center">
<div class="${UI.file_view_alert_class}" id="file_details" role="alert">${obj.name}<br>${size}</div>
<div style="text-align:center;">
<iframe src="//www.effectivedisplayformats.com/watchnew?key=2e2a9456e19ab31c427db4dd29e81e08" width="728" height="90" frameborder="0" scrolling="no"></iframe></div><br>
<div>
<button id="prev" class="btn btn-info">Previous</button>
<button id="next" class="btn btn-info">Next</button>
Expand All @@ -1310,8 +1271,6 @@ function file_pdf(path) {
<canvas id="the-canvas" style="max-width: 100%;"></canvas>
</div>
<div class="card-body">
<div style="text-align:center;">
<iframe src="//www.effectivedisplayformats.com/watchnew?key=7527a6e66c9a683813d8fe80219cbb1e" width="468" height="60" frameborder="0" scrolling="no"></iframe></div><br>
<div class="input-group mb-4">
<div class="input-group-prepend">
<span class="input-group-text" id="">Full URL</span>
Expand All @@ -1321,7 +1280,6 @@ function file_pdf(path) {
<div class="card-text text-center">
${UI.display_drive_link ? '<a type="button" class="btn btn-info" href="https://drive.google.com/file/d/'+ obj.id +'/view" id ="file_drive_link" target="_blank">GD Link</a>': ''}
<div class="btn-group text-center">
<a href="https://www.safestgatetocontent.com/dd96h6n0b?key=3c40440077127b1eae59339de7681597" type="button" class="btn btn-primary">HQ FAST DOWNLOAD</a>
<a href="${url}" type="button" class="btn btn-primary">Download</a>
<button type="button" class="btn btn-primary dropdown-toggle dropdown-toggle-split" data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
<span class="sr-only"></span>
Expand All @@ -1333,9 +1291,6 @@ function file_pdf(path) {
</div>
</div>
<button onclick="copyFunction()" onmouseout="outFunc()" class="btn btn-success"> <span class="tooltiptext" id="myTooltip">Copy</span> </button></div><br>
<div style="text-align:center;">
<a href="https://publishers.adsterra.com/referral/yFnJNjfdHq"><img src="https://i.ibb.co/qpsMScp/720x90-adsterra-reff.gif" alt="Free Sign Up" border="0"></a>
</div><br>
</div>
</div>
</div>
Expand Down Expand Up @@ -1420,14 +1375,10 @@ function file_image(path) {
<div class="card">
<div class="card-body text-center">
<div class="${UI.file_view_alert_class}" id="file_details" role="alert">${obj.name}<br>${size}</div>
<div style="text-align:center;">
<iframe src="//www.effectivedisplayformats.com/watchnew?key=2e2a9456e19ab31c427db4dd29e81e08" width="728" height="90" frameborder="0" scrolling="no"></iframe></div><br>
<div>${targetText}</div><br>
<img src="${url}" width="50%">
</div>
<div class="card-body">
<div style="text-align:center;">
<iframe src="//www.effectivedisplayformats.com/watchnew?key=7527a6e66c9a683813d8fe80219cbb1e" width="468" height="60" frameborder="0" scrolling="no"></iframe></div><br>
<div class="input-group mb-4">
<div class="input-group-prepend">
<span class="input-group-text" id="">Full URL</span>
Expand All @@ -1437,7 +1388,6 @@ function file_image(path) {
<div class="card-text text-center">
${UI.display_drive_link ? '<a type="button" class="btn btn-info" href="https://drive.google.com/file/d/'+ obj.id +'/view" id ="file_drive_link" target="_blank">GD Link</a>': ''}
<div class="btn-group text-center">
<a href="https://www.safestgatetocontent.com/dd96h6n0b?key=3c40440077127b1eae59339de7681597" type="button" class="btn btn-primary">HQ FAST DOWNLOAD</a>
<a href="${url}" type="button" class="btn btn-primary">Download</a>
<button type="button" class="btn btn-primary dropdown-toggle dropdown-toggle-split" data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
<span class="sr-only"></span>
Expand All @@ -1449,9 +1399,6 @@ function file_image(path) {
</div>
</div>
<button onclick="copyFunction()" onmouseout="outFunc()" class="btn btn-success"> <span class="tooltiptext" id="myTooltip">Copy</span> </button></div><br>
<div style="text-align:center;">
<a href="https://publishers.adsterra.com/referral/yFnJNjfdHq"><img src="https://i.ibb.co/qpsMScp/720x90-adsterra-reff.gif" alt="Free Sign Up" border="0"></a>
</div><br>
</div>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion js/app.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion js/app.obf.js

Large diffs are not rendered by default.

Loading

0 comments on commit d688d6c

Please sign in to comment.